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: |
aafe8c6 to
37dd99f
Compare
37dd99f to
aedae05
Compare
aedae05 to
affc903
Compare
36ff38a to
8c51bce
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## xiangfu0/codex/codec-stack/05-v7-format #19308 +/- ##
=============================================================================
+ Coverage 67.56% 67.58% +0.01%
Complexity 1430 1430
=============================================================================
Files 3488 3488
Lines 224459 224464 +5
Branches 35427 35429 +2
=============================================================================
+ Hits 151663 151696 +33
+ Misses 60730 60710 -20
+ Partials 12066 12058 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
8c51bce to
29aeb2d
Compare
29aeb2d to
c26f352
Compare
c26f352 to
3dcc03f
Compare
3dcc03f to
3e828c5
Compare
3e828c5 to
1cd57a7
Compare
1cd57a7 to
d0afba2
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.