Can DM synchronization set field mapping relationships?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dm同步,能设置字段的映射关系吗?

| username: TiDBer_QHSxuEa1

The field names of the downstream table have changed, and I don’t know how to synchronize them. Can I set up field mapping relationships?

| username: tidb菜鸟一只 | Original post link

No, you can’t.

| username: zhanggame1 | Original post link

No, you can add the original field and update it to the new field at regular intervals.

| username: Hacker007 | Original post link

The minimum granularity of DM synchronization is the table.

| username: cassblanca | Original post link

I’m afraid only ETL tools can do the mapping to meet your requirements.

| username: 有猫万事足 | Original post link

Generally speaking, the downstream of DM is completely controllable by the TiDB administrators themselves. The upstream is managed by the developers, and it might be a production environment that cannot be easily modified.

In such a situation, having a different field downstream would be a bit strange. :sweat_smile: