DataX Datax从MySQL到OceanBases,bit类型导入失败

gzszwxb4  于 2021-12-06  发布在  Java
关注(0)|答案(1)|浏览(433)

{"byteSize":1,"rawData":true,"type":"BOOL"}],"size":14}
2021-11-11 11:18:14.284 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] taskId[1] is successed, used[503]ms
2021-11-11 11:18:15.282 [1-insertTask-34] INFO InsertTask - do one insert
2021-11-11 11:18:15.313 [1-insertTask-34] ERROR StdoutPluginCollector -
com.alipay.oceanbase.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'processed' at row 1

手动插入是可以的
insert into test(id,datachange_lasttime,processed)values(1,now(),true);
Query OK, 1 row affected (0.024 sec)

OS:Centos7
MySQL:5.7
OceanBase:v3.1.1_CE_BP1
DataX:DATAX-OPENSOURCE-3.0

相关问题