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

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.7.0 (2016-03-22).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.7.0 (2016-03-22).
        Hide
        julianhyde Julian Hyde added a comment -
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/8c90d862 . Thanks for the PR, Amogh Margoor !
        Hide
        amargoor Amogh Margoor added a comment -
        Show
        amargoor Amogh Margoor added a comment - PR raised: https://github.com/apache/calcite/pull/201

          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:

              Development