mz_transform::join_implementation

Function permute_order

Source
fn permute_order(
    order: &mut Vec<(usize, Vec<MirScalarExpr>, Option<JoinInputCharacteristics>)>,
    lifted_projections: &Vec<Option<Vec<usize>>>,
)
Expand description

Permute the keys in order to compensate for projections being lifted from inputs. lifted_projections has an optional projection for each input.