You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2011/08/18 05:47:27 UTC

[jira] [Commented] (HIVE-2390) Expand support for union types

    [ 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