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 (没回帖直接加我主页微信)10380
answered Mar 14, 2024

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
doris集群迁移,doris2.1.6迁移到doris4.1.3,CCR哪个版本能支持?
1 answers
调用Doris数据时报数据块损坏,根据官网解决方案排查,所有节点分片均正常,调用时还是会报错,doris版本为2.1.7
2 answers
doris2.0.7集群迁移到新搭建的doris2.1.11集群
1 answers
Alter routine load后参数变动
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 中文技术论坛.