You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2015/02/13 10:50:11 UTC

[jira] [Created] (HIVE-9684) Incorrect disk range computation in ORC because of optional stream kind

Prasanth Jayachandran created HIVE-9684:
-------------------------------------------

             Summary: Incorrect disk range computation in ORC because of optional stream kind
                 Key: HIVE-9684
                 URL: https://issues.apache.org/jira/browse/HIVE-9684
             Project: Hive
          Issue Type: Bug
          Components: File Formats
    Affects Versions: 1.0.0, 1.2.0, 1.1.0, 1.0.1
            Reporter: Prasanth Jayachandran
            Assignee: Prasanth Jayachandran
            Priority: Critical


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)