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

Unparsable DDL statements (MySQL/MariaDB)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.CR1
    • None
    • mysql-connector
    • None
    • False
    • None
    • False

      Bug report

      There are some DDL statements which can be processed by MariaDB (10.5+) but are not covered by the MySQL grammar used in Debezium.

      I already fixed the same issues in the upstream project and would like to bring the fixes into the copy used in Debezium (debezium-ddl-parser) as well.

      What Debezium connector do you use and what version?

      Debezium Connector for MySQL 1.9.x, 2.1.3.Final, also tested with latest `main` branch of Debezium.

      What is the connector configuration?

      N/A

      What is the captured database version and mode of deployment?

      RDS for MariaDB 10.5.17

      What behaviour do you expect?

      The listed DDL statements should be parsed correctly using the Antlr grammar for MySQL (and MariaDB).

      What behaviour do you see?

       

      io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement [...] 

       

       

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

      Tested on latest `main` branch.

      Do you have the connector logs, ideally from start till finish?

      N/A

      How to reproduce the issue using our tutorial deployment?

      N/A

            Unassigned Unassigned
            jochen-redhat Jochen Schalanda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: