You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2025/03/10 17:06:00 UTC

[jira] [Updated] (CALCITE-6595) AggregateExpandWithinDistinctRule drops aggregateCall.collation on non-distinct agg

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

Stamatis Zampetakis updated CALCITE-6595:
-----------------------------------------
    Fix Version/s: 1.38.0

> AggregateExpandWithinDistinctRule drops aggregateCall.collation on non-distinct agg
> -----------------------------------------------------------------------------------
>
>                 Key: CALCITE-6595
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6595
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Steven Talbot
>            Assignee: TJ Banghart
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> These lines should also preserve collation [https://github.com/apache/calcite/blame/main/core/src/main/java/org/apache/calcite/rel/rules/AggregateExpandWithinDistinctRule.java#L349-L354]
> relates to https://issues.apache.org/jira/browse/CALCITE-5846
> Test case looks much like the test for that other issue, just with a WITHIN GROUP (ORDER BY x)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)