Supported DDL operations
CREATE TABLEYou can create partitioned tables but cannot use
CREATE TABLE AS SELECTto create tables. HASH-, RANGE-, and LIST-partitioned tables, and HASH-, RANGE-, and LIST-subpartitioned tables are supported.DROP TABLETRUNCATE TABLERENAME TABLEandALTER TABLE RENAMEALTER TABLE ADD COLUMNALTER TABLE CHANGE COLUMNNotice
You can increase the column length, but you cannot modify the column type.
CREATE INDEXDROP INDEXAdding or dropping comments on tables or columns
Limitations
If the table to synchronize involves unsupported DDL operations, the migration task may be interrupted, which causes unrecoverable data inconsistencies.
Frequent DDL operations on a table are not supported. Continue with the next DDL operation only after the Store has completed the current one (judged by the position). Otherwise, the store may exit unexpectedly or cause unrecoverable data exceptions.
Make sure that no DDL operations are performed before you create a store and when a store is being started. If log pulling is involved, make sure that no DDL operations are performed during the period from the start time when logs are pulled to the current time. Otherwise, the store may exit unexpectedly or cause unrecoverable data exceptions.
The original and new table names in the
RENAME TABLEstatement must be names of the tables to be synchronized.A table creation DDL operation that involves the
CASE WHEN INDEXclause cannot be synchronized.