calculate_union_binary

Function calculate_union_binary 

Source
fn calculate_union_binary(
    lhs: EquivalenceProperties,
    rhs: EquivalenceProperties,
) -> Result<EquivalenceProperties>
Expand description

Computes the union (in the sense of UnionExec) EquivalenceProperties of lhs and rhs according to the schema of lhs.

Rules: The UnionExec does not interleave its inputs, instead it passes each input partition from the children as its own output.

Since the output equivalence properties are properties that are true for all output partitions, that is the same as being true for all input partitions.