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

Project.getPermutation() should return null if a column is repeated

    Details

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

      Description

      Project.getPermutation() returns true when the project is referencing [$1, $1]. If a column repeats, it should not be considered a permutation.

        Activity

        Hide
        michaelmior Michael Mior added a comment -

        Resolved in release 1.14.0 (2017-10-01)

        Show
        michaelmior Michael Mior added a comment - Resolved in release 1.14.0 (2017-10-01)
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/01c54461 .
        Hide
        julianhyde Julian Hyde added a comment -

        Reviewing and testing now.

        Show
        julianhyde Julian Hyde added a comment - Reviewing and testing now.
        Hide
        minjikim MinJi Kim added a comment -

        Thank you for reviewing this PR! Thanks! -Minji

        https://github.com/apache/calcite/pull/512

        Show
        minjikim MinJi Kim added a comment - Thank you for reviewing this PR! Thanks! -Minji https://github.com/apache/calcite/pull/512

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            minjikim MinJi Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development