apache / apache/iceberg-python

Support scanning a specific branch of a table

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

説明

### Feature Request / Improvement

As far as I can tell, PyIceberg does not directly support being able to scan a particular branch of an iceberg table. For example, there is no way to be able to run an equivalent of queries like

SELECT * FROM `..;`

as documented in https://iceberg.apache.org/docs/1.8.0/branching/#schema-selection-with-branches-and-tags

I can see that PR #941 to add support to _write_ to branches in Pyiceberg is well on its way to be being merged in, so this would be a useful complement.

Alternatively, perhaps I'm mistaken and there is already a way to do this, but it wasn't clear in the documentation

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

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

調査の方向性

まず、issue にリンクされている Iceberg のブランチとスキーマ選択に関するドキュメントを読み、次に既存のブランチ書き込みサポートについて PR #941 を確認します。現在の PyIceberg のスキャン API を調査し、ブランチを指定したテーブルをどのように選択すべきかを判断します;完了条件は、呼び出し側がドキュメントにあるクエリ例のように特定のテーブルブランチをスキャンできることです。

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

評価

技術スタック
python
領域
database
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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