datafusion_expr::utils

Function find_join_exprs

Source
pub fn find_join_exprs(exprs: Vec<&Expr>) -> Result<(Vec<Expr>, Vec<Expr>)>
Expand description

Looks for correlating expressions: for example, a binary expression with one field from the subquery, and one not in the subquery (closed upon from outer scope)

§Arguments

  • exprs - List of expressions that may or may not be joins

§Return value

Tuple of (expressions containing joins, remaining non-join expressions)