szlta opened a new pull request #2842:
URL: https://github.com/apache/hive/pull/2842


   Currently Hive relies on PartitionedFanoutWriter to write records to Iceberg 
tables. This has a big disadvantage when it comes to writing many-many 
partitions, as it keeps a file handle open to each of the partitions.
   
   For some file systems like S3, there can be a big resource waste due to 
keeping bytebuffers for each of the handles, that may result in OOM scenarios.
   
   ClusteredWriter will only write one file at a time, and will not keep other 
file handles open, but it will expect that the input data is sorted by 
partition keys.


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