kinolaev commented on code in PR #16956:
URL: https://github.com/apache/iceberg/pull/16956#discussion_r4710995684


##########
spark/v4.2/spark/src/main/java/org/apache/iceberg/spark/source/RowDataReader.java:
##########
@@ -45,6 +46,11 @@ class RowDataReader extends BaseRowReader<FileScanTask> 
implements PartitionRead
 
   private final long numSplits;
 
+  // Shared across every data file in this task group so an equality delete 
file referenced by
+  // more than one of them is read and materialized only once. Not thread-safe 
because open()
+  // is called sequentially by the single task thread, so these are mutated by 
one thread.
+  private final EqualityDeletes sharedEqDeletes;

Review Comment:
   Answered in [this 
comment](https://github.com/apache/iceberg/pull/16956#issuecomment-7197423395).



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