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

Preserve filters on non-distinct aggCalls in AggregateExpandWithinDistinctRule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.37.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: