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