leaves12138 commented on code in PR #8175:
URL: https://github.com/apache/paimon/pull/8175#discussion_r3393999140


##########
paimon-core/src/main/java/org/apache/paimon/operation/commit/ConflictDetection.java:
##########
@@ -633,26 +569,21 @@ Optional<RuntimeException> checkRowIdExistence(
             return Optional.empty();
         }
 
-        Set<FileRowIdKey> existingIndex = new HashSet<>();
+        NavigableMap<Long, Long> existingRanges = new TreeMap<>();

Review Comment:
   Can you use RowRangeIndex? Add method containsExactly.



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