hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7157) skipRows() method in TreeReader subclasses in RecordReaderImpl should check return value from stream.skip()
Date Sat, 31 May 2014 03:05:01 GMT
Ted Yu created HIVE-7157:
----------------------------

             Summary: 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
            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.2#6252)

Mime
View raw message