apache / apache/parquet-java

ParentValueContainer.getConversionContainer does not handle FIXED schema types properly

オープン
#2,270 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Component: Avro Component: Parquet Priority: Major Type: bug
主要言語
Java
スター
3.1k
フォーク
1.6k
平均マージ
3日 12時間
マージ済み PR(30日)
33

説明

ParentValueContainer.getConversionContainer attempts to convert the value to (GenericData.Fixed) instead of the more broad (GenericFixed) class. GenericData.Fixed implements GenericFixed, and GenericFixed is the avro class that should be used instead of the more specific parquet-avro GenericData.Fixed.

**Environment**: Windows 10, Flink, IntelliJ IDE
**Reporter**: [Daniel Steffy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=steffyd)

**Note**: *This issue was originally created as [PARQUET-1486](https://issues.apache.org/jira/browse/PARQUET-1486). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ParentValueContainer.getConversionContainerから開始し、FIXEDスキーマ値がどのように変換されるかを調べます。変換がGenericData.Fixedだけでなく、より広いGenericFixed型を受け入れることを確認し、そのうえでFIXED値が報告された型の不一致なしに処理されることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
data
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。