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

Method expr

datafusion/optimizer/src/decorrelate_predicate_subquery.rs:525–536  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

523 }
524
525 pub fn expr(self) -> Expr {
526 match self.where_in_expr {
527 Some(expr) => match self.negated {
528 true => not_in_subquery(expr, self.query.subquery),
529 false => in_subquery(expr, self.query.subquery),
530 },
531 None => match self.negated {
532 true => not_exists(self.query.subquery),
533 false => exists(self.query.subquery),
534 },
535 }
536 }
537}
538
539#[cfg(test)]

Callers 1

rewriteMethod · 0.45

Calls 4

not_in_subqueryFunction · 0.85
in_subqueryFunction · 0.85
not_existsFunction · 0.85
existsFunction · 0.85

Tested by

no test coverage detected