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

Function and

datafusion/expr/src/expr_fn.rs:178–184  ·  view source on GitHub ↗

Return a new expression with a logical AND

(left: Expr, right: Expr)

Source from the content-addressed store, hash-verified

176
177/// Return a new expression with a logical AND
178pub fn and(left: Expr, right: Expr) -> Expr {
179 Expr::BinaryExpr(BinaryExpr::new(
180 Box::new(left),
181 Operator::And,
182 Box::new(right),
183 ))
184}
185
186/// Return a new expression with a logical OR
187pub fn or(left: Expr, right: Expr) -> Expr {

Callers 15

add_filterFunction · 0.70
evaluate_boundsMethod · 0.70
join_usingMethod · 0.50
has_any_exact_matchFunction · 0.50
update_batchMethod · 0.50
retract_batchMethod · 0.50
update_batchMethod · 0.50
in_subquery_multipleFunction · 0.50
extract_or_clauseFunction · 0.50

Calls 2

newFunction · 0.85
BinaryExprClass · 0.70