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

请问我使用窗口函数LEAD()获取时间列的时候,为什么返回的是int类型呢?

Asked Jan 21, 2025 Modified Feb 7, 2025
Viewed 64
2.1 data-type

47a9b6f1d6c45845b0739c0f4e28962.png
6ec53e741fa98c733c0896605d5888b.png
我使用窗口函数LEAD()获取时间列下一条数据时,返回的值为什么是int类型呢?

edited Feb 7, 2025
数据小趴菜3
asked Jan 21, 2025
1 Answers

可能是这段over逻辑结果为int值,具体case demo可以参考:WINDOW FUNCTION LEAD

edited Jan 1, 1970
张彬华7698
answered Jan 22, 2025
Related Questions
1900w数据量执行时内存激增到8g
1 answers
permission denied问题
1 answers
集群规划问题
1 answers
doris2.0.7集群迁移到新搭建的doris2.1.11集群
1 answers
2.1.11版本,新优化器,执行计划隐式类型转换丢失精度,导致数据不一致
1 answers
doris 2.x 同步到哪个版本的doris 最稳定
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 中文技术论坛.