thesumery commented on code in PR #6383:
URL: https://github.com/apache/inlong/pull/6383#discussion_r1013781469


##########
inlong-sort/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/multiple/IcebergMultipleStreamWriter.java:
##########
@@ -130,12 +129,6 @@ public void processElement(RecordWithSchema 
recordWithSchema) throws Exception {
             List<Integer> equalityFieldIds = 
recordWithSchema.getPrimaryKeys().stream()
                     .map(pk -> 
recordWithSchema.getSchema().findField(pk).fieldId())
                     .collect(Collectors.toList());
-            // if physical primary key not exist, put all field to logical 
primary key
-            if (equalityFieldIds.isEmpty()) {

Review Comment:
   good proposal



-- 
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]

Reply via email to