Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-34865][pipeline-connector/mysql] Support sync table comment in binlog phase #3869

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

qg-lin
Copy link
Contributor

@qg-lin qg-lin commented Jan 16, 2025

Support sync table coments in binlog phase, thanks for @yuxiqian nice guidance.

@yuxiqian
Copy link
Contributor

Thanks for @qg-lin's nice work, this change looks reasonable to me.

But seems our MySQL CI has been a little unstable for now... Could you please rebase this PR with e81df94 commit and see if this problem persists?

MySqlDataSourceFactory.IDENTIFIER,
new EventTypeInfo())
.executeAndCollect();
Thread.sleep(5_000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can fetchResults here to ensure snapshot stage to be over before generating binlog events, instead of sleeping.

@lvyanquan
Copy link
Contributor

Looks like we would need to add more event types like AlterTableCommentEvent & AlterColumnCommentEvent.

@leonardBang
Copy link
Contributor

Looks like we would need to add more event types like AlterTableCommentEvent & AlterColumnCommentEvent.

We can support these events in the future

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, wait the CI green

@leonardBang leonardBang merged commit 8815f2b into apache:master Jan 17, 2025
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants