Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-7
Description
In the LocalCatalog, we want to only fetch the partitions that are referenced by a query – i.e. we must prune partitions based only on the partition names and not the entire partition objects. However, the PartitionPruner implementation currently expect to be able to fetch the full map of HdfsPartition objects from the table and work on them as is.
This JIRA is to do some refactorings such that the PartitionPruner interacts with a slightly more restricted interface that only exposes the minimal interaction points with the table and the partition map. Once it has computed a list of remaining partitions, it can then instruct the table to fully load them to yield the resulting full Partition objects.