[X] I searched in the issues and found nothing similar.
Motivation
Currently, mysql-sync-database only support sync single database. But a common scenario is a table has been split into multiple database, for example, the db1 and db2 both have a table called tbl.
We want support that the two tables can be synchronized into one table, that means we should support synchronizing from multiple database.
Solution
The mysql-sync-table action can set database name with a regular expression to support synchronizing from multiple database. The solution can be applied to sync database action.
Do we need to support synchronizing different MySQL tables to the corresponding paimon table, rather than just synchronizing to the same paimon table ?
Search before asking
Motivation
Currently,
mysql-sync-database
only support sync single database. But a common scenario is a table has been split into multiple database, for example, thedb1
anddb2
both have a table calledtbl
.We want support that the two tables can be synchronized into one table, that means we should support synchronizing from multiple database.
Solution
The
mysql-sync-table
action can set database name with a regular expression to support synchronizing from multiple database. The solution can be applied to sync database action.Anything else?
No response
Are you willing to submit a PR?