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

Method contains_outer_reference

datafusion/expr/src/logical_plan/plan.rs:1475–1487  ·  view source on GitHub ↗

If this node's expressions contains any references to an outer subquery

(&self)

Source from the content-addressed store, hash-verified

1473
1474 /// If this node's expressions contains any references to an outer subquery
1475 pub fn contains_outer_reference(&self) -> bool {
1476 let mut contains = false;
1477 self.apply_expressions(|expr| {
1478 Ok(if expr.contains_outer() {
1479 contains = true;
1480 TreeNodeRecursion::Stop
1481 } else {
1482 TreeNodeRecursion::Continue
1483 })
1484 })
1485 .unwrap();
1486 contains
1487 }
1488
1489 /// Get the output expressions and their corresponding columns.
1490 ///

Callers 2

f_downMethod · 0.80

Calls 2

apply_expressionsMethod · 0.80
contains_outerMethod · 0.80

Tested by

no test coverage detected