nastra commented on code in PR #11302: URL: https://github.com/apache/iceberg/pull/11302#discussion_r1824260251
########## flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/sink/CommitSummary.java: ########## @@ -50,7 +51,8 @@ class CommitSummary { .forEach( deleteFile -> { deleteFilesRecordCount.addAndGet(deleteFile.recordCount()); - deleteFilesByteCount.addAndGet(deleteFile.fileSizeInBytes()); + long contentSizeInBytes = ContentFileUtil.contentSizeInBytes(deleteFile); + deleteFilesByteCount.addAndGet(contentSizeInBytes); Review Comment: do we need to fix other Flink versions too? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org