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

Debezium Mysql connector can't handle CREATE INDEX IF NOT EXISTS (MariaDB)

XMLWordPrintable

      The MySQL connector crashes on CREATE INDEX IF NOT EXISTS which is not that surprising because this syntax is exclusive to MariaDB.

      Caused by: io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'create index IF NOT EXISTS IDX_DT_LAST_UPDATE on patient(DT_LAST_UPDATE)'
      no viable alternative at input 'create index IF' 

      I understand that MariaDB's support is not official and am not expecting it to be a priority, this is meant to at least log the issue

      I leave the full error log, I'm available in cas you have any questions

            Unassigned Unassigned
            cyprien.etienne Cyprien ETIENNE (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: