[
https://issues.apache.org/jira/browse/CALCITE-5846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747722#comment-17747722
]
LakeShen commented on CALCITE-5846:
-----------------------------------
It looks like a bug.Hi,[~swtalbot] ,could you fix the this problem?
> 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
> Priority: Major
>
> 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)