MCPcopy Create free account
hub / github.com/apache/datafusion / find_out_reference_exprs

Function find_out_reference_exprs

datafusion/expr/src/utils.rs:665–669  ·  view source on GitHub ↗

Collect all deeply nested `Expr::OuterReferenceColumn`. They are returned in order of occurrence (depth first), with duplicates omitted.

(expr: &Expr)

Source from the content-addressed store, hash-verified

663/// Collect all deeply nested `Expr::OuterReferenceColumn`. They are returned in order of occurrence
664/// (depth first), with duplicates omitted.
665pub fn find_out_reference_exprs(expr: &Expr) -> Vec<Expr> {
666 find_exprs_in_expr(expr, &|nested_expr| {
667 matches!(nested_expr, Expr::OuterReferenceColumn { .. })
668 })
669}
670
671/// Search the provided `Expr`'s, and all of their nested `Expr`, for any that
672/// pass the provided test. The returned `Expr`'s are deduplicated and returned

Callers 1

all_out_ref_exprsMethod · 0.85

Calls 1

find_exprs_in_exprFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…