apache / apache/iceberg-python
Support rewrite_manifests table maintenance
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 581
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 77
説明
### Feature Request / Improvement
Rewriting manifests without changing data speeds up scan planning when a table has accumulated many small manifests. Java exposes this as `Table.rewriteManifests()` (Spark: `rewrite_manifests`).
Scope: an explicit maintenance operation that reads the current snapshot's manifests, regroups entries, rewrites them preserving sequence numbers (entries rewritten as EXISTING) and, for V3, `first_row_id`, and commits a `replace` snapshot. Related: #270 tracks automatic manifest merging on write; this covers the explicit maintenance API.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Table.rewriteManifests() に対応する Python のテーブルメンテナンス/API エントリポイントを特定し、まず現在のスナップショットおよびマニフェスト管理のパスを読みます。明示的な操作によって現在のマニフェストが再グループ化され、シーケンス番号と V3 first_row_id が保持され、書き換えられたエントリが EXISTING としてマークされ、置換スナップショットがコミットされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100