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 BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1, 1.1.0
    • Fix Version/s: 1.0.0, 1.1.0
    • Component/s: File Formats
    • Labels:
      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.branch-1.0.patch
          4 kB
          Prasanth Jayachandran
        2. HIVE-9684.branch-1.1.patch
          4 kB
          Prasanth Jayachandran
        3. HIVE-9684.1.patch
          4 kB
          Prasanth Jayachandran

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran Assign to me
              Reporter:
              prasanth_j Prasanth Jayachandran

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment