Do mysql to kingbase8 today. After the migration is complete, the error is reported as follows
Caused by: com. kingbase8. util. KSQLException:错误: bit字符串的长度(2)与bit类型(1)不匹配.
Where: COPY nontax_ autoallot_ out, 行1,列ftype
at com.kingbase8.core.v3.QueryExecutorImpl.receiveErrorResponse(@ueryExecutorImpl.java:2678)
at com.kingbase8.core.v3.QueryExecutorImpl.processCopyResults(QueryExecutorImpl. java:1204)
at com.kingbase8.core. v3.QueryExecutorImpl.endCopy(QueryExecutorImpl.java:1043)
But I actually looked at the watch
Ask the technical staff later to know that in mysql to kingbase8, tinyint will be converted to bit format by default
At this time, a parameter needs to be added
Solved it.
The blogger’s newly launched gitee free open source project (mall + APP + applet + H5), interested friends can learn about it.
Aliyun server discount field: click me to enter
Tencent cloud server spike field: click me to enter
Taobao Coupon Special Session: ====Click me to enter====