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

Function not_exists

datafusion/expr/src/expr_fn.rs:264–274  ·  view source on GitHub ↗

Create a NOT EXISTS subquery expression

(subquery: Arc<LogicalPlan>)

Source from the content-addressed store, hash-verified

262
263/// Create a NOT EXISTS subquery expression
264pub fn not_exists(subquery: Arc<LogicalPlan>) -> Expr {
265 let outer_ref_columns = subquery.all_out_ref_exprs();
266 Expr::Exists(Exists {
267 subquery: Subquery {
268 subquery,
269 outer_ref_columns,
270 spans: Spans::new(),
271 },
272 negated: true,
273 })
274}
275
276/// Create an IN subquery expression
277pub fn in_subquery(expr: Expr, subquery: Arc<LogicalPlan>) -> Expr {

Callers 3

rewrite_inner_subqueriesFunction · 0.85
exprMethod · 0.85

Calls 3

ExistsClass · 0.85
newFunction · 0.85
all_out_ref_exprsMethod · 0.80

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…