-
Bug
-
Resolution: Done
-
Major
-
0.9.2.Final
-
None
We upgraded debezium version for our mysql connectors from 0.7.5 to 0.9.2.Final.
The following event streamed from MySQL binlog to 0.9.2.Final connector:
alter table kazaam.__osc_new_performance_by_affcode STATS_AUTO_RECALC=DEFAULT STATS_SAMPLE_PAGES=DEFAULT
And got the following error:
[2019-03-18 13:45:57,054] ERROR WorkerSourceTask{id=connector-ks5066-0} Task threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask:177) org.apache.kafka.connect.errors.ConnectException: mismatched input 'STATS_SAMPLE_PAGES' expecting {<EOF>, '--'} at io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:230) at io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:208) at io.debezium.connector.mysql.BinlogReader.handleEvent(BinlogReader.java:477) at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:1095) at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:943) at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:580) at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:825) at java.lang.Thread.run(Thread.java:748) Caused by: io.debezium.text.ParsingException: mismatched input 'STATS_SAMPLE_PAGES' expecting {<EOF>, '--'} at io.debezium.antlr.ParsingErrorListener.syntaxError(ParsingErrorListener.java:40) at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41) at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544) at org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:299) at org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:124) at io.debezium.ddl.parser.mysql.generated.MySqlParser.root(MySqlParser.java:829) at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:71) at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:44) at io.debezium.antlr.AntlrDdlParser.parse(AntlrDdlParser.java:80) at io.debezium.connector.mysql.MySqlSchema.applyDdl(MySqlSchema.java:304) at io.debezium.connector.mysql.BinlogReader.handleQueryEvent(BinlogReader.java:663) at io.debezium.connector.mysql.BinlogReader.handleEvent(BinlogReader.java:461) ... 5 more Caused by: org.antlr.v4.runtime.InputMismatchException at org.antlr.v4.runtime.DefaultErrorStrategy.sync(DefaultErrorStrategy.java:242) at io.debezium.ddl.parser.mysql.generated.MySqlParser.root(MySqlParser.java:814) ... 11 more