flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[FLINK-34864][cdc-connector-mysql] Add the IgnoreNoPrimaryKeyTable parameter to skip tables without primary keys in multi-table synchronization

Open yzeng1618 opened this issue 7 months ago • 1 comments

https://issues.apache.org/jira/browse/FLINK-34864
Previously, in the scenario of multi-table synchronization such as from MySQL to Doris, if some tables had no primary keys, it would directly result in an error, which affected the synchronization of other tables. Therefore, relevant development work was carried out. Incidentally, I found that this issue had already been recorded on Jira. As a result, I added unit tests and other content and submitted this pull request (PR). The specific usage is to set the ignoreNoPrimaryKeyTable parameter to "true" in the pipeline of the YAML file, and then this function can be achieved.

yzeng1618 avatar May 24 '25 08:05 yzeng1618

@lvyanquan Could you please let me know when you can take a look at this PR and merge it?

yzeng1618 avatar Aug 11 '25 03:08 yzeng1618