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

Add MergeUnion operator in Enumerable convention

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.19.0
    • 1.27.0
    • core

    Description

      Currently, the union operation offered by CalciteĀ (seeĀ EnumerableDefaults.union) "breaks" the collation (if any) of its inputs.

      The goal of this issue is to create a new union algorithm in Enumerable convention (EnumerableMergeUnion) that, given the fact that its inputs are sorted by the same collation, will return the union / union all result respecting this collation.

      Most likely the implementation of the merge join can be useful.

      Attachments

        1. screenshot-1.png
          40 kB
          Haisheng Yuan

        Issue Links

          Activity

            People

              rubenql Ruben Q L
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h 10m
                  15h 10m