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

Cannot parse NOT NULL COLLATE in DDL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.7.0
    • 0.6.2
    • mysql-connector
    • None

    Description

      MySQL connector fails on DDL changes when COLLATE comes after NOT NULL constraint.

      CREATE TABLE c1 (
        pk INT PRIMARY KEY, 
        v1 CHAR(36) NOT NULL COLLATE utf8_unicode_ci
      );
      

      I am going to send a merge request with a fix and a unit test that demonstrates the error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            medvekoma Attila Szucs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: