aokolnychyi commented on code in PR #8157:
URL: https://github.com/apache/iceberg/pull/8157#discussion_r1275443558
##########
core/src/main/java/org/apache/iceberg/DeleteFileIndex.java:
##########
@@ -123,33 +130,35 @@ DeleteFile[] forEntry(ManifestEntry<DataFile> entry) {
}
DeleteFile[] forDataFile(long sequenceNumber, DataFile file) {
+ if (isEmpty) {
Review Comment:
No need to derive the partition and do anything with the streams if the
index is empty.
--
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]