You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2015/05/11 21:41:00 UTC

[jira] [Commented] (PARQUET-278) enforce non empty group on MessageType level

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