Steven Talbot created CALCITE-5846:
--------------------------------------
Summary: AggregateExpandWithinDistinctRule drops filters on
non-distinct aggCalls
Key: CALCITE-5846
URL: https://issues.apache.org/jira/browse/CALCITE-5846
Project: Calcite
Issue Type: Bug
Reporter: Steven Talbot
This line
[https://github.com/apache/calcite/blob/2dba40e7a0a5651eac5a30d9e0a72f178bd9bff2/core/src/main/java/org/apache/calcite/rel/rules/AggregateExpandWithinDistinctRule.java#L346-L348]
drops any such filterArg.
Related to CALCITE-4726. When the rule was first introduced any such
aggregates were blocked, but that change lets them through.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)