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

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

Asked Mar 14, 2024 Modified May 27, 2024
Viewed 93
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
阿渊@SelectDB8150
answered Mar 14, 2024

之前是变量也能使用

edited Jan 1, 1970
Jasonf21
answered Mar 14, 2024
Related Questions
Doris2.0物化视图使用疑问
1 answers
doris创建oralce的catalog查询表执行正常,查询oracle的同义词,查询的时候 提示表不存在
1 answers
元数据文件恢复
1 answers
doris写入数据失败
1 answers
jdbc插入能获取到自增列吗?
1 answers
V2.0.3 版本,集群环境。BE 挂了一个节点,配置了自动拉起,启动失败。麻烦大佬们帮忙看看
2 answers

Terms of service Privacy policy

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