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
{{ message }}
Repository navigation
[Bug]: compact TIME string comparison differs from MySQL #25229
This is a MySQL compatibility issue for compact TIME-looking strings in temporal comparison predicates. MatrixOne currently treats these compact strings as matching the TIME value, while MySQL does not in these predicate expressions.
Duplicate check before filing/after filing: searched existing open and closed issues with keywords 030405.123456, compact TIME, time comparison MySQL, and temporal comparison MySQL. No duplicate issue found; the only exact hits were this issue itself.
Activity
Ariznawlll commentedon Jun 29, 2026
Duplicate check before filing/after filing: searched existing open and closed issues with keywords
030405.123456,compact TIME,time comparison MySQL, andtemporal comparison MySQL. No duplicate issue found; the only exact hits were this issue itself.add mysql compatibility type conversion and comparison bvt cases (#25219
fix temporal (#25730)
fix temporal part 2 (#25899)
daviszhen commentedon Jul 30, 2026
fixed
Ariznawlll commentedon Jul 30, 2026
测试版本
main(截至 2026-07-30 16:30,Asia/Shanghai)41332062a6740978f269088a92ee362a888c7bd7etc/launch-with-proxy/launch.toml(2 CN + 1 TN + Proxy),SQL 入口127.0.0.1:6001原问题验证
TIME(6) '03:04:05.123456'与 compact string'030405.123456'的等值和 BETWEEN 均返回 0;完整黑盒 3/3 通过。Happy Path 覆盖
Unhappy Path 覆盖
白盒验证
TIME string comparison、BETWEEN、IN 和 parameter binder 定向测试通过。
回归测试
修复提交
5c3243d2f已加入mysql_compat_time_string_compare.test及 binder/function UT。测试证据
完整 3 轮 SQL 结果、测试脚本、Proxy 黑盒日志、定向 UT 与
-race输出:https://gist.github.com/Ariznawlll/b8f1a22642a58fd5264482687534728b测试结论
测试通过。
Ariznawlll commentedon Jul 30, 2026
motr 黑盒回归已补充
suites/14_issue_regression/t/issue_25229_time_compact_string_compare.testmain@41332062a6740978f269088a92ee362a888c7bd7,该批 14 个用例连续 3 轮为 42/42 成功(504/504 语句);完整14_issue_regressionsuite 为 124 成功、0 失败。add mysql compatibility type conversion and comparison bvt cases (mat…
fix temporal (matrixorigin#25730)
fix temporal part 2 (matrixorigin#25899)
add mysql compatibility type conversion and comparison bvt cases (mat…
fix temporal (matrixorigin#25730)
fix temporal part 2 (matrixorigin#25899)
add mysql compatibility type conversion and comparison bvt cases (mat…
fix temporal (matrixorigin#25730)
fix temporal part 2 (matrixorigin#25899)