aokolnychyi commented on code in PR #8172:
URL: https://github.com/apache/iceberg/pull/8172#discussion_r1278193065


##########
core/src/main/java/org/apache/iceberg/DeleteFileIndex.java:
##########
@@ -423,7 +445,13 @@ Builder scanMetrics(ScanMetrics newScanMetrics) {
       return this;
     }
 
-    DeleteFileIndex build() {
+    private Collection<DeleteFile> filterDeleteFiles() {
+      return Streams.stream(deleteFiles)
+          .filter(file -> file.dataSequenceNumber() > minSequenceNumber)
+          .collect(Collectors.toList());

Review Comment:
   Need a collection later to call size on it. 



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