-
Bug
-
Resolution: Done
-
Minor
-
None
-
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
);