Module datafusion::physical_expr
source · Expand description
re-export of datafusion_physical_expr
crate
Modules§
- Interval and selectivity in
AnalysisContext
ArrowBytesMap
andArrowBytesSet
for storing maps/sets of values from StringArray / LargeStringArray / BinaryArray / LargeBinaryArray.- 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§
- The shared context used during the analysis of an expression. Includes the boundaries for all known columns.
- A
EquivalenceProperties
object stores useful information related to a schema. Currently, it keeps track of: - Represents the boundaries (e.g. min and max values) of a particular column
- 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§
- An aggregate expression that:
Functions§
- Attempts to refine column boundaries and compute a selectivity value.
- Create vector of Physical Expression from a vector of logical expression
- 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’.
- Assume the predicate is in the form of CNF, split the predicate to a Vec of PhysicalExprs.
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
.