Steven Talbot created CALCITE-6595:
--------------------------------------
Summary: 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
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)