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

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

Asked Jan 21 Modified Feb 7
Viewed 39
2.1 data-type

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

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

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

edited Jan 1, 1970
张彬华7678
answered Jan 22
Related Questions
同样的sql语句在2.1.8可以,在2.1.10中报错,看不懂具体的错误原因
1 answers
with语句的bug
1 answers
v2.19 倒排索引支持按得分排序吗?
1 answers
Drop table 之后create table as select 数据缺少
1 answers
[doris-spark-connector] 主键模型数据重复
1 answers
doris 模糊查询字段值大小写匹配问题

Terms of service Privacy policy

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