Jason Dere created HIVE-7041:
--------------------------------

             Summary: DoubleWritable/ByteWritable should extend their hadoop 
counterparts
                 Key: HIVE-7041
                 URL: https://issues.apache.org/jira/browse/HIVE-7041
             Project: Hive
          Issue Type: Bug
            Reporter: Jason Dere
            Assignee: Jason Dere
         Attachments: HIVE-7041.1.patch

Hive has its own implementations of ByteWritable/DoubleWritable/ShortWritable.  
We cannot replace usage of these classes since they will break 3rd party 
UDFs/SerDes, however we can at least extend from the Hadoop version of these 
classes when possible to avoid duplicate code.

When Hive finally moves to version 1.0 we might want to consider removing use 
of these Hive-specific writables and switching over to using the Hadoop version 
of these classes.

ShortWritable didn't exist in Hadoop until 2.x so it looks like we can't do it 
with this class until 0.20/1.x support is dropped from Hive.



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

Reply via email to