Hi Debezium Team,
I've recently updated my Debezium Oracle Source Connector (LogMiner) from version 3.4.0.Final to 3.4.1.Final and encountered a SQL syntax error that seems to be a regression.
The connector fails to start with the following error: io.debezium.DebeziumException: Redo thread 1 is inconsistent; ORA-00933: SQL command not properly ended
Analysis: Looking at the logs, the generated SQL has a missing space between DS.DEST_ID and the AND operator: ... WHERE A.DEST_ID = DS.DEST_IDAND DS.DEST_NAME = 'LOG_ARCHIVE_DEST_1' ...
It appears that the class io.debezium.connector.oracle.logminer.LogFileCollector, specifically in the getAllRedoThreadArchiveLogs method, is concatenating the strings incorrectly when the property log.mining.archive.destination.name is provided.
Environment:
Debezium Version: 3.4.1.Final
Connector: Oracle Source (LogMiner)
Oracle Version: 19c
Configuration: log.mining.archive.destination.name is set to 'LOG_ARCHIVE_DEST_1'
Relevant Stack trace snippet:
It appears this behavior started after the update, as I hadn't encountered it in version 3.4.0.Final. Do you think this could be a regression, or is there something I should adjust in my configuration for 3.4.1?
Best regards, Renan Rocha
--
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/c3f79e81-a19d-49bd-8bef-e74d789ddf57n%40googlegroups.com.