You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks the implementation of ReplacePartitions in C++, assigned in #637.
ReplacePartitions performs dynamic partition overwrite: each file added to the operation marks its entire partition for deletion, and on commit, existing files in those partitions are atomically replaced. The resulting snapshot uses operation="overwrite" and summary property "replace-partitions"="true".
Implementation Plan
PR 1 — Core implementation
New files:
src/iceberg/update/replace_partitions.h
src/iceberg/update/replace_partitions.cc
Modified files:
src/iceberg/snapshot.h — add kReplacePartitions constant to SnapshotSummaryFields
src/iceberg/type_fwd.h — add class ReplacePartitions;
Apply(): for unpartitioned tables calls filter_manager_.DeleteByRowFilter(AlwaysTrue); calls FilterManifests() on existing snapshot, then prepends new manifests
Activity
feat: add ReplacePartitions core class (PR1)
feat: add ReplacePartitions core class (PR1)
feat: add ReplacePartitions core class and tests (PR1)
feat: add ReplacePartitions core class and tests (PR1)
feat: add ReplacePartitions core class (PR1)
feat: add ReplacePartitions core class (#776)
zhjwpku commentedon Oct 30, 2026
Closed via #776 and #925