You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/02/20 02:07:12 UTC
[jira] [Resolved] (HIVE-7157) skipRows() method in TreeReader
subclasses in RecordReaderImpl should check return value from stream.skip()
[ https://issues.apache.org/jira/browse/HIVE-7157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu resolved HIVE-7157.
--------------------------
Resolution: Later
> skipRows() method in TreeReader subclasses in RecordReaderImpl should check return value from stream.skip()
> -----------------------------------------------------------------------------------------------------------
>
> Key: HIVE-7157
> URL: https://issues.apache.org/jira/browse/HIVE-7157
> Project: Hive
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Swarnim Kulkarni
> Priority: Minor
>
> This is an example from DoubleTreeReader#skipRows():
> {code}
> stream.skip(items * 8);
> {code}
> skip() method returns actual number of bytes returned. The return value should be checked against input parameter.
> skipRows() method of BinaryTreeReader and StringDirectTreeReader classes has the same issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)