hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Reisman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3264) Add support for binary dataype to AvroSerde
Date Fri, 03 Aug 2012 17:25:02 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Reisman updated HIVE-3264:
------------------------------

    Attachment: HIVE-3264-2.patch

makes sure AvroDeserializer unwraps byte[] from ByteBuffer before returning deserialized byte[].

Still wondering why the tests did catch this the first time, looking at them, possibly a subsequent
patch/JIRA on the way on that one...

                
> Add support for binary dataype to AvroSerde
> -------------------------------------------
>
>                 Key: HIVE-3264
>                 URL: https://issues.apache.org/jira/browse/HIVE-3264
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.9.0
>            Reporter: Jakob Homan
>              Labels: patch
>         Attachments: HIVE-3264-1.patch, HIVE-3264-2.patch
>
>
> When the AvroSerde was written, Hive didn't have a binary type, so Avro's byte array
type is converted an array of small ints.  Now that HIVE-2380 is in, this step isn't necessary
and we can convert both Avro's bytes type and probably fixed type to Hive's binary type.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message