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

FilterAggregateTransposeRule pushes down filter with incorrect condition.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: next
    • Fix Version/s: 1.7.0
    • Component/s: core
    • Labels:
      None

      Description

      FilterAggregateTransposeRule pushes down Filter past Aggregate. This transformation does not set ordinals of filter conditions properly causing wrong result.

      Testcase (and also the fix can be found at): https://github.com/amoghmargoor/incubator-calcite/commit/2db9b1f4ee6c44b029878b507fc2ce3d5dfb4bd8

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              amargoor Amogh Margoor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: