Repository navigation
fix(cast): preserve signed BIT(64) values - #26728
Conversation
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
left a comment
There was a problem hiding this comment.
Reviewed exact head 5478718. The signed integer -> BIT(64) cast correctly preserves the two's-complement 64-bit pattern; narrower BIT and float/decimal behavior remain unchanged. Full function tests, controlled vet, and the focused race test at count=100 passed. APPROVE. Non-blocking metadata note: the PR body links #26725, which appears unrelated (CDC --level=table/sync-stall); please correct the issue association before merge.
|
@Mergifyio refresh |
✅ Pull request refreshed |
Merge Queue Status
This pull request spent 1 hour 6 minutes 39 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #26728 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
Failing checks:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26725 ## What this PR does / why we need it: - preserve the two's-complement bit pattern when signed integers are cast to BIT(64) - keep negative values rejected for narrower BIT widths and floating-point inputs - add coverage for all signed integer input widths Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26725 ## What this PR does / why we need it: - preserve the two's-complement bit pattern when signed integers are cast to BIT(64) - keep negative values rejected for narrower BIT widths and floating-point inputs - add coverage for all signed integer input widths Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26725 ## What this PR does / why we need it: - preserve the two's-complement bit pattern when signed integers are cast to BIT(64) - keep negative values rejected for narrower BIT widths and floating-point inputs - add coverage for all signed integer input widths Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
issue #26725
What this PR does / why we need it: