lvyanquan commented on code in PR #4027: URL: https://github.com/apache/flink-cdc/pull/4027#discussion_r2108352901
########## flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/org/apache/flink/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java: ########## @@ -133,6 +137,10 @@ public List<MySqlSnapshotSplit> splitChunks(MySqlPartition partition, TableId ta "Can not split a new table before the previous table splitting finish."); if (currentSplittingTable == null) { analyzeTable(partition, currentSplittingTableId); + // Skip tables without primary key + if (splitColumn == null && sourceConfig.isIgnoreNoPrimaryKeyTable()) { + return Collections.emptyList(); Review Comment: Please logger out that this table was ignored. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org