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

RelMdUtil.checkInputForCollationAndLimit() was wrong with alreadySorted check

    Details

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

      Description

      The below line works incorrectly with EMPTY collation:

          final boolean alreadySorted = RelCollations.equal(
              ImmutableList.of(collation), inputCollation);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maryannxue Maryann Xue
                Reporter:
                maryannxue Maryann Xue
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: