AggregatePlan
Defined in: plan/logical-plan.ts:207
Group-by + aggregation.
- Spark Connect: Relation.Aggregate { child, grouping_expressions, aggregate_expressions }
- Catalyst: Aggregate(groupingExprs, aggregateExprs, child)
Properties
Section titled “Properties”aggregateExpressions
Section titled “aggregateExpressions”aggregateExpressions: Expression[];Defined in: plan/logical-plan.ts:211
child: LogicalPlan;Defined in: plan/logical-plan.ts:209
groupingExpressions
Section titled “groupingExpressions”groupingExpressions: Expression[];Defined in: plan/logical-plan.ts:210
groupType?
Section titled “groupType?”optional groupType?: "groupby" | "rollup" | "cube" | "pivot";Defined in: plan/logical-plan.ts:212
pivot?
Section titled “pivot?”optional pivot?: { col: Expression; values: (string | number | boolean)[];};Defined in: plan/logical-plan.ts:213
col: Expression;values
Section titled “values”values: (string | number | boolean)[];type: "aggregate";Defined in: plan/logical-plan.ts:208