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

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

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

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
Doris的json解析问题
1 answers
Doris数据库建表超时
1 answers
datax同步数据到doris,任务间断性失败。
1 answers
求助:be频繁重启,目前推测由于arm内存管理,能否分析帮忙具体报错和提供解决措施?
1 answers
doris单表分区数量限制
1 answers
【求助】升级到2.1.8版本后,从S3导入数据变慢
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 中文技术论坛.