You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createdatabaseseq_identifier_escape;
use seq_identifier_escape;
createsequence `s``q` increment by 2 start with 7 no cycle;
show create table `s``q`;
select nextval('s`q');
select setval('s`q',21,true);
The production fix for the reported sequence-name quoting failure is already present in main through merged PR #28345 (sequenceTableName doubles embedded backticks, and all sequence metadata SELECT/UPDATE paths use it). The existing helper unit test also asserts the encoded form.
I added PR #28780 as a test-only follow-up: #28780. Its distributed BVT creates a sequence whose legal decoded name contains a backtick, then verifies public NEXTVAL and SETVAL return 7, 21, and 23. No production code changes are included.
Scope clarification: current frontend validation rejects backticks in database names, and the extra database arguments are internal to view expansion rather than public SQL. Those are not valid user-facing test cases; database-component quoting remains covered by the helper-level unit test.
Validation: GPT-6 Astra medium final source review passed; formatting/diff and staged SQL/result alignment checks passed. Local distributed BVT was not run because unrelated MatrixOne services are active. At the initial PR status, CI preflight passed, but Matrixone CI execution and UT Coverage execution were skipped; therefore the new BVT has not yet been verified on the submitted head. Please keep this issue open until the exact-head BVT result is available.
Activity
XuPeng-SH commentedon Sep 12, 2026
The production fix for the reported sequence-name quoting failure is already present in
mainthrough merged PR #28345 (sequenceTableNamedoubles embedded backticks, and all sequence metadata SELECT/UPDATE paths use it). The existing helper unit test also asserts the encoded form.I added PR #28780 as a test-only follow-up: #28780. Its distributed BVT creates a sequence whose legal decoded name contains a backtick, then verifies public
NEXTVALandSETVALreturn 7, 21, and 23. No production code changes are included.Scope clarification: current frontend validation rejects backticks in database names, and the extra database arguments are internal to view expansion rather than public SQL. Those are not valid user-facing test cases; database-component quoting remains covered by the helper-level unit test.
Validation: GPT-6 Astra medium final source review passed; formatting/diff and staged SQL/result alignment checks passed. Local distributed BVT was not run because unrelated MatrixOne services are active. At the initial PR status, CI preflight passed, but Matrixone CI execution and UT Coverage execution were skipped; therefore the new BVT has not yet been verified on the submitted head. Please keep this issue open until the exact-head BVT result is available.
test(sequence): cover quoted sequence identifiers (#28780)
Ariznawlll commentedon Sep 14, 2026
测试版本
原问题验证
Happy Path 覆盖
Unhappy Path 覆盖
白盒验证
回归测试
./motr --repeat 3 14_issue_regression.issue_28187_28772_latest_main连续 3/3 通过(213/213 statements matched)。测试证据
测试结论
测试通过。
test(sequence): cover quoted sequence identifiers (matrixorigin#28780)
test(sequence): cover quoted sequence identifiers (matrixorigin#28780)
test(sequence): cover quoted sequence identifiers (matrixorigin#28780)