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

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

Asked Oct 16 Modified Jan 1, 0001
Viewed 32
2.1 ingestion

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

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

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

edited Oct 27
阿渊@SelectDB (没回帖直接加我主页微信)8885
answered Oct 27
Related Questions
doris2.1.7 truncate table xxx 及 create table 报错,faied to find enugh backend
1 answers
flinksql写Doris标记删除时'sink.enable-delete' = 'false'的含义
1 answers
doris无法对包含.的文本进行分词
1 answers
2.1.0 BE OOM,内存分析求助
1 answers
doris be节点会不定期在凌晨02:00 崩溃
1 answers
经常出现查询超时问题 P99 查询延迟特别高
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 中文技术论坛.