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

int类型写入数据超过范围不报错

Asked Oct 16, 2025 Modified Jan 1, 0001
Viewed 37
2.1 ingestion

在 严格模式 下,如果列是int类型,但是写入的数据范围超过int
用stream load 写入值会变成 null; insert-sql,则会变成溢出值
有办法直接报错嘛?
c585bb40-3429-4621-8e44-fb65bff51181.jpeg

edited Jan 1, 0001
蜂蜜烤鸡翅17
asked Oct 16, 2025
1 Answers

目前行为:stream load会报错,insert会截断,目前是符合预期的,可以调整表字段类型为 string

edited Oct 27, 2025
阿渊@SelectDB (没回帖直接加我主页微信)9580
answered Oct 27, 2025
Related Questions
Doris 2.1.4版本,be节点崩溃重启后集群恢复很慢问题
1 answers
Doris2.1.4 be节点宕机,jemalloc相关问题
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
Doris CBO 导致的BE节点内存规律性波动问题
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers
能使用ROUTINE LOAD将kafka数据批量同步到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 中文技术论坛.