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

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

      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
      );

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

              Created:
              Updated:
              Resolved: