Repository navigation
test(sql): cover scalar DESCRIBE view reflection - #30122
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? |
|
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: e412b88e94940c352334d2d034a4fb22ee106ebc
Assessment: approve
Reviewed the complete three-file delta. The regression coverage fits the existing metadata owners, exercises stock MySQL reflection, and preserves prior tests and cleanup. The SQLAlchemy fixture change correctly supports 1.4 and 2.x. No actionable defects found. Production SQL paths incur no additional cost.
Model: gpt-6-astra / xhigh
Session: 01a12d8f-7dea-77c2-a565-38d45b5564e4 · slot 0 · generation 0
Validation:
-
Verified the clean frozen head, merged prerequisites, regression-only scope, and unchanged existing BVT cases and results.
-
Host probes passed with SQLAlchemy 1.4.54 and 2.1.4 plus PyMySQL 1.2.3: fixture transaction APIs, table/view reflection, expected scalar metadata, and rejection of the old uppercase format.
-
Probe commands, successful exit receipts, source fingerprints and logs were reconciled. Evidence index: /home/xupeng/.local/state/mo-bot/jobs/d616ff79ae70521c5d672084/attempt-1/review-evidence.json.
-
Frozen CI evidence records successful BVT and offline SDK checks. Reviewed setup visibility, object isolation, cleanup, warning assertions and preservation of existing BOOL and ENUM/SET coverage.
Limitations:
-
Local probes used synthetic SQL responses, not a running MatrixOne service. Python online CI was skipped; the author's reported live-service runs had no retained receipts in local_validation and were not independently reproduced.
-
Original Superset Linux deployment and domain-view verification remain separate issue-closure QA. Approval covers this frozen regression-only change.
Merge Queue Status
This pull request spent 11 minutes 2 seconds in the queue, with no time running CI. ReasonPull request #30122 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:
Related to #30045. This regression-only PR does not automatically close the original deployment issue.
What this PR does / why we need it:
The original three-column view (
INT,VARCHAR(8),DECIMAL(24,6)) exposed stock SQLAlchemy reflection failures when DESCRIBE returned uppercase, width-bearing type strings. The production fix is already merged in #29893, mergef42af4dfcba210fd91b6f1fc5d7b5a72704502ee. This PR records the scalar reproduction independently of BOOL aliases.The canonical BVT checks table/view DESCRIBE, view SHOW COLUMNS and ordered information_schema type/nullability values (
int,varchar(8),decimal(24,6)). The stock MySQL/PyMySQL Inspector test checks table/view names, types, width, precision/scale, nullability/defaults and absence of NullType or SAWarning, with committed setup and finally cleanup. The shared fixture usessa.engine.URL.createandfuture=Trueso its existing commit/rollback calls work across SQLAlchemy 1.4 and 2.x. Existing BOOL, ENUM/SET, prepared metadata, restore and teardown cases remain intact. No production behavior changes.Integration and execution identity:
5d971d07a7c5a52a71f2c10390b109cebf5c0825; current test head:e412b88e94940c352334d2d034a4fb22ee106ebc.f14a1fa9ee813529b7bde89ecc74dddca420dc00, which repairs the former EXPLAIN/protobuf build break. Closed/unmerged fix(explain): port EXPLAIN FORMAT=JSON to IndexSearchScan (#30108) #30110 is not a prerequisite.make build-with-prebuilt-nativePASS with Go 1.27.1, CGo enabled and verified owned CPU native provenance. Service producer isef7f81acaeb3353e9ee3e62530dd6d3c8f8e83c3, binary SHA256d11d383dcfeba4d188eea5a57888ded868dab634818bbd50ee4b886620a06b69; its successor changes only the Python fixture. No rebuilt-successor claim.838bf5d1f8a34e09dc984b5e7d118bcbf2900ab9is newer than the tested base. Its row-rule metadata visibility hook requires active rewrite rules, absent from these fresh-root fixtures. The prepared-policy change also touches ordinary PREPARE creation and therefore intersects the canonical fixture; latest-main runtime remains NOT_RUN and is not inferred from this exact tested-base evidence. No newer main merge is included.Current validation:
nometaignores JDBC field metadata. Database and snapshot teardown verified after both runs.21f19results remain supplemental and are not relabeled current-head evidence.QA required: yes. Deployed BI compatibility should be checked in the original Superset Linux image and original ten domain views; neither is claimed by local native application validation. Those deployment/issue-closure checks remain separate from this regression PR's current-source review and local correctness evidence. Independent review is complete for this regression scope; no merge or issue closure is requested.