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

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

What about deprecating the Type constructors in favor of the builders? We 
already do this kind of check there: 
https://github.com/apache/parquet-mr/blob/master/parquet-column/src/main/java/org/apache/parquet/schema/Types.java#L554

> 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