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

当前不支持分析函数(窗口函数)中的 RANGE...BETWEEN ....

Asked Mar 26, 2025 Modified Jan 1, 0001
Viewed 103
2.1

当前Doris版本: 2.1.8

当前Doris 窗口函数只支持ROWS .... BETWEEN .... ,

从Hive 以及 Clickhouse 迁移 SQL 逻辑的时候,需要用到 RANGE... BETWEEN ... ,
但是当前的Doris 版本还不支持,只支持ROWS BETWEEN 希望增加这个函数功能点.

参考实现
14.20.3 MySQL Window Function Frame Specification

Apache Hive Windowing and Analytics Functions

Clickhouse Standard Window Functions

edited Jan 1, 0001
CYOSEI35
asked Mar 26, 2025
2 Answers

GitHub 上也有其他人反馈过这个需求,但是没有得到重视:

https://github.com/apache/doris/discussions/44670

edited Jan 1, 1970
CYOSEI35
answered Mar 26, 2025

需求已记录,有进展会更新回帖。

edited Jan 1, 1970
黄海军@SelectDB5218
answered Mar 26, 2025
Related Questions
Doris 2.1.4版本,be节点崩溃重启后集群恢复很慢问题
1 answers
Doris2.1.4 be节点宕机,jemalloc相关问题
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
Doris CBO 导致的BE节点内存规律性波动问题
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers
jdbc catalog 地址修改有残留
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 中文技术论坛.