Crate datafusion_physical_expr
source ·Re-exports§
pub use analysis::analyze;
pub use analysis::AnalysisContext;
pub use analysis::ExprBoundaries;
pub use equivalence::calculate_union;
pub use equivalence::ConstExpr;
pub use equivalence::EquivalenceProperties;
pub use planner::create_physical_expr;
pub use planner::create_physical_exprs;
pub use utils::split_conjunction;
Modules§
- Interval and selectivity in
AnalysisContext
- Defines physical expressions that can evaluated at runtime during query execution
- Deprecated module. Add new feature in scalar_function.rs
- Interval arithmetic and constraint propagation library
- Math expressions
Structs§
- An adapter that implements
GroupsAccumulator
for anyAccumulator
- Track the accumulator null state per row: if any values for that group were null and if any values have been seen at all for that group.
- Represents Sort operation for a column in a RecordBatch
- Represents sort requirement associated with a plan
- Physical expression of a scalar function
Enums§
- How data is distributed amongst partitions. See
Partitioning
for more details. - Output partitioning supported by
ExecutionPlan
s.
Traits§
Functions§
- Checks whether the given physical expression slices are equal in the sense of bags (multi-sets), disregarding their orderings.
- This function is similar to the
contains
method ofVec
. It finds whetherexpr
is amongphysical_exprs
. - Checks whether the given physical expression slices are equal.
- Reverses the ORDER BY expression, which is useful during equivalent window expression construction. For instance, ‘ORDER BY a ASC, NULLS LAST’ turns into ‘ORDER BY a DESC, NULLS FIRST’.
Type Aliases§
LexOrdering
is an alias for the typeVec<PhysicalSortExpr>
, which represents a lexicographical ordering.LexOrderingRef
is an alias for the type &[PhysicalSortExpr]
, which represents a reference to a lexicographical ordering.LexRequirement
is an alias for the typeVec<PhysicalSortRequirement>
, which represents a lexicographical ordering requirement.LexRequirementRef
is an alias for the type &[PhysicalSortRequirement]
, which represents a reference to a lexicographical ordering requirement.- Shared
PhysicalExpr
.