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

Incorrect disk range computation in ORC because of optional stream kind

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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.1.0
    • 1.0.0, 1.1.0
    • File Formats
    • None

    Description

      HIVE-9593 changed all required fields in ORC protobuf message to optional field. But DiskRange computation and stream creation code assumes existence of stream kind everywhere. This leads to incorrect calculation of diskranges resulting in out of range exceptions. The proper fix is to check if stream kind exists using stream.hasKind() before adding the stream to disk range computation.

      Attachments

        1. HIVE-9684.1.patch
          4 kB
          Prasanth Jayachandran
        2. HIVE-9684.branch-1.0.patch
          4 kB
          Prasanth Jayachandran
        3. HIVE-9684.branch-1.1.patch
          4 kB
          Prasanth Jayachandran

        Activity

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

          People

            prasanth_j Prasanth Jayachandran Assign to me
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment