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

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

Asked Jan 21 Modified Feb 7
Viewed 42
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
张彬华7688
answered Jan 22
Related Questions
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
关于catalog_paimon环境下如何启用paimonNativeReadSplits?
1 answers
不同doris集群如何同步数据?
1 answers
bitmap类型设置默认值后,数据导入报错can not cast from origin type bitmap to target type=varchar(65533)
1 answers
doris2.1.8,相同的sql,不同账期但数据量差异,大小表join,有时候会自动join reorder导致OOM
1 answers

Terms of service Privacy policy

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