zstan commented on code in PR #1456:
URL: https://github.com/apache/ignite-3/pull/1456#discussion_r1056067548
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/HashAggregateConverterRule.java:
##########
@@ -74,6 +77,21 @@ protected PhysicalNode convert(RelOptPlanner planner,
RelMetadataQuery mq,
}
}
+ /**
+ * Return {@code true} if observes COUNT and DISTINCT simultaneously in
aggregate.
+ *
+ * @param aggCalls Aggregates.
+ * @return {@code true} If found, {@code false} otherwise.
+ */
+ private static boolean countWithDistinctAgg(List<AggregateCall> aggCalls) {
Review Comment:
/me just narrow thinking ) fixed
--
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]