updated_right_ordering_equivalence_class

Function updated_right_ordering_equivalence_class 

Source
pub fn updated_right_ordering_equivalence_class(
    right_oeq_class: &mut OrderingEquivalenceClass,
    join_type: &JoinType,
    left_size: usize,
) -> Result<()>
Expand description

In the context of a join, update the right side OrderingEquivalenceClass so that they point to valid indices in the join output schema.

To do so, we increment column indices by the size of the left table when join schema consists of a combination of the left and right schemas. This is the case for Inner, Left, Full and Right joins. For other cases, indices do not change.