[ORACLE] DDL parsing failed

42 views
Skip to first unread message

Per Dahlén

unread,
Jun 23, 2025, 7:53:26 AMJun 23
to debezium
Our production connector failed due to the following error:

org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped.\n\tat io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:67)\n\tat io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:264)\n\tat io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:62)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:324)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.executeChangeEventSources(ChangeEventSourceCoordinator.java:203)\n\tat io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:143)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:840)\nCaused by: io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'drop table STTRANS240302 cascade constraint AS \"BIN$ODxFbg8pH9TgYwo6AVpSRg==$0\" ;'\nmismatched input 'constraint' expecting 'CONSTRAINTS'\n\tat io.debezium.antlr.ParsingErrorListener.syntaxError(ParsingErrorListener.java:43)\n\tat org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)\n\tat org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:543)\n\tat org.antlr.v4.runtime.DefaultErrorStrategy.reportInputMismatch(DefaultErrorStrategy.java:327)\n\tat org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:139)\n\tat io.debezium.ddl.parser.oracle.generated.PlSqlParser.drop_table(PlSqlParser.java)\n\tat io.debezium.ddl.parser.oracle.generated.PlSqlParser.unit_statement(PlSqlParser.java:2803)\n\tat io.debezium.ddl.parser.oracle.generated.PlSqlParser.sql_script(PlSqlParser.java:2140)\n\tat io.debezium.connector.oracle.antlr.OracleDdlParser.parseTree(OracleDdlParser.java:74)\n\tat io.debezium.connector.oracle.antlr.OracleDdlParser.parseTree(OracleDdlParser.java:32)\n\tat io.debezium.antlr.AntlrDdlParser.parse(AntlrDdlParser.java:76)\n\tat io.debezium.connector.oracle.antlr.OracleDdlParser.parse(OracleDdlParser.java:69)\n\tat io.debezium.connector.oracle.OracleSchemaChangeEventEmitter.emitSchemaChangeEvent(OracleSchemaChangeEventEmitter.java:104)\n\tat io.debezium.pipeline.EventDispatcher.dispatchSchemaChangeEvent(EventDispatcher.java:402)\n\tat io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor.handleSchemaChange(AbstractLogMinerEventProcessor.java:950)\n\tat io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor.processRow(AbstractLogMinerEventProcessor.java:504)\n\tat io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor.processResults(AbstractLogMinerEventProcessor.java:442)\n\tat io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor.process(AbstractLogMinerEventProcessor.java:290)\n\tat io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:243)\n\t... 9 more\nCaused by: org.antlr.v4.runtime.InputMismatchException\n\tat org.antlr.v4.runtime.DefaultErrorStrategy.recoverInline(DefaultErrorStrategy.java:483)\n\tat org.antlr.v4.runtime.Parser.match(Parser.java:207)\n\t... 23 more\n

Per Dahlén

unread,
Jun 23, 2025, 7:54:46 AMJun 23
to debezium
Oracle Debezium version 3.1.1.Final

Chris Cranford

unread,
Jun 23, 2025, 8:41:47 AMJun 23
to debe...@googlegroups.com
Hi -

One question, what is the source database version?

Thanks,
-cc
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/1bf7b6bc-4bff-49d3-a773-c593c7215f99n%40googlegroups.com.

Per Dahlén

unread,
Jun 23, 2025, 9:24:29 AMJun 23
to debezium

SELECT version FROM PRODUCT_COMPONENT_VERSION

WHERE product LIKE 'Oracle Database%';


19.0.0.0.0


//Per Dahlén

Chris Cranford

unread,
Jun 23, 2025, 9:40:29 AMJun 23
to debe...@googlegroups.com
Thanks, can you open a Jira and we'll get it fixed.

Thanks,
-cc

Per Dahlén

unread,
Jun 23, 2025, 9:54:44 AMJun 23
to debezium

Per Dahlén

unread,
Jun 23, 2025, 9:55:56 AMJun 23
to debezium
We are running 2.6.2.Final in parallel and have the same problem there.

Nathan Smit

unread,
Jun 23, 2025, 10:00:28 AMJun 23
to debezium
Do you need to get past this error currently?

@chris I assume they could set schema.history.internal.skip.unparseable.ddl=true to get past the error if they don't need this DDL in the interim and then switch back?

Per Dahlén

unread,
Jun 23, 2025, 10:07:43 AMJun 23
to debezium
I will try that. We really need to get past the error and that table is of no interest to us.

Per Dahlén

unread,
Jun 23, 2025, 10:27:24 AMJun 23
to debezium
We got past the error by changing the config according to your instruction.

Thanks,

Per Dahlén

Reply all
Reply to author
Forward
0 new messages