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

Function not_in_subquery

datafusion/expr/src/expr_fn.rs:291–302  ·  view source on GitHub ↗

Create a NOT IN subquery expression

(expr: Expr, subquery: Arc<LogicalPlan>)

Source from the content-addressed store, hash-verified

289
290/// Create a NOT IN subquery expression
291pub fn not_in_subquery(expr: Expr, subquery: Arc<LogicalPlan>) -> Expr {
292 let outer_ref_columns = subquery.all_out_ref_exprs();
293 Expr::InSubquery(InSubquery::new(
294 Box::new(expr),
295 Subquery {
296 subquery,
297 outer_ref_columns,
298 spans: Spans::new(),
299 },
300 true,
301 ))
302}
303
304/// Create a scalar subquery expression
305pub fn scalar_subquery(subquery: Arc<LogicalPlan>) -> Expr {

Callers 4

rewrite_inner_subqueriesFunction · 0.85
exprMethod · 0.85
not_in_subquery_simpleFunction · 0.85

Calls 3

InSubqueryClass · 0.85
newFunction · 0.85
all_out_ref_exprsMethod · 0.80

Tested by 2

not_in_subquery_simpleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…