Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2203

Database name should not be converted to lower case if tablenameCaseInsensitive=True in Oracle Connector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.6.0.Beta1
    • 1.1.2.Final
    • oracle-connector
    • None

    Description

      If `database.tablename.case.insensitive` is set to true in configuration, the source database name is also converted to lower case in method `getTableId`:

      https://github.com/debezium/debezium-incubator/blob/5771795222b1bb7cae73059d8f78a8499d20a4d0/debezium-connector-oracle/src/main/java/io/debezium/connector/oracle/LcrEventHandler.java#L125

      This will lead to an exception "No metadata registered for captured table" when processing streaming LCR, because the source database name stored in registered schema is NOT converted. 

      Attachments

        Issue Links

          Activity

            People

              ccranfor@redhat.com Chris Cranford
              renqingsheng Qingsheng Ren (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: