You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "André Pinto (JIRA)" <ji...@apache.org> on 2018/03/05 11:33:00 UTC

[jira] [Created] (PARQUET-1240) Proto-Parquet cannot write a schema with an empty group

André Pinto created PARQUET-1240:
------------------------------------

             Summary: Proto-Parquet cannot write a schema with an empty group
                 Key: PARQUET-1240
                 URL: https://issues.apache.org/jira/browse/PARQUET-1240
             Project: Parquet
          Issue Type: Bug
    Affects Versions: 1.9.1
            Reporter: André Pinto


This is valid protobuf:

 
{code:java}
message Something {
    EmptyMessage outerEmptyMessage = 1;
}

message EmptyMessage {
}
{code}
However when we try to convert this to Parquet we get:
{code:java}
org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: optional group outerEmptyMessage = 1 {
}{code}
Is this a limitation of the Parquet format, or just a bug?

If the former, can we break earlier when generating the schema out of Protobuf, and not when trying to write the content to the already generated schema?

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)