[refactor](vectorized) Remove useless control variables to simplify aggregation node code (#22026)

* [refactor](vectorized) Remove useless control variables to simplify aggregation node code

* fix
This commit is contained in:
ZenoYang
2023-07-21 12:45:23 +08:00
committed by GitHub
parent fb5b412698
commit 6512893257
4 changed files with 42 additions and 156 deletions

View File

@ -274,7 +274,6 @@ 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));