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

MySqlDdlParser does not support adding multiple partitions in a single ALTER TABLE ... ADD PARTITION statement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 0.9.0.Final
    • None
    • mysql-connector
    • None

    Description

      Currently MySqlDdlParser does not support adding multiple partitions in a single ALTER TABLE ... ADD PARTITION statement. It restricts that only a single partition can be added. Given it is a valid mysql command, the parser should support this as well.

      For example:

      ALTER TABLE test ADD PARTITION (
      PARTITION p1 VALUES LESS THAN (10),
      PARTITION p2 VALUES LESS THAN MAXVALUE
      );

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgao54 Joy Gao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: