You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/05/06 22:58:14 UTC

[jira] [Created] (HIVE-7022) Replace BinaryWritable with BytesWritable in Parquet serde

Xuefu Zhang created HIVE-7022:
---------------------------------

             Summary: Replace BinaryWritable with BytesWritable in Parquet serde
                 Key: HIVE-7022
                 URL: https://issues.apache.org/jira/browse/HIVE-7022
             Project: Hive
          Issue Type: Improvement
          Components: Serializers/Deserializers
    Affects Versions: 0.13.0
            Reporter: Xuefu Zhang
            Assignee: Xuefu Zhang


Currently ParquetHiveSerde uses BinaryWritable to enclose bytes read from Parquet data. However, existing Hadoop class, BytesWritable, already does that, and BinaryWritable offers no advantage. On the other hand, BinaryWritable has a confusing getString() method, which, in misused, can cause unexpected result. The proposal here is to replace it with Hadoop BytesWritable.

The issue was identified in HIVE-6367, serving as a follow-up JIRA. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)