Doorwood opened a new issue, #5435:
URL: https://github.com/apache/hudi/issues/5435

   Hi!~When i am reading hudi code about getting small files on hoodie spark 
upsert,one question bothers me a lot.
   
![image](https://user-images.githubusercontent.com/23451872/165261604-773232ef-1563-43ea-ad84-3e8a970641af.png)
   If I use hoodie mor table written by spark,as long as  I update one 
record,it will create one log file for this fileslice to record this update 
operation.After this update operation,i insert a new record,it needs to find a 
small file to write,but the fileslice who has log files can not be treated as 
small file,so that hoodie may create a new filegroup to hold this record.What i 
want u understand,it may create a lot of small file with a lot of file groups.
   I have tested the question i described,and actually it causes "small files" 
problems.
   
![image](https://user-images.githubusercontent.com/23451872/165264237-ea211bd0-dc3c-464a-8ade-37827b3461c3.png)
   I am looking forward to someone can help me solve this problem!


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

Reply via email to