[split 6/22] converters: Decimal128 clamp bounds, temporal range checks, replication-situation test matrix - #1361
Open
minguyen9988 wants to merge 1 commit into
Conversation
…on-situation test matrix - DebeziumConverter / ClickHouseDataTypeMapper / DataTypeRange: out-of-range temporal and decimal values are clamped against the bounds the ClickHouse driver actually accepts. Critical detail: BinaryStreamUtils.writeDecimal256 multiplies by 10^scale before its exclusive +-10^76 check, so DECIMAL256_MIN/MAX are invalid clamp targets at every scale - the clamp uses the Decimal128 bounds (38 digits of headroom post-scaling). Verified against the shipped driver jar. - MySQLReplicationSituationTest: new matrix covering INSERT/UPDATE/DELETE, snapshot vs stream, unsigned/boundary numerics, temporal edge values - asserting no loss and no corruption. - Expanded DebeziumConverterTest, ClickHouseDataTypeMapperTest, ClickHouseConverterTest; new DataTypeRangeTest. Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.
minguyen9988
force-pushed
the
omniwatcher/split-06-converters
branch
from
August 6, 2026 00:13
c2624f5 to
8c4d428
Compare
minguyen9988
changed the base branch from
2.10.0
to
omniwatcher/split-17-ddl-parser
August 6, 2026 00:13
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.
Part of the split of #1353 into independently mergeable sub-PRs (each <= 10 files), so the 2.10.0 branch can absorb the fixes incrementally.
Split out of #1353, which this series replaces. Each sub-PR is <= 10 files; the union of all 22 reproduces the #1353 tree exactly (verified by tree SHA).