Validate codecSpec and support codec-aware forward-index reloads - #19308
Validate codecSpec and support codec-aware forward-index reloads#19308xiangfu0 wants to merge 2 commits into
Conversation
9737c0c to
aafe8c6
Compare
|
Pushed 1. The DELTA/DELTADELTA guidance described a migration that is not possible. The previous wording ("For new SV INT/LONG columns, prefer Same for DELTADELTA and for LONG. Note this makes The Javadoc now states plainly that these values are rejected by table-config validation and points to 2. The six constants with no
I also fixed the malformed Net effect: the guidance now covers all 12 constants and matches what validation actually does. Comment-only change, no behavior difference. Verification: |
d906d6d to
04dd66f
Compare
aafe8c6 to
37dd99f
Compare
04dd66f to
669848c
Compare
37dd99f to
aedae05
Compare
669848c to
e784709
Compare
aedae05 to
affc903
Compare
Context
Stacked on #19307 and part of the split of #18229.
Summary
Completes the activation begun in #19307 by adding semantic table-config validation and reload/rewrite decisions for legacy-to-V7, V7-to-legacy, and V7 spec changes.
Semantic validation and scope enforcement
ForwardIndexConfigagainst the closed runtime registry and V7 shape constraints.codecSpecon disabled forward indexes and OPEN_STRUCT children rather than silently discarding it.ChunkCompressionTypeon the established raw format.Reload and rewrite behavior
codecSpec: no rewrite.PASS_THROUGH,SNAPPY,ZSTANDARD,LZ4, orGZIP): rewrite to the legacy format for rollback.Compression statistics
V7 has no single legacy compression enum. Compression statistics now preserve and report the tracked raw uncompressed size with a nullable legacy type, including segment creation and reload, without changing the persisted metadata/API shape.
Verification
Stack
#19284 → #19285 → #19305 → #19306 → #19307 → #19308 (this PR) → #19309
Review and merge parent-first.