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

Represent UNBOUNDED in window functions in CBO correctly

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jcamacho Jesús Camacho Rodríguez Assign to me
            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

              Slack

                Issue deployment