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 42
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 (没回帖直接加我主页微信)10510
answered Jun 6, 2025
Related Questions
Doris3.1.4并发查询速度变慢
1 answers
doris 3.0.0数据库,be和fe服务器异常关机,有分区导致通多个tabletid3副本变成version_error
1 answers
INSERT OVERWRITE可以使用JOB创建定时任务吗
1 answers
Doris CASE WHEN 嵌套 IF 查询精度丢失情况
1 answers
无法访问es的catalog, 感觉功能上有瑕疵
2 answers
【严重故障】doris create table 卡住,死锁,重启fe节点才能恢复服务
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 中文技术论坛.