You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2024/05/06 22:20:05 UTC

[jira] [Closed] (CALCITE-5846) Preserve filters on non-distinct aggCalls in AggregateExpandWithinDistinctRule

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

Sergey Nuyanzin closed CALCITE-5846.
------------------------------------

Resolved in release 1.37.0 (2024-05-06)

> 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
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> 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)