JNSimba commented on code in PR #208: URL: https://github.com/apache/doris-flink-connector/pull/208#discussion_r1364792582
########## flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java: ########## @@ -235,11 +243,36 @@ protected boolean isSyncNeeded(String tableName) { LOG.debug("table {} is synchronized? {}", tableName, sync); return sync; } + /** + * Filter table that many tables merge to one + */ + protected HashMap<Pattern,String> multiToOneRulesParser(String multiToOneOrigin,String multiToOneTarget){ + if(StringUtils.isEmpty(multiToOneOrigin) || StringUtils.isEmpty(multiToOneTarget)){ Review Comment: Are you referring to the stringutils utility class? If yes, you can use flink’s own stringutils ########## flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java: ########## @@ -235,11 +243,36 @@ protected boolean isSyncNeeded(String tableName) { LOG.debug("table {} is synchronized? {}", tableName, sync); return sync; } + /** + * Filter table that many tables merge to one + */ + protected HashMap<Pattern,String> multiToOneRulesParser(String multiToOneOrigin,String multiToOneTarget){ + if(StringUtils.isEmpty(multiToOneOrigin) || StringUtils.isEmpty(multiToOneTarget)){ Review Comment: Are you referring to the stringutils utility class? If yes, you can use flink’s own stringutils -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org