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

Method any_column_refs

datafusion/expr/src/expr.rs:2116–2119  ·  view source on GitHub ↗

Returns true if there are any column references in this Expr

(&self)

Source from the content-addressed store, hash-verified

2114
2115 /// Returns true if there are any column references in this Expr
2116 pub fn any_column_refs(&self) -> bool {
2117 self.exists(|expr| Ok(matches!(expr, Expr::Column(_))))
2118 .expect("exists closure is infallible")
2119 }
2120
2121 /// Return true if the expression contains out reference(correlated) expressions.
2122 pub fn contains_outer(&self) -> bool {

Callers 2

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected