[ https://issues.apache.org/jira/browse/HIVE-9684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth Jayachandran updated HIVE-9684: ---------------------------------------- Attachment: HIVE-9684.branch-1.0.patch > 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 > Attachments: HIVE-9684.branch-1.0.patch > > > 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)