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


##########
flink/v1.18/flink/src/main/java/org/apache/iceberg/flink/sink/IcebergStreamWriterMetrics.java:
##########
@@ -79,7 +80,7 @@ void updateFlushResult(WriteResult result) {
     Arrays.stream(result.deleteFiles())
         .forEach(
             deleteFile -> {
-              deleteFilesSizeHistogram.update(deleteFile.fileSizeInBytes());
+              
deleteFilesSizeHistogram.update(ContentFileUtil.contentSizeInBytes(deleteFile));

Review Comment:
   @nastra, I cherry-picked all Flink changes across all versions, unlike the 
prototype PR you reviewed.



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