Proto-Parquet cannot write a schema with an empty group
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.6k
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 33
説明
This is valid protobuf:
```java
message Something {
EmptyMessage outerEmptyMessage = 1;
}
message EmptyMessage {
}
```
However when we try to convert this to Parquet we get:
```java
org.apache.parquet.schema.InvalidSchemaException: Cannot write a schema with an empty group: optional group outerEmptyMessage = 1 {
}
```
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?
**Reporter**: [André Pinto](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=andresp)
**Note**: *This issue was originally created as [PARQUET-1240](https://issues.apache.org/jira/browse/PARQUET-1240). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、空のネストされたメッセージを含む報告された protobuf の例を再現し、protobuf-to-Parquet のスキーマ生成パスをたどります。生成された空のグループが Parquet でサポートされていないのか、それとも誤って生成されているのかを判断し、より早い段階での検証が必要な場合は、スキーマ生成時に失敗するようにします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100