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? |
|
This pull request is merged. |
Backport the empty-result persistence and result-scan projection fixes from matrixorigin#30641. The MODUMP context lifetime is already handled by matrixorigin#30742 on 4.2-dev. (cherry picked from commit 9f7fe43)
00a9946 to
9964cd8
Compare
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 9964cd8897c04e8f71ef5d02add106f8591e892e
Assessment: request_changes
The backport appropriately reuses the result writer and physical column mapping; source review found no confirmed implementation defect. Required execution evidence for the 4.2 saved-result/readback/export paths remains missing.
Model: gpt-6.1-sol / max
Session: 01a1e395-a6d9-7ad1-bf20-81f1c6210100 · slot 2 · generation 0
- P2
test/distributed/cases/query_result/query_result.sql:221: Merge the 4.2 backport without executing the changed saved-result regression and its public export path.
Impact: The zero-row persistence and pruned/filter-column mapping changes have no relevant completed execution on this branch. Run the changed query_result case in normal comparison mode, verify a newly saved empty result exports a header-only CSV, and supply successful focused/owning-package results (or matching completed CI).
Evidence: The PR states its test binaries were only compiled and regression/CI execution had not completed. evidence.json.local_validation is empty; relevant frozen-head build/UT/SCA checks remain IN_PROGRESS. Linked issue successes cover older main builds, explicitly not 4.2. focused-zonemap.log stopped before tests because libmo.so is missing; that environment diagnostic is not a product failure.
Validation:
-
Complete seven-file source/consumer review and all three PR discussion entries; discussion-assessment.json covers 3/3 keys.
-
Shared private-/tmp and loopback preflight passed; preflight.log and its check receipt retained.
-
git diff --check passed for the frozen base/head; diff-check.log and its check receipt retained.
-
Attempted Test_translateZonemapFilterColumnMap with repository mo-cgo-test and assigned test-exec; stopped before compilation/execution due to missing cgo/libmo.so.
Limitations:
-
No Go test or public SQL/MODUMP execution completed locally; current-head relevant CI was pending in the supplied snapshot.
-
The related MOI production version, HTTP/UI behavior and previously saved blockless results are outside this backport's verified scope.
|
Codex 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. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 662adbbd89444e7b46cbb27a71b5d5a0dac0517b
Assessment: approve
The focused backport reuses the existing result writer and physical-column mapping. Local execution closes the earlier validation gap; no actionable defects remain.
Model: gpt-6.1-sol / max
Session: 01a1e395-a6d9-7ad1-bf20-81f1c6210100 · slot 2 · generation 0
Validation:
-
Six focused regressions, all three owning packages, and go vet passed on Linux/amd64 with Go 1.26.6.
-
Public MySQL probes passed: 39 canonical SQL statements compared twice with teardown checks, empty tenant SHOW replay twice, and header-only CSV export.
-
Verified frozen source, complete seven-file delta, native input provenance, all six discussion keys, and receipt/log reconciliation; records are retained in check-ledger.json.
Limitations:
-
Frozen CI remains pending. The full external mo-tester suite and deployed MOI HTTP/UI paths were not run.
-
One unchanged rule-cache test was skipped. Initial dependency timeout and strict-string probe failure were recovered and retained separately.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #30553 and #30571.
Related to matrixorigin/matrixflow#18267.
What this PR does / why we need it:
Backport the saved-result fixes from #30641 to
4.2-dev:result_scanand exported.The MODUMP rotation context addressed by #30641 is already handled by the 4.2 export lifecycle in #30742, so this backport retains that existing implementation.
Validation
gofmt,git diff --check, andgo vetpassed for the changed Go packages.pkg/frontend,pkg/sql/colexec/external, andpkg/sql/plantest binaries compiled with-race; they were not executed locally.Previously saved results without data blocks are not repaired by this change. End-to-end verification requires a newly executed query.