rdblue commented on code in PR #5268:
URL: https://github.com/apache/iceberg/pull/5268#discussion_r933639025


##########
core/src/main/java/org/apache/iceberg/ManifestGroup.java:
##########
@@ -325,6 +351,9 @@ private static CloseableIterable<FileScanTask> 
createFileScanTasks(
         entry -> {
           DataFile dataFile = entry.file().copy(ctx.shouldKeepStats());
           DeleteFile[] deleteFiles = ctx.deletes().forEntry(entry);
+          
ctx.scanMetrics().totalFileSizeInBytes().increment(dataFile.fileSizeInBytes());

Review Comment:
   Should we have a similar metrics for total delete file size?



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