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

Pete Wyckoff commented on HIVE-8:
---------------------------------

DynamicSerDe now fully supports nested structures and was committed as part of 
one of those initial megacommits.

Need support from CLI and metastore for this now.


> Hive: DynamicSerDe to support struct inside array/map
> -----------------------------------------------------
>
>                 Key: HIVE-8
>                 URL: https://issues.apache.org/jira/browse/HIVE-8
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>
> We should allow users to create types and use those types in dynamic serde.
> In this way we can support:
> CREATE TYPE friend_information (
>   friend_id int,
>   friend_name string
> );
> CREATE TABLE user_information {
>   user_id int,
>   user_name string,
>   friends array<friend_information>
> );
> Or support in-place declaration:
> CREATE TABLE user_information {
>   user_id int,
>   user_name string,
>   friends array<TYPE user_information(friend_id int,  friend_name string) >
> );

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to