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

Ryan Blue commented on PARQUET-278:
-----------------------------------

It's just more difficult to maintain validations in the constructors and we 
don't want to maintain them in two places. Plus, a builder can do a better job 
with the API over time. Constructors have to be deprecated and replaced.

> enforce non empty group on MessageType level
> --------------------------------------------
>
>                 Key: PARQUET-278
>                 URL: https://issues.apache.org/jira/browse/PARQUET-278
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: Tianshuo Deng
>
> As columnar format, parquet currently does not support empty struct/group 
> without leaves. We should throw when constructing an empty GroupType to give 
> a clear message.



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

Reply via email to