Repository navigation
fix ctas - #26349
fix ctas#26349
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? |
1, FSP 6 显示为9位数字 是Connector/J本身的问题. mo-tester 用了Connector/J |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Re-reviewed exact head 22ceb83739644ccb772db7db8401761d6b738189. The new commits merge main, but both blockers from the previous review remain in the PR's current final diff.
P1 — Preserve the declared DATETIME(6) display scale end to end
test/distributed/cases/ddl/create_table_as_select.result:2091,2105-2106 still records .123456000 / .654321000 for columns advertised as DATETIME(6). The parser round trip, nullable metadata, and insert-plan expression scale are fixed, but the stored-column SELECT/result-vector path still exposes nine fractional digits. Please propagate the declared FSP through the final read/output path and make the BVT assert six digits.
P2 — Remove unrelated and nondeterministic result churn
The unrelated floating-point changes at lines 553/567 and regenerated publication timestamps remain. Lines 1674 and 1696 also retain trailing whitespace, so git diff --check 41332062...HEAD still fails. Please revert this noise and keep the regression deterministic and scoped.
The PR body itself also notes these items are still outstanding; a green CI run currently accepts the incorrect golden output rather than proving the intended contract.
1, FSP 6显示为9位数字 是Connector/J的问题. mo-tester 使用了Connector/J. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep re-reviewed exact head 10971abb4acaa7560211efb4fa702aad3ad39a12: no blocking findings.
I am withdrawing the previous FSP display blocker. The nine-digit value in this BVT is the established Connector/J ResultSet.getString() representation (microseconds expanded into Java nanoseconds), not evidence that MatrixOne changed the declared or protocol precision. The final code preserves DATETIME(6) through parser formatting and CTAS re-binding, and the regression records DATETIME(6) / nullable YES. The latest commits also reverted the unrelated floating-point/timestamp churn and git diff --check is clean.
Fresh local evidence on this head: all three added CTAS focused planner tests pass, the parser round-trip test passes, and go build plus go vet pass for pkg/sql/parsers/tree, pkg/sql/parsers/dialect/mysql, and pkg/sql/plan. Latest reported CI is green and the PR remains MERGEABLE.
Non-blocking: please update the final paragraph of the PR description, which still says the now-resolved parser/nullability/display/result-file items are outstanding.
Merge Queue Status
This pull request spent 1 hour 32 minutes 50 seconds in the queue, including 39 minutes 27 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
issue #25524
What this PR does / why we need it:
当前仍需处理 parser round-trip 测试期望、CTAS nullable/display 与 MySQL 的差异,以及 result 中无关时间戳和尾随空白。