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

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

Asked Mar 14, 2024 Modified May 27, 2024
Viewed 139
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 (没回帖直接加我主页微信)10510
answered Mar 14, 2024

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
doris-2.1.5版本 MemTracker 未授权访问漏洞
1 answers
doris每日崩溃重启
1 answers
doris集群迁移,doris2.1.6迁移到doris4.1.3,CCR哪个版本能支持?
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 中文技术论坛.