Repository navigation
Conversation
Track nonempty stats-fields while loading metadata and reject builders and serialization before they can discard unsupported definitions. Keep reads available for unknown definition types and allow absent, null or empty stats-fields. Cover the SQL property-update data-loss regression and metadata boundaries. Co-authored-by: Codex <[email protected]>
This was referenced Nov 24, 2026
manuzhang
marked this pull request as draft
November 25, 2026 06:54
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.
Currently, table metadata loading ignored
stats-fields, so a property-only SQL commit could silently discard stats-only definitions.This PR tracks their presence and reject metadata builds and serialization with
NotSupportedwhile definitions cannot be preserved. Tables remain readable, including unknown stats-only field types; omitted, null, and empty lists remain writable. Covers format 3 and later as defined by the spec.Prerequisite for #1070; full stats-field support remains deferred.
Validation: the new SQL/serde regressions failed before the fix and passed afterward; six standalone suites, table/JSON/SQL composition with #1070 (including format 4), pre-commit, and clang-tidy.