[
https://issues.apache.org/jira/browse/HIVE-16671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015433#comment-16015433
]
Prasanth Jayachandran commented on HIVE-16671:
----------------------------------------------
{code}
if (ix == 3) break; // Done, we have 3 bytes.
{code}
After this why are we moving on to next DiskRangeList? DiskRangeList will not
be 1 or 2 byte long right? If we can't read complete header in current
DiskRangeList, worst case it will be in next contiguous DiskRangeList. Am I
missing something here?
Will be good to make it a separate method with tests (fake InStreams) if
possible.
> LLAP IO: BufferUnderflowException may happen in very rare(?) cases due to ORC
> end-of-CB estimation
> --------------------------------------------------------------------------------------------------
>
> Key: HIVE-16671
> URL: https://issues.apache.org/jira/browse/HIVE-16671
> Project: Hive
> Issue Type: Bug
> Reporter: Ravi Mutyala
> Assignee: Sergey Shelukhin
> Attachments: HIVE-16671.01.patch, HIVE-16671.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)