Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23275

Represent UNBOUNDED in window functions in CBO correctly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • CBO
    • None

    Description

      Currently we use a bounded representation with bound set to Integer.MAX_VALUE, which works correctly since that is the Hive implementation. However, Calcite has a specific boundary class RexWindowBoundUnbounded that we should be using instead.

      Attachments

        1. HIVE-23275.01.patch
          99 kB
          jcamachorodriguez
        2. HIVE-23275.01.patch
          99 kB
          jcamachorodriguez
        3. HIVE-23275.01.patch
          99 kB
          jcamachorodriguez
        4. HIVE-23275.patch
          0.9 kB
          jcamachorodriguez
        5. HIVE-23275.patch
          0.9 kB
          jcamachorodriguez

        Activity

          People

            jcamacho Jesús Camacho Rodríguez
            jcamacho Jesús Camacho Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 10m
                10m