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

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

Asked Mar 14, 2024 Modified May 27, 2024
Viewed 105
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
阿渊@SelectDB (没回帖直接加我主页微信)8885
answered Mar 14, 2024

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
1.2.8升级2.0.0 报错
Doris修改表分区
1 answers
doris数据存储是放在服务器磁盘上还是oss上面好?
1 answers
如何降低doris远程存储的访问频率
1 answers
3个并发任务写入同一张表,报错 get tableList write lock timeout
1 answers
Doris v2.0.10 Tablet 副本修复失败
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 中文技术论坛.