apache / apache/iceberg-python

Add `VariantType`

オープン
#1,819 コメント 8 件 リアクション 4 件 担当者 0 名 GitHub で見る
V3
主要言語
Python
スター
1.1k
フォーク
581
平均マージ
1日 17時間
マージ済み PR(30日)
78

説明

### Feature Request / Improvement

The VariantType is a semi-structured type that's part of V3.

- Hopefully, the Parquet format will be released soon: https://lists.apache.org/thread/mr8krzdy8qslhhy5zbll53fd2hy6cpwg
- Once that's in, I'll be added to Arrow: https://github.com/apache/arrow/pull/45375
- I think for PyIceberg, we need to wait for PyArrow support.

There is a Python implementation in Spark that we could vendor into the project, but that will be pretty slow: https://github.com/apache/spark/blob/master/python/pyspark/sql/variant_utils.py

Thoughts?

Original proposal: https://github.com/apache/iceberg/issues/10392

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

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

調査の方向性

まず、リンクされている Parquet と Arrow の作業を確認し、必要な VariantType のサポートが利用可能かどうかを判断します。次に、参照実装として Spark's python/pyspark/sql/variant_utils.py を読みます。PyArrow 依存関係がサポートするようになった時点で、PyIceberg の VariantType 実装方針について合意されていれば完了です。

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

評価

技術スタック
python, spark
領域
data
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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