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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]