zhongyujiang commented on issue #7797:
URL: https://github.com/apache/iceberg/issues/7797#issuecomment-1590326411

   Yea, 'write.target-file-size-bytes' can only split large files into files of 
the target size, and cannot merge small files. 
   What's your table's `write.distribution-mode`, if it's `none`, try to change 
it to `hash` or `range`, In addition, you may also need to tune the Spark AQE 
parameters, (Assuming you are using Spark, don't know if other engines need 
additional tunning.) Please refer this 
[docs](https://iceberg.apache.org/docs/latest/spark-writes/#writing-distribution-modes)
 for more information, it do a good job of explaining how to control file size 
when using Spark.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to