Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- links to