nastra commented on code in PR #11657:
URL: https://github.com/apache/iceberg/pull/11657#discussion_r1873619891


##########
spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/source/PositionDeletesRowReader.java:
##########
@@ -90,6 +91,10 @@ protected CloseableIterator<InternalRow> 
open(PositionDeletesScanTask task) {
         ExpressionUtil.extractByIdInclusive(
             task.residual(), expectedSchema(), caseSensitive(), 
Ints.toArray(nonConstantFieldIds));
 
+    if (ContentFileUtil.isDV(task.file())) {
+      return new DVIterable(inputFile, task.file(), task.spec(), 
expectedSchema()).iterator();

Review Comment:
   ah you're right, I overlooked what the purpose of `idToConstant` is. I've 
updated this



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to