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
[Compatibility]: CONVERT_TZ returns VARCHAR and discards fractional seconds #28564
Activity
jiangxinmeng1 commentedon Oct 22, 2026
已在
main提交c232b6d2a1b5a94ac624c4954586569841c1e153复核。合并的 #28932 已将CONVERT_TZ返回类型改为随输入精度变化的DATETIME,执行结果保留微秒;远程TestTimestampTemporalResultPaths、TestTemporalDatetimeResultBranches通过。请 @Ariznawlll 按本 issue 的视图元数据、分组和排序 SQL 复核,若仍有差异请补充具体结果。
Ariznawlll commentedon Oct 22, 2026
测试版本
cca94b810ce87a38d1af16d7b418ea727eeda81c(包含已合入修复 fix remaining date/time compatibility issues #28932 的 merge commit)原问题验证
两行
DATETIME(6)经CONVERT_TZ得到.123456/.654321;DISTINCT=2,降序 id 为 2、1;视图和 CTAS 均为 DATETIME(CTAS 精度 6)。 独立启动环境重复 3/3 轮通过,未用开发者自测代替 QA。Happy Path 覆盖
.123456,生成列存储值2024-01-01 05:30:00.123456。Unhappy Path 覆盖
白盒验证
本轮未单独跑 Go UT / race;本问题为确定性 SQL 值或类型路径,以真实协议黑盒及 SQL 回归验收。完整 MatrixOne suite 未执行。
回归测试
--repeat 3通过。PR 当前仍 Open,尚未声称已合并或 CI 全绿。测试证据
上述 PR 的成对 t/r、实际 main SHA,以及本地
go test ./pkg/tests/issues -run '^TestQATemporalScreenshot20261022$' -count=3与 MOTR 定向--repeat 3均通过;黑盒临时测试仅用于本次独立验收,未作为持久产品代码提交。测试结论
测试通过。