Repository navigation
fix(mo-tool): preserve text and blob subtypes in checkpoint DDL - #30374
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: b69a57982a91e082cadbfd2cdded9c1ea30b1bc5
Assessment: approve
Reviewed the complete two-file delta and affected callers; no actionable findings remain. Reusing the established SQL type formatter restores TEXT/BLOB subtype preservation without duplicating width rules or changing temporal handling. The change adds only bounded schema-formatting work, with no new I/O, synchronization or retained state.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1586-7a01-9000-d45e20995cf8 · slot 1 · generation 1
Validation:
-
Traced catalog type encoding through checkpoint schema decoding, DDL rendering and CSV consumers. Subtype names remain intact, CSV quoting remains compatible, and legacy zero-width BLOB follows the existing LONGBLOB convention.
-
Reviewed the nine encoded-catalog regression cases and existing formatter boundary, catalog DDL and temporal tests.
-
Reused successful exact-head CI outcomes recorded in evidence.json: shared build, Ubuntu unit tests, arm64 static analysis, coverage and BVT. Repository UT discovery includes checkpointtool.
-
git diff --check passed. Reconciled checks/1792138377081623459-2.json with the expected command, clean source fingerprint, exit code 0 and review-diff-check.log under the assigned attempt directory. Review audit retained in review-audit.json.
Limitations:
-
Supplied CI evidence contains outcomes, not raw logs or per-test reports; local_validation is empty. No local Go tests or full PITR incident replay were performed.
-
Performance assessment is based on the bounded code path; no benchmark measurements are claimed.
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 21 minutes 5 seconds in the queue, with no time running CI. ReasonPull request #30374 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:
Fixes #30376.
What this PR does / why we need it:
Checkpoint dump reconstructs MEDIUMTEXT as TEXT because its SQL type renderer falls back to DescString, which ignores the TEXT/BLOB family width. This causes the PITR checkpoint dump/restore schema check to fail for big_data_test.fulltext_test in run 38787656121.
Use FormatSQLColumnType for TEXT and BLOB so exported DDL preserves the declared subtype. Add encoded catalog type regression coverage for all TEXT/BLOB variants, including legacy zero-width BLOB. Temporal formatting is unchanged.
Validation: gofmt and git diff --check passed. The targeted checkpointtool Go tests were attempted but compilation is blocked locally by missing native headers (xxhash.h, roaring.h, usearch.h); runtime tests remain for CI.