[
https://issues.apache.org/jira/browse/HIVE-27505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748839#comment-17748839
]
Pravin Sinha commented on HIVE-27505:
-------------------------------------
Merged to master. Thanks for the patch [~vikramahuja_] and review
[~zhangbutao] !!
> Added batching with retry mechanism in Hive.getAllPartitionsOf API
> ------------------------------------------------------------------
>
> Key: HIVE-27505
> URL: https://issues.apache.org/jira/browse/HIVE-27505
> Project: Hive
> Issue Type: Bug
> Reporter: Vikram Ahuja
> Assignee: Vikram Ahuja
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Hive.getAllPartitionsOf() tries to list partitions in one go, it can cause
> memory related issues with wide tables(>2000 columns) with large amount of
> partitions when data is being transferred from HMS to HS2 using Thrift.
> Optimise the flow to use PartitionIterable so that partitions can be fetched
> in batches rather than one go.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)