hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Wagner (JIRA)" <>
Subject [jira] [Updated] (HIVE-3264) Add support for binary dataype to AvroSerde
Date Fri, 12 Jul 2013 21:59:48 GMT


Mark Wagner updated HIVE-3264:

    Attachment: HIVE-3264.6.patch

I rebased Eli's patch on the current trunk. I've also made  changes so that 'fixed' fields
come out as binary as well. This isn't an exact match, but it's better than an array of tinyints
I think.

As far as test cases, avro_nullable_fields.q includes fields of both fixed and bytes type,
so that test serializing and deserializing. There are also unit test for each of those in
TestAvroDeserializer and TestAvroSerializer.
> Add support for binary dataype to AvroSerde
> -------------------------------------------
>                 Key: HIVE-3264
>                 URL:
>             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, HIVE-3264-3.patch, HIVE-3264-4.patch,
HIVE-3264-5.patch, HIVE-3264.6.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
For more information on JIRA, see:

View raw message