steFaiz commented on code in PR #8380:
URL: https://github.com/apache/paimon/pull/8380#discussion_r3497827727


##########
paimon-core/src/main/java/org/apache/paimon/deletionvectors/ApplyDeletionFileRecordIterator.java:
##########
@@ -67,7 +69,7 @@ public InternalRow next() throws IOException {
             if (next == null) {
                 return null;
             }
-            if (!deletionVector.isDeleted(returnedPosition())) {
+            if (!deletionVector.isDeleted(offset + returnedPosition())) {

Review Comment:
   Thanks! This is really a correctness issue. I change the constructor of 
`ApplyDeletionVectorReader`, constructing an offset `DeletionVectorJudger` at 
the beginning.



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