Closed lddlww closed 2 years ago
1 MySQL binlog doesn't have table structure, so DM must maintain the table structure for its purpose like get column names. 2 we have implemented it in newer version (related to https://github.com/pingcap/tiflow/issues/3239, but I can't find the PR because issue transfer).
And this repo has been move to https://github.com/pingcap/tiflow/tree/master/dm , you can watch tiflow
oh,thanks for reply and remind
Before asking a question, make sure you have
What is your question?
problem: i use dm to sync data from mysql to tidb,and ignore
[alter table]
event,when alter table in mysql,i modify tidb simultaneously manually;but i foud dm stop sync and throw errors,the reason is table structure does not match in it,then i useoperate-schema
command to modify dm table structure ,after dm reworks;but this operation is very troublesome for a large number of modifications to the table structurequestion: 1、i wanna to know why dm have to cache table structure? 2、how can i do to autosync table structure to dm cache when alter mysql table structure which ignored
[alter table]
event?more detail: 1、in mysql i have some tables like follow:
2、create dm task to merge orders_% tables to tidb,task routes like follow:
so i have to ignore
[alter table]
event