Repository navigation
Conversation
This was referenced Nov 15, 2026
manuzhang
marked this pull request as draft
November 16, 2026 15:18
Extract a focused piece from the metadata table implementation with its tests. Co-authored-by: Codex <[email protected]>
manuzhang
force-pushed
the
codex/metadata-partition-values-20261115
branch
from
November 25, 2026 10:25
75d594e to
76a25d0
Compare
Keep distinct historical field IDs without exposing duplicate names that break named metadata projections. Reserve existing names before generating field-ID suffixes, following the approach proposed in apache/iceberg#18243. Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Metadata tables expose a single
partitionstruct even when files were written with different partition specs. As specs evolve, fields can be added or renamed, and the same name can refer to different field IDs. Metadata tables need a consistent schema and a way to place each file’s partition values in the correct fields.What
Pre-commit and all 86 metadata tests passed on
c7ba91f3. Earlier validation also passed 58 metadata tests and the C++20 compatibility check in a standalone static Debug build, clang-tidy 22.1.8, and partition tests in the combined shared-library build. The full set of split changes passed 144 tests with one expected format-version skip.