Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6595

AggregateExpandWithinDistinctRule drops aggregateCall.collation on non-distinct agg

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              tjbanghart TJ Banghart
              swtalbot Steven Talbot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: