[
https://issues.apache.org/jira/browse/HIVE-25753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naveen Gangam resolved HIVE-25753.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Committed to master. Thank you for the patch [~hsnusonic]. Closing the jira.
> Improving performance of getLatestCommittedCompactionInfo
> ---------------------------------------------------------
>
> Key: HIVE-25753
> URL: https://issues.apache.org/jira/browse/HIVE-25753
> Project: Hive
> Issue Type: Improvement
> Components: Standalone Metastore
> Reporter: Yu-Wen Lai
> Assignee: Yu-Wen Lai
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The API getLatestCommittedCompactionInfo is used by external cache server to
> check latest compaction id for tables/partitions.
> Previously we have to set partition names for a partitioned table. That
> restriction causes a performance issue when a table with lots of partitions.
> We could remove this restriction so that when all the partitions are needed
> for a huge partitioned table we don't have to set all the partition names.
> That can reduce the size of the request and the overhead of sending request
> from client to HMS and from HMS to db.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)