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

Arvind Prabhakar commented on HIVE-365:
---------------------------------------

For the table "nested" as defined above, a row that contains the following data:
[ [1,2,3],[10,20,30] ], { {foo:{1:1} }, {bar:{2,2} } }

would be represented as:
1 \003 2 \003 3 \002 10 \003 20 \003 30 \001 foo \003 1 \004 1 \002 \bar \003 2 
\004 2

note: spaces added for readability

> Create Table to support multiple levels of delimiters
> -----------------------------------------------------
>
>                 Key: HIVE-365
>                 URL: https://issues.apache.org/jira/browse/HIVE-365
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>
> From HIVE-337, the SerDe layer now supports multiple-levels of delimiters, 
> for the purpose of supporting nested map/array/struct.
> Array(the same as List) and struct consume a single level of separator, and 
> Map consumes 2 levels.
> DDL (Create Table) needs to allow users to specify multiple levels of 
> delimiters in order to take the advantage of this new feature.

-- 
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