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

insert into values字段超过长度限制,截取不报错 doris-2.1.6-rc04-653e315ba5

Asked Oct 12, 2024 Modified Jan 1, 0001
Viewed 74
2.1

lQLPKGMtq9HTLZPNAgPNB4Kw9t6TILUBurkG8VKLyXmtAA_1922_515.png
efa89c3c263a98a1b8c72694a23bacd5.png
539df08d98eb889a427b4bcdbd26c56c.png

edited Jan 1, 0001
SonKi3
asked Oct 12, 2024
2 Answers

可以调大字段varchar长度,参考如下:

ALTER TABLE example_db.my_table 
MODIFY COLUMN val1 VARCHAR(64) REPLACE DEFAULT "abc";
edited Jan 1, 1970
张彬华7698
answered Oct 15, 2024

这是一个历史的行为设计。暂时没有变动的计划

edited Oct 12, 2024
黄海军@SelectDB5218
answered Oct 12, 2024
Related Questions
streamloaderd成功执行,但是没有导入数据到表里。
1 answers
doris2.1.11重复建表报错内容异常,不会提示表已经存在
1 answers
AUTO LIST PARTITION 分区名长度为何限制 50?能否配置放宽/取消?
我们通过hive catalog外表同步数据,有时候hive表会很大导致内存占满了会杀掉其他任务,限制内存又会导致同步任务失败,有什么方法可以稳定一下呢,同步效率慢一点什么的也没问题
1 answers
doris be启动报错
2 answers
Doris的json解析问题
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 中文技术论坛.