suibianwanwank commented on code in PR #4614:
URL: https://github.com/apache/calcite/pull/4614#discussion_r2498645960
##########
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:
##########
@@ -796,17 +796,25 @@ protected RexNode removeCorrelationExpr(
RelNode newRel = relBuilder.build();
+ boolean hasCount = false;
for (AggregateCall aggCall : rel.getAggCallList()) {
if (aggCall.getAggregation() instanceof SqlCountAggFunction) {
- parentPropagatesNullValues = false;
+ hasCount = true;
break;
}
}
if (rel.getGroupType() == Aggregate.Group.SIMPLE
&& rel.getGroupSet().isEmpty()
Review Comment:
Maybe we can fix it in other ticket.
--
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]