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

PlannerTest ignores top-level order by clause (~RootRel.collation)

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.19.0
    • core
    • None

    Description

          RelTraitSet traitSet = planner.getEmptyTraitSet()
              .replace(EnumerableConvention.INSTANCE);
      

      should be replaced with

          RelTraitSet traitSet = convert.getTraitSet()
              .replace(EnumerableConvention.INSTANCE);
      

      Otherwise PlannerTest asks Planner to produce "empty collation" even in case Root relation has order by.

      See also "how does SortRemoveRule work?" in the mailing list.

      Attachments

        Activity

          People

            vladimirsitnikov Vladimir Sitnikov
            vladimirsitnikov Vladimir Sitnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: