lvyanquan commented on code in PR #3924:
URL: https://github.com/apache/flink-cdc/pull/3924#discussion_r2106582787
##########
flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/org/apache/flink/cdc/connectors/base/source/utils/JdbcChunkUtils.java:
##########
@@ -109,31 +109,31 @@ public static Object queryMin(
*/
public static Column getSplitColumn(Table table, @Nullable String
chunkKeyColumn) {
List<Column> primaryKeys = table.primaryKeyColumns();
- if (primaryKeys.isEmpty()) {
+ if (primaryKeys.isEmpty() && chunkKeyColumn == null) {
Review Comment:
May I confirm if the changes made here are in line with expectations?
Because the title only mentions document modifications.
--
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]