aokolnychyi commented on code in PR #8172:
URL: https://github.com/apache/iceberg/pull/8172#discussion_r1278193483
##########
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:
We could replace it later but it would be a separate PR to adapt how scan
metrics are being computed.
--
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]