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

Signal based incremental snapshot is failing if database name contains dash

    XMLWordPrintable

Details

    Description

      Getting an error writing a watermark when running signal based incremental snapshot against a database that contains dash in its name:

      java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-test_j4mf9z.debezium_signal VALUES ('94e4759b-8c60-4db7-b6ee-93cf0020cc2e-open'' at line 1 at ...
      io.debezium.jdbc.JdbcConnection.prepareUpdate(JdbcConnection.java:774) at io.debezium.pipeline.source.snapshot.incremental.SignalBasedIncrementalSnapshotChangeEventSource.emitWindowOpen(SignalBasedIncrementalSnapshotChangeEventSource.java:56) at io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotChangeEventSource.readChunk(AbstractIncrementalSnapshotChangeEventSource.java:245) ... 21 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgalieva Kate Galieva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: