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

Zheng Shao commented on HIVE-337:
---------------------------------

2 pitfalls for the delimited format:

1. Empty array has exactly the same serialized format as an array with a single 
element which is an empty String.

2. Null array has exactly the same serialized format as an array with a single 
element which is Null.

We have to make a choice between the two. After some discussions with Prasad, 
we've got the consensus that we should support empty array and null array 
(which means we are NOT going to support an array with a single element that is 
empty or null.)

This is the same as what TCTLSeparatedProtocol is doing.


> LazySimpleSerDe should support array and map types
> --------------------------------------------------
>
>                 Key: HIVE-337
>                 URL: https://issues.apache.org/jira/browse/HIVE-337
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.2.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>            Priority: Blocker
>
> Once we do that, we can completely deprecate 
> DynamicSerDe/TCTLSeparatedProtocol, and close any bugs that 
> DynamicSerDe/TCTLSeparatedProtocol has.

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