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

MariaDB: Unparseable DDL statement (ALTER TABLE IF EXISTS)

XMLWordPrintable

    • False
    • None
    • False

      Bug report

      Ignoring unparseable DDL statement 'ALTER TABLE IF EXISTS table_name ADD COLUMN IF NOT EXISTS column_name text DEFAULT 'default'' (io.debezium.connector.mysql.MySqlDatabaseSchema:217)
      io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'ALTER TABLE IF EXISTS table_name ADD COLUMN IF NOT EXISTS column_name text DEFAULT 'default''
      mismatched input 'EXISTS' expecting {<EOF>, '-'} 

      What Debezium connector do you use and what version?

      Debezium connector for MySQL 2.3.0.Final.

      What is the connector configuration?

      N/A

      What is the captured database version and mode of depoyment?

      Amazon RDS for MariaDB 10.5

      What behaviour do you expect?

      The ALTER TABLE statement should be parsed correctly.

      What behaviour do you see?

      io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'ALTER TABLE IF EXISTS table_name ADD COLUMN IF NOT EXISTS column_name text DEFAULT 'default''

      Do you see the same behaviour using the latest released Debezium version?

      Yes.

            Unassigned Unassigned
            jochen-redhat Jochen Schalanda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: