Skip to content

Decimal Precision Fixes - #355

Open
walsykerem wants to merge 3 commits into
ClickHouse:mainfrom
walsykerem:decimal-precision-problem
Open

walsykerem wants to merge 3 commits into
ClickHouse:mainfrom
walsykerem:decimal-precision-problem

Conversation

@walsykerem

@walsykerem walsykerem commented Nov 25, 2026 •

Copy link
Copy Markdown

Decimal Precision Fixes

Excess fractional digits are now rounded half away from zero instead of truncated, so 1.239 at scale 2 stores 124.
Values beyond a column's declared precision are rejected instead of silently stored.
Both fixes are tested and migrated into the main project; no regressions detected.

@cla-assistant

cla-assistant Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ walsykerem
❌ Kerem


Kerem seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit 8e1bc01. Configure here.

Comment thread src/emit/ch_emitter.rs Resolved
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

AI review gate — Cursor Bugbot found issues

  • Cursor Bugbot found issues that are not resolved (check concluded 'neutral').

What to do:

  • All of the reviewer's comment threads are resolved, but its check on this commit still reports issues. Post bugbot run as a new top-level PR comment for a fresh review, or push a commit.
  • Finding wrong, or reviewer stuck? Ask a human with write access who is not the PR author to approve this exact commit, then re-run the gate. Their approval stands in for the AI review (a new push needs a new approval).

Re-run the gate with “Re-run jobs” after an approval or a finished review. A push re-runs it automatically.

@walsykerem

Copy link
Copy Markdown
Author

Re-run jobs

@serprex serprex closed this Nov 26, 2026
@serprex serprex reopened this Nov 26, 2026
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.

2 participants