Core: Expose status-filtered CloseableIterables on ManifestReader
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
Read ManifestReader and the existing iterator() and select(...) APIs, then inspect tests for manifest reads. Add status-filtered CloseableIterable accessors for ADDED and DELETED entries that preserve defensive copies and dropStats(columns) projection; verify streaming behavior on mixed-status manifests. A linked pull request is already open.
索引モデルが issue の本文から書いたものです。
説明
Feature Request / Improvement
Snapshot.addedDataFiles(FileIO), removedDataFiles(FileIO), addedDeleteFiles(FileIO), and removedDeleteFiles(FileIO) were deprecated in #15241 in favor of SnapshotChanges. However, SnapshotChanges eagerly materializes both added and removed file lists in memory with full column statistics and requires a Table instance via SnapshotChanges.builderFor(Table).
Services that inspect newly committed snapshots from TableMetadata / Snapshot (such as catalog commit hooks, audit, or lineage listeners) often need to stream only ADDED or DELETED files with column projection (e.g. partition or file_path only) without decoding column-stats maps or materializing opposite-status entries.
ManifestFiles.read(manifest, io, specsById) and ManifestReader.select(...) are already public, but ManifestReader.iterator() only exposes liveEntries() (ADDED + EXISTING), while ManifestReader.entries() and ManifestEntry are package-private. As a result, external callers cannot filter rewritten manifests containing mixed ADDED, EXISTING, and DELETED entries without split-package shims in org.apache.iceberg (and in-core CherryPickOperation.validateReplacedPartitions similarly hand-rolls this filter).
Exposing addedFiles() and deletedFiles() returning CloseableIterable<F> on ManifestReader<F> (with defensive copies honoring dropStats(columns), matching iterator()) allows streaming status-filtered manifest reads with column projection while keeping ManifestEntry package-private.
Query engine
Other
Willingness to contribute
- I can contribute this improvement/feature independently
- I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- I cannot contribute this improvement/feature at this time
- 主要言語
- Java
- スター
- 9.4k
- フォーク
- 3.7k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 169
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/iceberg のほかの issue
-
Spark: Test INSERT targets with computed IDENTIFIER expressions対応中かも @shivadarshan-devadiga が 8 日前に担当しました。 オープンimprovement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Core] TestAvroPartitionStatsHandler fails on Windows due to unclosed partition statistics scan対応中かも @Ankitkj1999 が 10 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Flink: JdbcLockFactory concurrent lock-table creation can fail with "table already exists" and restart the job対応中かも @adiranjan25 が 17 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/iceberg#18797 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Core: TableMetadata.Builder allows adding encryption keys to v1/v2 tables対応中かも @yusufyildiz34 が 29 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/iceberg#18632 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToList対応中かも @mohamed-elbrik が 34 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
hermes-queue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
chrisalunlloyd2-sudo/mindpalace#430 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
unitycatalog/unitycatalog#2363 ·
メンテナーはふだん 1 日以内に返信
-
area: editor P3 type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
halisonworks/mod-codeling#290 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
area/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信