songhuicheng opened a new pull request, #1004:
URL: https://github.com/apache/parquet-mr/pull/1004

   Parquet checks Block size after writing records to decide when it shall 
flush. This is relatively expensive, so it estimates the next check based on 
record size, record count etc.
   
   For small records less than 1byte after compression, the average record size 
is 0 after integer division. This caused overflow when calculating the next 
record count for block size check. It results in block size being checked for 
every record and slows down write.
   
   Fix the zero record size issue with float type record size.
   
   Make sure you have checked _all_ steps below.
   


-- 
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: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to