- I have searched the issues of this repository and believe that this is not a duplicate.
- I have checked the FAQ of this repository and believe that this is not a duplicate.
environment
- 1.3.1
- 5.7
Issue Description
Steps to reproduce
Expected behaviour
这个错误一段时间后会出现,字段和类型对应出错
Actual behaviour
If there is an exception, please attach the exception trace:
2019-06-09 16:12:15.776 [pool-4-thread-1] INFO c.a.otter.canal.client.adapter.rdb.support.BatchExecutor - 当前的类型为:12=====>当前的数据为:1810265
2019-06-09 16:12:15.795 [pool-10-thread-1] ERROR c.a.o.canal.adapter.launcher.loader.CanalAdapterWorker - java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "张红"
java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "张红"
1810265 的字段类型应该是4 int类型但是这边会对应成 12 ,张红就是varchar,但是应该对应成了int
Just put your stack trace here!
5条答案
按热度按时间prdp8dxp1#
server端传递给client端的数据字段和数据不对应
xqk2d5yq2#
源和目标的表结构不一致?对应的测试表结构也发一下吧
gstyhher3#
同出现这个问题,server端传递给client端的数据字段和数据不对应,RowData里一个字段设置成另一个字段的值了。。
nzk0hqpo4#
同样的问题,有解决方案了吗
lp0sw83n5#
同样的问题mark