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

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

Asked May 27 Modified Jan 1, 0001
Viewed 26
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
1 Answers

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

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

edited Jan 1, 1970
阿渊@SelectDB6795
answered Jun 6
Related Questions
insert overwrite table 写入iceberg表报错
1 answers
期望Doris支持Apache Ozone对象存储ofs协议
1 answers
doris 3.0.4存算一体执行语句卡死并且kill失败
1 answers
Doris 连接 Paimon 查询的时候报错ArrayIndexOutOfBoundsException
1 answers
FundationDB 问题 导致 FE 服务无法运行 及后续运维操作问题
1 answers
Doris3.0.4使用paimon catalog连接带ssl证书的s3报错
2 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.