You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Badhya (Jira)" <ji...@apache.org> on 2024/01/09 08:47:00 UTC

[jira] [Created] (HIVE-27991) Utilise FanoutWriters when inserting records in an Iceberg table when the records are unsorted

Sourabh Badhya created HIVE-27991:
-------------------------------------

             Summary: Utilise FanoutWriters when inserting records in an Iceberg table when the records are unsorted
                 Key: HIVE-27991
                 URL: https://issues.apache.org/jira/browse/HIVE-27991
             Project: Hive
          Issue Type: Improvement
            Reporter: Sourabh Badhya
            Assignee: Sourabh Badhya


FanoutWriter is a writer in Iceberg which can be used to write records in a table. This writer keeps all the file handles open, until the write is finished. FanoutWriters is used as the writer when the incoming records are unsorted. We can by default have some mechanism to switch to using FanoutWriters instead of ClusteredWriters when custom sort expressions are not present for the given table/query.
Similar stuff is already implemented in Spark - [https://github.com/apache/iceberg/pull/8621]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)