rdblue commented on code in PR #15006:
URL: https://github.com/apache/iceberg/pull/15006#discussion_r2819729900


##########
core/src/main/java/org/apache/iceberg/deletes/Deletes.java:
##########
@@ -126,6 +133,18 @@ public static <T extends StructLike> 
CharSequenceMap<PositionDeleteIndex> toPosi
     return toPositionIndexes(posDeletes, null /* unknown delete file */);
   }
 
+  public static PositionDeleteIndex readDV(
+      DeleteFile deleteFile, FileIO fileIO, EncryptionManager 
encryptionManager) {
+    Preconditions.checkArgument(
+        ContentFileUtil.isDV(deleteFile), "Delete file must be a deletion 
vector");

Review Comment:
   `"Cannot read, not a deletion vector: %s", deleteFile.location()`?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to