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

JDBC Schema History: When the table name is passed as dbName.tableName, the connector does not start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0.Alpha2
    • None
    • core-library
    • None

      In JdbcSchemaHistory.java, the function storageExists() will return false, if the  
      schema.history.internal.jdbc.schema.history.table.name is passed databasename.tablename.
       
      Maybe we should add logic to split the database and table and just pass the tablename here.

      
      DatabaseMetaData dbMeta = conn.getMetaData();
      ResultSet tableExists = dbMeta.getTables(null, null, config.getTableName(), null); 

              Unassigned Unassigned
              subkanthi Kanthi Subramanian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: