[ 
https://issues.apache.org/jira/browse/PARQUET-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380673#comment-14380673
 ] 

Ryan Blue commented on PARQUET-227:
-----------------------------------

Should we define a type annotation for unions? That way Avro, Thrift, and Hive 
unions could be compatible. That would also be a good opportunity to 
standardize behavior, so if a union has multiple non-null values we have 
predictable behavior for interpreting the data across object models. Obviously, 
this wouldn't block your work here.

> Parquet thrift can write unions that have 0 or more than 1 set value
> --------------------------------------------------------------------
>
>                 Key: PARQUET-227
>                 URL: https://issues.apache.org/jira/browse/PARQUET-227
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: Alex Levenson
>            Assignee: Alex Levenson
>
> Having 0 or more than 1 set values means the data will be unreadable in the 
> read path, this should not be allowed in the write path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to