hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2390) Expand support for union types
Date Thu, 18 Aug 2011 03:47:27 GMT

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

Amareshwari Sriramadasu commented on HIVE-2390:
-----------------------------------------------

+1. I agree that when Union type was added, complete support for it was not added. We should
extend its usage in all the serdes.

bq. Part of the problem is that the term union has been overloaded. 
The type is called 'uniontype' in Hive to resolve ambiguities.

> Expand support for union types
> ------------------------------
>
>                 Key: HIVE-2390
>                 URL: https://issues.apache.org/jira/browse/HIVE-2390
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jakob Homan
>
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message