Skip to content

Use scientific Decimal rendering for inline literals#276

Merged
ruslandoga merged 2 commits into
masterfrom
ruslandoga+conductor/scientific-decimals
May 7, 2026
Merged

Use scientific Decimal rendering for inline literals#276
ruslandoga merged 2 commits into
masterfrom
ruslandoga+conductor/scientific-decimals

Conversation

@ruslandoga
Copy link
Copy Markdown
Collaborator

@ruslandoga ruslandoga commented May 7, 2026

Updates inline Decimal literal rendering to use Decimal scientific notation, matching the compact rendering approach now used by Ch query params.

Keeps strict Decimal precision and scale validation for typed placeholders, while allowing inline over-limit literals to be sent compactly for ClickHouse to handle.

Requires Ch ~> 0.8.2, which includes the corresponding query parameter encoding change.

Validation: focused Decimal connection tests pass.

Comment thread CHANGELOG.md Outdated
@ruslandoga ruslandoga marked this pull request as ready for review May 7, 2026 18:00
@ruslandoga ruslandoga merged commit aa8e4e0 into master May 7, 2026
6 checks passed
@ruslandoga ruslandoga deleted the ruslandoga+conductor/scientific-decimals branch May 7, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant