Function datafusion_expr::utils::split_binary
source ยท pub fn split_binary(expr: &Expr, op: Operator) -> Vec<&Expr>
Expand description
Splits an binary operator tree Expr
such as A <OP> B <OP> C
=> [A, B, C]
See split_binary_owned
for more details and an example.