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

Carl Steinbach commented on HIVE-2390:
--------------------------------------

I updated the description of this ticket to accurately reflect the change that 
was made in this patch.

My impression is that this patch doesn't really change the situation in Hive 
with respect to UNIONTYPEs -- this feature is still unusable. If I'm wrong 
about this I would appreciate someone setting me straight.


> Add UNIONTYPE serialization support to LazyBinarySerDe
> ------------------------------------------------------
>
>                 Key: HIVE-2390
>                 URL: https://issues.apache.org/jira/browse/HIVE-2390
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.1
>            Reporter: Jakob Homan
>            Assignee: Suma Shivaprasad
>              Labels: TODOC14, uniontype
>             Fix For: 0.14.0
>
>         Attachments: HIVE-2390.1.patch, HIVE-2390.patch
>
>
> When the union type was introduced, full support for it wasn't provided.  For 
> instance, when working with a union that gets passed to LazyBinarySerde: 
> {noformat}Caused by: java.lang.RuntimeException: Unrecognized type: UNION
>       at 
> org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serialize(LazyBinarySerDe.java:468)
>       at 
> org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serializeStruct(LazyBinarySerDe.java:230)
>       at 
> org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serialize(LazyBinarySerDe.java:184)
> {noformat}



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

Reply via email to