Expand description
Aggregates functionalities
Modules§
- group_
values GroupValuestrait for storing and interning group keys- order
Structs§
- Aggregate
Exec - Hash aggregate execution plan
- Physical
Group By - Represents
GROUP BYclause in the plan (including the more general GROUPING SET) In the case of a simpleGROUP BY a, bclause, this will contain the expression [a, b] and a single group [false, false]. In the case ofGROUP BY GROUPING SETS/CUBE/ROLLUPthe planner will expand the expression into multiple groups, using null expressions to align each group. For example, with a group by clauseGROUP BY GROUPING SETS ((a,b),(a),(b))the planner should create aPhysicalGroupBylike
Enums§
- Aggregate
Mode - Aggregation modes
Functions§
- aggregate_
expressions - Returns physical expressions for arguments to evaluate against a batch.
- concat_
slices - Concatenates the given slices.
- create_
accumulators - evaluate_
group_ by - Evaluate a group by expression against a
RecordBatch - evaluate_
many - Evaluates expressions against a record batch.
- finalize_
aggregation - returns a vector of ArrayRefs, where each entry corresponds to either the final value (mode = Final, FinalPartitioned and Single) or states (mode = Partial)
- get_
finer_ aggregate_ exprs_ requirement - Gets the common requirement that satisfies all the aggregate expressions. When possible, chooses the requirement that is already satisfied by the equivalence properties.