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 33
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 (没回帖直接加我主页微信)9350
answered Jun 6, 2025
Related Questions
doris2.1.5升级到doris3.0.8,升级后开启ranger,root执行SHOW PROC '/backends' 报没有admin权限
routine load只支持部分列更新,不支持灵活列更新,什么时候能支持?
1 answers
为什么采用AGGREGATE KEY引擎的REPLACE_IF_NOT_NULL,最后的查询巨慢?
1 answers
Spark Doris Connector 写入 doris 云服务器内网不可达
1 answers
the report queue size exceeds the limit: xxx
1 answers
be异常崩溃
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 中文技术论坛.