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

date_floor与date_ceil不能使用,提示找不到函数,不是预期的函数名

Asked Jun 26, 2024 Modified Jan 1, 0001
Viewed 51
2.1

image.png

select date_ceil("2023-07-13 22:28:18",interval 5 second);
select date_ceil("2023-07-13 22:28:18",interval 5 minute);
select date_floor("0001-01-01 00:00:16",interval 5 second);
select date_floor("0001-01-01 00:00:18",interval 5 second);
edited Jan 1, 0001
abjfh17
asked Jun 26, 2024
1 Answers

你的2.1具体是哪个版本呢?你上面给的例子,我在2.1.3可以使用的
2.0版本已经修复了,pr https://github.com/apache/doris/pull/36867

edited Jun 26, 2024
徐振超@SelectDB(可以直接加微信Faith_xzc)8241
answered Jun 26, 2024
Related Questions
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
Doris CBO 导致的BE节点内存规律性波动问题
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers
jdbc catalog 地址修改有残留
1 answers
能使用ROUTINE LOAD将kafka数据批量同步到doris中吗
1 answers
doris 2.1 stream load 使用group commit 有2个报错
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 中文技术论坛.