3.0.4 routine load导入数据时kafka数据为true/false 数据库表字段为tinyint
会导致kafka数据的true/false无法解析为1/0 数据库字段为null
insert into
和routine load
都测试过 insert into可以识别true/false
3.0.4 routine load导入数据时kafka数据为true/false 数据库表字段为tinyint
会导致kafka数据的true/false无法解析为1/0 数据库字段为null
insert into
和routine load
都测试过 insert into可以识别true/false
这种方式试下:
指定 column ,利用表达式转换下,转成 BOOLEAN 这样
"columns:phid,tmp,ocode=cast(tmp as BOOLEAN)"