[ 
https://issues.apache.org/jira/browse/CALCITE-5846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

TJ Banghart updated CALCITE-5846:
---------------------------------
    Summary: Preserve filters on non-distinct aggCalls in 
AggregateExpandWithinDistinctRule  (was: AggregateExpandWithinDistinctRule 
drops filters on non-distinct aggCalls)

> Preserve filters on non-distinct aggCalls in AggregateExpandWithinDistinctRule
> ------------------------------------------------------------------------------
>
>                 Key: CALCITE-5846
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5846
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Steven Talbot
>            Assignee: TJ Banghart
>            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)

Reply via email to