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


##########
api/src/main/java/org/apache/iceberg/AddedRowsScanTask.java:
##########
@@ -55,7 +56,7 @@ default ChangelogOperation operation() {
 
   @Override
   default long sizeBytes() {
-    return length() + 
deletes().stream().mapToLong(ContentFile::fileSizeInBytes).sum();
+    return length() + ContentFileUtil.contentSizeInBytes(deletes());

Review Comment:
   I can. We will have `ContentFileUtil` and `DeleteFileUtil`. A bit awkward 
but not a big deal.



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