nsivabalan commented on pull request #1602:
URL: https://github.com/apache/incubator-hudi/pull/1602#issuecomment-630757894


   I was looking at HoodieAppendHandle. thanks for the link @garyli1019 . But 
looks like The MergeHandle does have info on totalRecordswritten, 
totalInserted, totalUpdated, totalDeleted. So, if we could make (not sure if it 
makes sense), HoodieStorageWriter expose size occupied by Bloom, then we should 
be ok. Do you think it's doable? 
   
   ```
   long fileSizeInBytes = FSUtils.getFileSize(fs, newFilePath); 
   long bloomFilterSizeInBytes = storageWriter.getBloomFilterSize();
   stat.setTotalWriteBytes(fileSizeInBytes - bloomFilterSizeInBytes);
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to