Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ public void normalize(TNormalizedPlanNode normalizedPlan, Normalizer normalizer)

normalizedPlan.setNodeType(TPlanNodeType.AGGREGATION_NODE);
normalizedPlan.setAggregationNode(normalizedAggregateNode);
if (sortByGroupKey != null) {
normalizedAggregateNode.setSortInfo(sortByGroupKey.toThrift());
}
}

@Override
Expand Down
1 change: 1 addition & 0 deletions gensrc/thrift/Normalization.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ struct TNormalizedAggregateNode {
6: optional bool use_streaming_preaggregation
7: optional list<Exprs.TExpr> projectToAggIntermediateTuple
8: optional list<Exprs.TExpr> projectToAggOutputTuple
9: optional PlanNodes.TSortInfo sortInfo
}

struct TNormalizedPlanNode {
Expand Down
Loading