Skip to content

Conversation

@junmuz
Copy link
Contributor

@junmuz junmuz commented Sep 23, 2025

Description

FLINK-38413: Enables append only table creation from mysql pipeline connector. I have an added an integration test as well that creates out an Append only Paimon table from MySQL.

@junmuz junmuz marked this pull request as ready for review September 23, 2025 16:52
@junmuz junmuz marked this pull request as draft September 30, 2025 16:27
@junmuz junmuz marked this pull request as ready for review October 2, 2025 10:58
@junmuz
Copy link
Contributor Author

junmuz commented Oct 2, 2025

@lvyanquan Can I get a review on the above PR? Thanks.

@lvyanquan
Copy link
Contributor

lvyanquan commented Oct 5, 2025

Please create a jira issue for this.


@Experimental
public static final ConfigOption<Boolean> SCAN_READ_CHANGELOG_AS_APPEND_ONLY_ENABLED =
ConfigOptions.key("scan.read-changelog-as-append-only.enabled")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this change would affect too many tables. Could we set a regular expression (e.g., scan.read-changelog-as-append-only.tables: adb.*) to modify the primary key only for tables that match this pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good suggestion, I will try incorporating it.

Copy link
Contributor Author

@junmuz junmuz Dec 9, 2025

Choose a reason for hiding this comment

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

@lvyanquan On a second thought, one can have a dedicated Flink instance for creating append only tables. It seems having a common configuration scan.read-changelog-as-append-only.enabled seems to better as it brings consistency with the mysql-cdc-connector.

@junmuz
Copy link
Contributor Author

junmuz commented Oct 6, 2025

Please create a jira issue for this.

There is already a ticket created mentioned in the description. FLINK-38413 for reference.

@lvyanquan lvyanquan changed the title Adding support for append only tables to MySQL Pipeline connector [FLINK-38413] Adding support for append only tables to MySQL Pipeline connector Oct 11, 2025
@junmuz junmuz force-pushed the master branch 2 times, most recently from d6c2958 to 36bbbae Compare November 4, 2025 11:38
@junmuz junmuz requested a review from lvyanquan December 9, 2025 14:08
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.

2 participants