Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0.0, 1.0.1, 1.1.0
-
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.