[
https://issues.apache.org/jira/browse/HIVE-22832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marta Kuczora updated HIVE-22832:
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed to master.
Thanks again [~mbod] for the patch.
> Parallelise direct insert directory cleaning process
> ----------------------------------------------------
>
> Key: HIVE-22832
> URL: https://issues.apache.org/jira/browse/HIVE-22832
> Project: Hive
> Issue Type: Improvement
> Reporter: Marton Bod
> Assignee: Marton Bod
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22832.1.patch, HIVE-22832.2.patch,
> HIVE-22832.3.patch, HIVE-22832.4.patch, HIVE-22832.5.patch,
> HIVE-22832.6.patch, HIVE-22832.7.patch, HIVE-22832.8.patch, HIVE-22832.9.patch
>
>
> Inside Utilities::handleDirectInsertTableFinalPath, the
> cleanDirectInsertDirectories method is called sequentially for each element
> of the directInsertDirectories list, which might have a large number of
> elements depending on how many partitions were written. This current
> sequential execution could be improved by parallelising the clean up process.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)