Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14810

Calcite. Simple JOIN with f1=f2 cannot be planned with CNLJ.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • sql

    Description

      For now simple JOIN requests like:

      SELECT * FROM integers FULL OUTER JOIN integers2 ON integers.i=integers2.k ORDER BY i
      

      can be planned only through MergeJoin or NestedLoopJoin it would be useful to extend it with CNLJ too. Starting point : FilterSpoolMergeToSortedIndexSpoolRule#onMatch

      We have to add new rule FilterSpoolMergeToSortedIndexSpoolRule_ForceCollation which forces collation by the filter condition.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: