Open CodyPin opened 4 months ago
hi @CodyPin ,Can you provide the complete information of this piece? Paimon table is: ... MySQL table is: ...
I have encountered a similar problem. This problem occurs when the schema change occurs when stopping and starting the flink job. I think that's what happened to you, too? Relevant pr:#3362
Would schema evolution be supported in database synchronization in the future? [ database synchronization supported schema evolution]
You can add flink-cdc-common-3.0.1.jar
into FLINK_HOME/lib path, and try the schema evolution again.
Search before asking
Motivation
I was using Flink CDC to sync some tables in a MySQL database and I suddenly noticed that the job failed, I didn't look much into it since the job often fails due to OOM (I am testing with loads of table, around 90ish), and when I restart the job, it comes with the below exception
The table schema in MySQL has indeed changed with a column added. Originally I had the assumption that database synchronization would also have schema evolution like table synchronization, but upon further reading into the documents:
With it specifically mentioning MySqlSyncTableAction, it seems schema evolution is not supported in database synchronization, is this true? If so, I have 2 questions:
Some additional info for the builds I am using:
Solution
No response
Anything else?
No response
Are you willing to submit a PR?