ALTER TABLE db.tb ADD COLUMN `expect_date` DATE NOT NULL DEFAULT 0;
dm
cannot track ddl: invalid default value 0 for `expect_date`
original ddl: rename /* gh-ost */ table `db`.`tb`` to `db`.`_tb_del`, `db`.`_tb_gho` to `db`.`tb`
Describe the feature you'd like
Though
handle-error <task> replace "ALTER TABLE `db`.`tb` ADD COLUMN `expect_date` DATE NOT NULL DEFAULT '0000-00-00';"
can replace the rename statement to alter statement, the origin online schema meta still remain in DM-worker, which may cause problem.
handle-error skip/replace may need to skip/replace the origin ddl(ALTER statement) in online-ddl.
Is your feature request related to a problem?
upstream
pt
dm
Describe the feature you'd like
Though
can replace the rename statement to alter statement, the origin online schema meta still remain in DM-worker, which may cause problem.
handle-error skip/replace
may need to skip/replace the origin ddl(ALTER statement) in online-ddl.Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response