[ https://issues.apache.org/jira/browse/HIVE-9684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanth Jayachandran updated HIVE-9684: ---------------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 1.0.0 Status: Resolved (was: Patch Available) Thanks [~brocknoland] for committing to 1.1. I committed the patch to branch-1.0 and trunk. Thanks [~gopalv] for the review! > 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.0.0, 1.2.0, 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)