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)