-
Bug
-
Resolution: Done
-
Major
-
0.6.2
-
None
Debezium snapshotting breaks if mysql database contains enum with string value that has escaped quotation marks in it. Like 'hel''lo'.
The exception is:
2017-11-21 09:11:08,671 ERROR MySQL|db123|binlog Failed due to error: Error processing binlog event [io.debezium.connector.mysql.BinlogReader]
org.apache.kafka.connect.errors.ConnectException: Expecting ')' at line 1, column 40 but found ''%$%'': =','<=','!=','LIKE ' ===>> '%$%''','LIKE ''$%''
All valid mysql escaping cases listed here:
https://dev.mysql.com/doc/refman/5.7/en/string-literals.html
- is related to
-
DBZ-481 Escape sequence handling needs to be unified
- Closed