nsivabalan edited a comment 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 . Now I 
get it. We could make (not sure if it makes sense), HoodieStorageWriter(bcoz, 
the storage writer is the one which has access to bloom) 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