Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: DM上游分表比下游合表字段多如何处理
【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】5.4
【Encountered Problem】
The upstream MySQL performs partitioning by month, and we plan to use DM to synchronize the partitioned data into TiDB as a single table. The partition for June 2021 has three more columns than the other partitions. If we add these three columns to the downstream table and handle it according to the migration scenario where the downstream has more columns, we will have to set the schema for the upstream partition every month when a new partition is generated. Is there a good solution or new approach for this?