hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4568) Hive: DynamicSerDe to support struct inside array/map
Date Mon, 03 Nov 2008 16:41:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644750#action_12644750
] 

Pete Wyckoff commented on HADOOP-4568:
--------------------------------------

The dynamic serde itself support is actually almost done as part of the jira to add the unit
tests for this.  it currently works with TJSONProtocol but not TBinaryProtocol so some minor
bug.


> Hive: DynamicSerDe to support struct inside array/map
> -----------------------------------------------------
>
>                 Key: HADOOP-4568
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4568
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>            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.


Mime
View raw message