You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2013/01/09 22:28:12 UTC
[jira] [Created] (HIVE-3876) call resetValid instead of
ensureCapacity in the constructor of BytesRefArrayWritable
Yin Huai created HIVE-3876:
------------------------------
Summary: call resetValid instead of ensureCapacity in the constructor of BytesRefArrayWritable
Key: HIVE-3876
URL: https://issues.apache.org/jira/browse/HIVE-3876
Project: Hive
Issue Type: Improvement
Components: Serializers/Deserializers
Affects Versions: 0.10.0
Reporter: Yin Huai
Priority: Minor
In the constructor of BytesRefArrayWritable, ensureCapacity(capacity) is called, but "valid" has not been adjusted accordingly. After a new BytesRefArrayWritable has been created with a initial capacity of "x", if resetValid() has not been called explicitly, the size returned is still 0.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira