Expand description
Aggregates functionalities
Modules§
Structs§
- Aggregate
Exec - Hash aggregate execution plan
- Physical
Group By - Represents
GROUP BY
clause in the plan (including the more general GROUPING SET) In the case of a simpleGROUP BY a, b
clause, this will contain the expression [a, b] and a single group [false, false]. In the case ofGROUP BY GROUPING SETS/CUBE/ROLLUP
the 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 aPhysicalGroupBy
like
Enums§
- Aggregate
Mode - Hash aggregate modes
Functions§
- aggregate_
expressions - Returns physical expressions for arguments to evaluate against a batch.
- concat_
slices - Concatenates the given slices.
- create_
accumulators - 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 - Get the common requirement that satisfies all the aggregate expressions.