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.

Reply via email to