sdhzwc commented on code in PR #199: URL: https://github.com/apache/doris-flink-connector/pull/199#discussion_r1349634534
########## flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java: ########## @@ -41,18 +42,23 @@ import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.regex.Pattern; +import java.util.stream.Collectors; public abstract class DatabaseSync { private static final Logger LOG = LoggerFactory.getLogger(DatabaseSync.class); private static final String LIGHT_SCHEMA_CHANGE = "light_schema_change"; private static final String TABLE_NAME_OPTIONS = "table-name"; + public static final String TABLE_DDL_TO_LOWER_CASE = "1"; + public static final String TABLE_DDL_TO_UPPER_CASE = "2"; Review Comment: > 但是因为 doris 的表名区分大小写,字段没有区别,如果强行统一,可能在某些场景下就不用了呢?例如,表名是否应为大写,字段应为小写? I have implemented this part of the logic, and any operations on tables and fields are done together ########## flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java: ########## @@ -41,18 +42,23 @@ import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.regex.Pattern; +import java.util.stream.Collectors; public abstract class DatabaseSync { private static final Logger LOG = LoggerFactory.getLogger(DatabaseSync.class); private static final String LIGHT_SCHEMA_CHANGE = "light_schema_change"; private static final String TABLE_NAME_OPTIONS = "table-name"; + public static final String TABLE_DDL_TO_LOWER_CASE = "1"; + public static final String TABLE_DDL_TO_UPPER_CASE = "2"; Review Comment: > 但是因为 doris 的表名区分大小写,字段没有区别,如果强行统一,可能在某些场景下就不用了呢?例如,表名是否应为大写,字段应为小写? I have implemented this part of the logic, and any operations on tables and fields are done together -- 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