You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Tianshuo Deng (JIRA)" <ji...@apache.org> on 2015/05/15 23:11:59 UTC
[jira] [Comment Edited] (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=14546178#comment-14546178 ]
Tianshuo Deng edited comment on PARQUET-278 at 5/15/15 9:11 PM:
----------------------------------------------------------------
We could actually change the fluentAPI to be more clear about showing the nested structure. like:
message("myMessage").with(
group("firstGroup").with(
primitive("age").type("INT").optional()
)
)
Instead of building an API that chains everything together, I prefer an DSL that actually look s more like the real structured schema
was (Author: tianshuo):
We may actually change the fluentAPI to be more clear about showing the nested structure. like:
message("myMessage").with(
group("firstGroup").with(
primitive("age").type("INT").optional()
)
)
Instead of building an API that chains everything together, I prefer an DSL that actually look s more like the real structured schema
> 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)