Function datafusion_optimizer::utils::split_binary

source ยท
pub fn split_binary(expr: &Expr, op: Operator) -> Vec<&Expr>
๐Ÿ‘ŽDeprecated since 34.0.0: use datafusion_expr::utils::split_binary instead
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.