paimon icon indicating copy to clipboard operation
paimon copied to clipboard

[Feature] Paimon supports Schema Evolution triggered by gh-ost / pt-osc tools.

Open zhaofuw opened this issue 1 year ago • 1 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Motivation

MySQL CDC cannot support Schema Evolution triggered by gh-ost / pt-osc tools because they perform the final switch using RENAME TABLE. Initially, Flink CDC did not support parsing the RENAME TABLE statement, but now the community has improved this feature, and we can also enhance it on Paimon.

Solution

Related issue list: issues-3450

The Flink-CDC community has improved this capability: FLINK-36610

Anything else?

No response

Are you willing to submit a PR?

  • [x] I'm willing to submit a PR!

zhaofuw avatar Jan 22 '25 10:01 zhaofuw

FLINK-36610 The design is very clever, masking the change process of gh-ost / pt-osc tools. In the implementation, the original table's DDL record is restored and this DDL statement is added to the binlog and sent downstream. Therefore, Paimon does not need any changes, just upgrade flink-cdc to version 3.3.0.

zhaofuw avatar Jan 23 '25 02:01 zhaofuw