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

Incorrect disk range computation in ORC because of optional stream kind

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: