Apache Doris 中文技术论坛
Questions Tags Users Badges

查表,TIMESTAMPDIFF结果是负数时,出错

Asked Aug 8, 2025 Modified Jan 1, 0001
Viewed 77
decoupled 3.0

存算分离doris从3.0.3升级到doris-3.0.6.2-rc01-910c4249c5 后 出现这个bug

不在表里查 是正常的
image.png

在表里查时,出错,本应该是负数,结果是长串数字
image.png

不过我后来将now()转化为时间字符串后,再TIMESTAMPDIFF,就正常了
image.png

edited Jan 1, 0001
郭明昊21
asked Aug 8, 2025
1 Answers

fix pr: https://github.com/apache/doris/pull/54967

edited Aug 19, 2025
黄海军@SelectDB5208
answered Aug 14, 2025
Related Questions
Doris 索引问题
1 answers
行列混存|parallel hint|UDF|Spark DataSourceV2读取Doris存储格式
1 answers
麻烦帮看下存算分离3.1.2版本,为什么首次查询某个表的某个partition会很慢,第二次就很快
1 answers
FileCache相关
1 answers
flink 1.17.2,doris-3.1.0主键模型灵活列更新导入失败
1 answers
doris manager 创建存算分离集群时,hdfs storage vault 怎么使用高可用连接而不是单一连接一个namenode
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.