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

Incorrect disk range computation in ORC because of optional stream kind

    Details

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

          Activity

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran
              Reporter:
              prasanth_j Prasanth Jayachandran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: