Module datafusion_physical_expr::aggregate::utils
source · Expand description
Utilities used in aggregates
Functions§
- Adjust array type metadata if needed
- Downcast a
Box<dyn AggregateExpr>
orArc<dyn AggregateExpr>
and return the inner trait object asAny
so that it can be downcast to a specific implementation. - Convert scalar values from an accumulator into arrays.
- Selects the sort option attribute from all the given
PhysicalSortExpr
s. - Construct corresponding fields for lexicographical ordering requirement expression