Repository navigation
Conversation
XuPeng-SH
requested review from
LeftHandCold,
aptend and
aunjgr
as code owners
September 13, 2026 01:06
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
commented
Sep 13, 2026
XuPeng-SH
left a comment
Contributor
Author
There was a problem hiding this comment.
GPT-6 medium deep review at head 707ff981393087952cb26270c3c46d10dd5f6c57: no blockers found. Reviewed MOD/DIV scale handling, error preservation, sign restoration, truncation, BIGINT boundaries, NULL/zero cases, and bounded big.Int fallbacks. Exact-head PROXY CI ran dtype/decimal_256.test: 12/12 passed.
XuPeng-SH
deleted the
fix/issues-28789-28790-decimal-scale-arithmetic
branch
September 13, 2026 03:20
This was referenced Sep 15, 2026
Closed
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…8804) ## Summary - Compute exact MOD remainders without materializing an overflowing scale-aligned coefficient. - For DIV, truncate the numerator for negative scale adjustments and use a bounded exact quotient fallback when positive scaling overflows. - Preserve sign, null/zero handling, truncation, and final BIGINT overflow behavior. - Add unit and distributed regression coverage for matrixorigin#28789 and matrixorigin#28790. Fixes matrixorigin#28789 Fixes matrixorigin#28790 ## Validation - Focused DECIMAL256 MOD/DIV UTs passed. - Full pkg/container/types and pkg/sql/plan/function suites passed. - git diff --check passed. - Distributed BVT SQL added but not run locally because the configured tester endpoint would use the shared service.
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…8804) ## Summary - Compute exact MOD remainders without materializing an overflowing scale-aligned coefficient. - For DIV, truncate the numerator for negative scale adjustments and use a bounded exact quotient fallback when positive scaling overflows. - Preserve sign, null/zero handling, truncation, and final BIGINT overflow behavior. - Add unit and distributed regression coverage for matrixorigin#28789 and matrixorigin#28790. Fixes matrixorigin#28789 Fixes matrixorigin#28790 ## Validation - Focused DECIMAL256 MOD/DIV UTs passed. - Full pkg/container/types and pkg/sql/plan/function suites passed. - git diff --check passed. - Distributed BVT SQL added but not run locally because the configured tester endpoint would use the shared service.
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…8804) ## Summary - Compute exact MOD remainders without materializing an overflowing scale-aligned coefficient. - For DIV, truncate the numerator for negative scale adjustments and use a bounded exact quotient fallback when positive scaling overflows. - Preserve sign, null/zero handling, truncation, and final BIGINT overflow behavior. - Add unit and distributed regression coverage for matrixorigin#28789 and matrixorigin#28790. Fixes matrixorigin#28789 Fixes matrixorigin#28790 ## Validation - Focused DECIMAL256 MOD/DIV UTs passed. - Full pkg/container/types and pkg/sql/plan/function suites passed. - git diff --check passed. - Distributed BVT SQL added but not run locally because the configured tester endpoint would use the shared service.
2 of 4 tasks
This branch was previously deployed
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
Fixes #28789
Fixes #28790
Validation