This is an automated email from the ASF dual-hosted git repository.

starocean999 pushed a commit to branch 1.2.6-rc03-hotfix
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/1.2.6-rc03-hotfix by this push:
     new 4e94227ed5d [fix](planner)nullable info of agg node's intermediate and 
output slots should be same
4e94227ed5d is described below

commit 4e94227ed5d0f2fcf5a43da44867fca16c5dd15d
Author: starocean999 <12095...@qq.com>
AuthorDate: Fri Jan 5 10:49:14 2024 +0800

    [fix](planner)nullable info of agg node's intermediate and output slots 
should be same
---
 fe/fe-core/src/main/java/org/apache/doris/planner/AggregationNode.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/planner/AggregationNode.java 
b/fe/fe-core/src/main/java/org/apache/doris/planner/AggregationNode.java
index 685430cd5c3..272845353cf 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/AggregationNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/AggregationNode.java
@@ -369,6 +369,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();
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to