[improvement](agg) Serialize the fixed-length aggregation results with corresponding columns instead of ColumnString (#11801)

This commit is contained in:
Jerry Hu
2022-08-22 10:12:06 +08:00
committed by GitHub
parent 915d8989c5
commit dc8f64b3e3
23 changed files with 969 additions and 99 deletions

View File

@ -273,6 +273,7 @@ public class AggregationNode extends PlanNode {
msg.agg_node.setAggSortInfos(aggSortInfos);
msg.agg_node.setUseStreamingPreaggregation(useStreamingPreagg);
msg.agg_node.setIsFirstPhase(aggInfo.isFirstPhase());
msg.agg_node.setUseFixedLengthSerializationOpt(true);
List<Expr> groupingExprs = aggInfo.getGroupingExprs();
if (groupingExprs != null) {
msg.agg_node.setGroupingExprs(Expr.treesToThrift(groupingExprs));