You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "qidian99 (via GitHub)" <gi...@apache.org> on 2023/06/06 02:50:17 UTC
[GitHub] [incubator-paimon] qidian99 commented on a diff in pull request #1261: [feature] Support sync newly added table in cdc ingestion
qidian99 commented on code in PR #1261:
URL: https://github.com/apache/incubator-paimon/pull/1261#discussion_r1218801062
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlActionUtils.java:
##########
@@ -202,6 +202,9 @@ static MySqlSource<String> buildMySqlSource(Configuration mySqlConfig) {
mySqlConfig
.getOptional(MySqlSourceOptions.HEARTBEAT_INTERVAL)
.ifPresent(sourceBuilder::heartbeatInterval);
+ mySqlConfig
+ .getOptional(MySqlSourceOptions.SCAN_NEWLY_ADDED_TABLE_ENABLED)
+ .ifPresent(sourceBuilder::scanNewlyAddedTableEnabled);
Review Comment:
> Only set this when `MySqlDatabaseSyncMode` is DYNAMIC
Done by setting the option in mysql config when MySqlDatabaseSyncMode is DYNAMIC
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org