JingsongLi commented on code in PR #4035:
URL: https://github.com/apache/paimon/pull/4035#discussion_r1726886280
##########
paimon-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/sink/cdc/NewTableSchemaBuilder.java:
##########
@@ -59,10 +64,20 @@ public Optional<Schema> build(RichCdcMultiplexRecord
record) {
record.primaryKeys(),
Collections.emptyMap(),
null);
+ List<String> specifiedPartitionKeys = new ArrayList<>();
+ if (partitionKeys != null && !partitionKeys.isEmpty()) {
+ specifiedPartitionKeys = partitionKeys;
Review Comment:
if `partitionKeyMultipleList` is not null, maybe it is better to use it.
--
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]