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

【已解决】Doris 2.0.5,窗口函数 LEAD() 方法不支持变量

Asked Mar 14, 2024 Modified May 27, 2024
Viewed 89
2.0

image.png

edited May 27, 2024
Jasonf21
asked Mar 14, 2024
2 Answers

LEAD() 方法,参数 2 和参数 3 应该使用常量,相同 SQL 我在 2.0.5 测试变量也是行不通的

image.png

edited May 27, 2024
阿渊@SelectDB7690
answered Mar 14, 2024

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
V2.0.3 版本,集群环境。BE 挂了一个节点,配置了自动拉起,启动失败。麻烦大佬们帮忙看看
2 answers
Doris 2.0.15 使用 insert into 插入1kw数据到一张空表上,之后想执行full compaction压缩,但是报错
1 answers
Date与DatatimeV2
3 answers
doris多次查询结果不一致。
1 answers
BDBJE Write latency
3 answers
doris-2.0.15.1存在BE的cpu居高不下
1 answers

Terms of service Privacy policy

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