pub fn project_ordering_equivalence_properties(
input_eq: OrderingEquivalenceProperties,
columns_map: &HashMap<Column, Vec<Column>>,
output_eq: &mut OrderingEquivalenceProperties
)
Expand description
This function applies the given projection to the given ordering equivalence properties to compute the resulting (projected) ordering equivalence properties; e.g.
- Adding an alias, which can introduce additional ordering equivalence properties, as in Projection(a, a as a1, a as a2) extends global ordering of a to a1 and a2.
- Truncate the
OrderingEquivalentClass
es that are not in the output schema.