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

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

Asked Oct 16, 2025 Modified Jan 1, 0001
Viewed 35
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 (没回帖直接加我主页微信)9390
answered Oct 27, 2025
Related Questions
BE出现get_tablet返回空指针导致coredump
doris主键表可以bucket配置太小,怎么修改?
1 answers
2.1.7 版本routine load 写入问题
1 answers
多张表使用colocate join,如何设计?
1 answers
doris2.1.11使用外部目录,用catalog的数据创建异步视图,没有数据,需要强制手动刷新才行
1 answers
SET PROPERTY FOR 'user' 'exec_mem_limit' = '147483648'不起作用。
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 中文技术论坛.