swap_reverting_projection

Function swap_reverting_projection 

Source
fn swap_reverting_projection(
    left_schema: &Schema,
    right_schema: &Schema,
) -> Vec<ProjectionExpr>
Expand description

When the order of the join is changed, the output order of columns must remain the same.

Returns the expressions that will allow to swap back the values from the original left as the first columns and those on the right next.