Repository navigation
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? |
9669f7a to
3992eef
Compare
|
mo-bot review · Commit: Assessment: approve Reviewed the complete five-file delta and relevant conversion callers. The fix reuses the existing scanner to validate dropped tails, preserves the first rounding digit and retains legacy Parse256 behavior. Regression coverage checks parser boundaries, external conversion and strict LOAD atomicity. No actionable defects found. Model: Session: Validation:
Limitations:
|
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 3992eef45bac93b03cc54ee5cfabe626553b8733
Assessment: approve
Reviewed the complete five-file delta and relevant conversion callers. The fix reuses the existing scanner to validate dropped tails, preserves the first rounding digit and retains legacy Parse256 behavior. Regression coverage checks parser boundaries, external conversion and strict LOAD atomicity. No actionable defects found.
Model: gpt-6-astra / xhigh
Session: 01a12d8f-7dea-77c2-a565-38d45b5564e4 · slot 0 · generation 0
Validation:
-
Verified exact HEAD, clean source and frozen-patch correspondence. Complete-delta whitespace and Go formatting checks passed.
-
Traced final-scale rounding, exponent handling, CSV/JSONLINE conversion, parallel LOAD casts and error propagation. Parallel staging casts already validate the complete token.
-
Reviewed all added test assertions and SQL results, including malformed tails, separator-sensitive rounding, zero persisted rows after failed mixed-row LOADs, SQL-mode restoration and teardown.
-
Reused frozen current-head evidence showing successful Ubuntu UT, Linux/arm64 static analysis, coverage, and PROXY/pessimistic multi-CN BVT.
-
Author additionally reports a failing pre-fix regression, complete types/external suites, the existing 20,000-input rounding oracle, and two targeted BVT passes of 38/38 statements.
-
Both supplied comments are administrative. Review details are recorded in review-audit.json and static-checks.json.
Limitations:
-
CI and author evidence lack raw logs; no local native or service tests were repeated.
-
Issue #29922's standalone body was not supplied; its contract was assessed from the frozen PR description and regression inputs.
-
Performance was assessed structurally: linear scanning and constant additional state; no benchmark was run.
Merge Queue Status
This pull request spent 1 hour 52 minutes 34 seconds in the queue, with no time running CI. ReasonPull request #29956 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.
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. Waiting for any of
All conditions
Tick the box to put this pull request back in the merge queue (same as
|
What type of PR is this?
Which issue(s) this PR fixes:
The reporter should verify the issue after merge.
What this PR does / why we need it:
Strict CSV and JSONLINE LOAD into Decimal256 columns accepted malformed text after the parser retained 76 digits. For example,
0.followed by 771digits andzwas stored as0.11; a second decimal point was also ignored.Continue validating the entire tail in the exact parsing mode used by
ParseDecimal256. Record the first dropped digit only once so accepted space/plus separators cannot replace the final-scale rounding digit. Valid long fractions, exponents, single-rounding behavior, and legacyParse256behavior are preserved. The parser still scans once, with constant extra state and no new success-path allocations.Regression coverage includes precision boundaries, signs, invalid suffixes and exponents, separator-sensitive rounding, CSV and JSONLINE object/array conversion, and strict LOAD rollback for mixed valid/invalid rows. The existing Decimal256 external-load SQL case is extended with exact string results and expected rejection counts.
Validation on Darwin arm64 with Go 1.27.1:
pkg/container/typesandpkg/sql/colexec/externalunit suites pass through the repository CGo wrapper.go vetand incremental repository-configured golangci-lint v2.14.0 pass for both changed packages; formatting and diff checks are clean.decimal256_external_load.sqlpasses normal mo-tester comparison twice, 38/38 statements each; teardown checks confirm the test database is removed after each run.gpt-6-astra, reasoning effortmedium.The issue's two-CN reproduction is historical evidence; local validation uses one CN. Full directory/distributed CI is pending.