[fix](planner)nullable info of agg node's intermediate and output slots should be same (#29315)
This commit is contained in:
@ -374,6 +374,7 @@ public class AggregationNode extends PlanNode {
|
||||
List<Expr> groupingExprs = aggInfo.getGroupingExprs();
|
||||
for (int i = 0; i < groupingExprs.size(); i++) {
|
||||
aggInfo.getOutputTupleDesc().getSlots().get(i).setIsNullable(groupingExprs.get(i).isNullable());
|
||||
aggInfo.getIntermediateTupleDesc().getSlots().get(i).setIsNullable(groupingExprs.get(i).isNullable());
|
||||
aggInfo.getOutputTupleDesc().computeMemLayout();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user