You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "MOBIN-F (via GitHub)" <gi...@apache.org> on 2025/06/13 07:47:43 UTC
Re: [PR] [FLINK-36580][pipeline-connector-mysql] Fix column.[in|ex]clude.list parameter causing schema inconsistency [flink-cdc]
MOBIN-F commented on code in PR #3810:
URL: https://github.com/apache/flink-cdc/pull/3810#discussion_r2144399331
##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/org/apache/flink/cdc/debezium/table/DebeziumOptions.java:
##########
@@ -43,6 +47,10 @@ public static Properties getDebeziumProperties(Map<String, String> properties) {
throw new IllegalArgumentException(
"table.include.list and table.exclude.list are not supported to set manually, please remove these options.");
}
+ if (debeziumProperties.containsKey(COLUMN_INCLUDE_LIST.name())
+ && debeziumProperties.containsKey(COLUMN_EXCLUDE_LIST.name())) {
+ throw new IllegalArgumentException(TABLE_INCLUDE_LIST_ALREADY_SPECIFIED_ERROR_MSG);
+ }
Review Comment:
COLUMN_INCLUDE_LIST and COLUMN_EXCLUDE_LIST cannot coexist https://github.com/debezium/debezium/blob/ce9ddb119eaebef4a78882146f20a3d3ebd7c30f/debezium-core/src/main/java/io/debezium/relational/RelationalDatabaseConnectorConfig.java#L743
--
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@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org