JingsongLi commented on code in PR #1345:
URL: https://github.com/apache/incubator-paimon/pull/1345#discussion_r1223796724


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlActionUtils.java:
##########
@@ -254,7 +254,11 @@ static MySqlSource<String> buildMySqlSource(Configuration 
mySqlConfig) {
         customConverterConfigs.put(JsonConverterConfig.DECIMAL_FORMAT_CONFIG, 
"numeric");
         JsonDebeziumDeserializationSchema schema =
                 new JsonDebeziumDeserializationSchema(true, 
customConverterConfigs);
-        return 
sourceBuilder.deserializer(schema).includeSchemaChanges(true).build();
+        return sourceBuilder
+                .deserializer(schema)
+                .includeSchemaChanges(true)
+                .scanNewlyAddedTableEnabled(true)

Review Comment:
   Can you add a option, the default value can be true.



-- 
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]

Reply via email to