Repository navigation
Conversation
… scales Close the Java/C++ compatibility gaps so every Java-writable (type, encoding, compression) combination is readable by C++, and expand the shared fixture matrix to four data-scale tiers with page-size coverage. - Add C++ FLOAT/DOUBLE RLE and GORILLA_V1 encoders/decoders. - Wire DATE/TIMESTAMP into ZIGZAG/SPRINTZ and BOOLEAN into RLE. - Fix INT64 RLE decoder endianness: Java stores run values big-endian. - Fix SPRINTZ FIR predictor to match Java's 32/64-bit wrapping multiply. - Replace the table-only Java/C++ tests with a spec-driven EncodingCompressionCompatibilityTest consumed by both sides from compat/compatibility-matrix.csv; cover tree + table models, four scales (10/1k/100k/1M rows), and page-boundary sizes. - Narrow the compatibility workflow trigger to the binary-format surface and report the coverage/gap matrix in CI.
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.
Summary
Closes #1057.
The Java/C++ compatibility matrix now covers every (type, encoding, compression)
combination both implementations can write, at four data scales, in both
directions — and building it out surfaced and fixed two real cross-language
format bugs.
Changes
compat/compatibility-matrix.csv) consumed by both theJava and C++ tests, so the two matrices cannot drift.
spec-driven
EncodingCompressionCompatibilityTeston each side, coveringboth models (table + tree), all six compressions, and four data scales
(10 / 1k / 100k / 1M rows) with page sizes that cross page boundaries at
every scale.
combination is now C++-readable: FLOAT/DOUBLE RLE, FLOAT/DOUBLE GORILLA_V1,
DATE/TIMESTAMP ZIGZAG/SPRINTZ, BOOLEAN RLE.
big-endian by Java/IoTDB.
from Java's 32/64-bit wrapping multiply on large values.
(main source, the spec, build files) so routine PRs don't pay the ~30 minute
matrix; the coverage/self-check tests still run in the normal unit suite.
Validation
spotless:checkclean.