Module equivalence

Module equivalence 

Source

Re-exports§

pub use crate::projection::project_ordering;
pub use crate::projection::project_orderings;
pub use crate::projection::ProjectionMapping;

Modules§

class 🔒
ordering 🔒
properties 🔒

Structs§

ConstExpr
A structure representing a expression known to be constant in a physical execution plan.
EquivalenceClass
An EquivalenceClass is a set of Arc<dyn PhysicalExpr>s that are known to have the same value for all tuples in a relation. These are generated by equality predicates (e.g. a = b), typically equi-join conditions and equality conditions in filters.
EquivalenceGroup
A collection of distinct EquivalenceClasses. This object supports fast lookups of expressions and their equivalence classes.
EquivalenceProperties
EquivalenceProperties stores information about the output of a plan node that can be used to optimize the plan. Currently, it keeps track of:
OrderingEquivalenceClass
An OrderingEquivalenceClass keeps track of distinct alternative orderings than can describe a table. For example, consider the following table:

Enums§

AcrossPartitions
Represents whether a constant expression’s value is uniform or varies across partitions. Has two variants:

Functions§

calculate_union
Calculates the union (in the sense of UnionExec) EquivalenceProperties of the given EquivalenceProperties in eqps according to the given output schema (which need not be the same with those of lhs and rhs as details such as nullability may be different).
convert_to_orderings
convert_to_sort_exprs
join_equivalence_properties
Calculate ordering equivalence properties for the given join operation.