mz_sql::plan::lowering::variadic_left

Function decompose_equations

Source
fn decompose_equations(predicate: &MirScalarExpr) -> Option<Vec<(usize, usize)>>
Expand description

If predicate can be decomposed as any number of col(x) = col(y) expressions anded together, return them.