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

3.0.4 routine load导入数据时kafka数据为true/false 数据库表字段为tinyint 会导致kafka数据的true/false无法解析为1/0 数据库字段为null

Asked May 27, 2025 Modified Jan 1, 0001
Viewed 34
3.0

3.0.4 routine load导入数据时kafka数据为true/false 数据库表字段为tinyint 会导致kafka数据的true/false无法解析为1/0 数据库字段为null

insert into和routine load都测试过 insert into可以识别true/false

edited Jan 1, 0001
Harvey3
asked May 27, 2025
1 Answers

这种方式试下:
指定 column ,利用表达式转换下,转成 BOOLEAN 这样

"columns:phid,tmp,ocode=cast(tmp as BOOLEAN)"

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)10380
answered Jun 6, 2025
Related Questions
Doris-3.0.5 一个be 节点12磁盘设备中一个坏盘,影响表的读写数据
3.0.8版本be节点从3个升级到5个,业务高峰期读延迟大
1 answers
doris3.0.8 3台中一台be节点偶发性宕机
2 answers
关于数值类型decimalv3兼容性问题
2 answers
ccr任务job_progress接口-子任务的binlog_type字段都有哪些枚举值
1 answers
ccr数据同步成功了,但是执行get_lag的last_binlog_timestamp和first_binlog_timestamp为什么都是1970-01-01 08:00:00,我该怎么查看上次同步时间呢
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 中文技术论坛.