[ 
https://issues.apache.org/jira/browse/HIVE-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351335#comment-14351335
 ] 

Ratandeep Ratti commented on HIVE-9851:
---------------------------------------

Hmm. *--- thinks how to sweeten the deal --- *
OK. If this gets committed I promise to write a test case of the committer's 
choosing.
AND, if AvroSerializer class is made public (we use is elsewhere in our code to 
convert Hive objects to avro) I promise to write 2!  

> org.apache.hadoop.hive.serde2.avro.AvroSerializer should use 
> org.apache.avro.generic.GenericData.Array when serializing a list
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-9851
>                 URL: https://issues.apache.org/jira/browse/HIVE-9851
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, Serializers/Deserializers
>            Reporter: Ratandeep Ratti
>         Attachments: HIVE-9851.patch
>
>
> Currently AvroSerializer uses java.util.ArrayList for serializing a list in 
> Hive.
> This causes problems when we need to convert the avro object into some other 
> representation say a tuple in Pig.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to