[
https://issues.apache.org/jira/browse/HIVE-27991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950041#comment-17950041
]
Sourabh Badhya commented on HIVE-27991:
---------------------------------------
[~dkuzmenko] I dont remember much about this right now but this could be used
in CTAS scenarios.
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> 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)