kgyrtkirk commented on code in PR #16770: URL: https://github.com/apache/druid/pull/16770#discussion_r1686726975
########## sql/src/main/java/org/apache/druid/sql/calcite/rule/GroupByRules.java: ########## @@ -69,6 +71,17 @@ public static Aggregation translateAggregateCall( return null; } + if (plannerContext.getPlannerConfig().isUseApproximateCountDistinct() && call.isDistinct()) { Review Comment: at this point we should not care about `isUseApproximateDistinct` as those supposed to be rewritten already -- 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...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org