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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]