HappenLee commented on a change in pull request #7800:
URL: https://github.com/apache/incubator-doris/pull/7800#discussion_r788320122



##########
File path: fe/fe-core/src/main/java/org/apache/doris/planner/RepeatNode.java
##########
@@ -131,7 +131,8 @@ public void init(Analyzer analyzer) throws UserException {
         // build tupleDesc according to child's tupleDesc info
         outputTupleDesc = groupingInfo.getVirtualTuple();
         //set aggregate nullable
-        for (Expr slot : groupByClause.getGroupingExprs()) {
+        for (int i = 0; i < groupByClause.getGroupingExprs().size() - 1; i++) {

Review comment:
       The last grouping expr is virtual grouping id, not need to set nullable




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to