guanziyue opened a new issue #2630:
URL: https://github.com/apache/hudi/issues/2630


   **Describe the problem you faced**
   
   In the UpsertPartitioner class, the method called averageBytesPerRecord is 
used to evaluate the average record size according to previous commits. There 
is a fileSizeThreshold used to filter commit which can be evaluated.
   Such value is calculated as 
   "hoodieWriteConfig.getRecordSizeEstimationThreshold() * 
hoodieWriteConfig.getParquetSmallFileLimit();"
   May I have known why it goes like this?  It may need a huge enough commit 
make this strategy activated.
   
   
   **Expected behavior**
   
   A small value may also work?  How about hoodie.parquet.max.file.size?
   
   **Environment Description**
   
   * Hudi version :0.6.0
   
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to