[ https://issues.apache.org/jira/browse/HIVE-9684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brock Noland updated HIVE-9684: ------------------------------- Fix Version/s: 1.1.0 Committed to 1.1.0. I'll let you guys commit to other branches. > 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.1.0, 1.0.1 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Critical > Fix For: 1.1.0 > > Attachments: HIVE-9684.1.patch, HIVE-9684.branch-1.0.patch, > HIVE-9684.branch-1.1.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)