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

Make RelBuilder.distinct no-op if input is already distinct

    Details

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

      Description

      If the input is already distinct (i.e. some subset of the columns form a key), the RelBuilder.distinct method should do nothing.

        Activity

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/dc03b5ae .
        Hide
        julianhyde Julian Hyde added a comment -

        I missed one reference log; I fixed it along with CALCITE-1649.

        Show
        julianhyde Julian Hyde added a comment - I missed one reference log; I fixed it along with CALCITE-1649 .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.12.0 (2017-03-24).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.12.0 (2017-03-24).

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development