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.

  1. Adding an alias, which can introduce additional equivalence properties, as in Projection(a, a as a1, a as a2).
  2. Truncate the EquivalentClasses that are not in the output schema.