[
https://issues.apache.org/jira/browse/HIVE-25032?focusedWorklogId=847878&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-847878
]
ASF GitHub Bot logged work on HIVE-25032:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Feb/23 19:28
Start Date: 27/Feb/23 19:28
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #4028:
URL: https://github.com/apache/hive/pull/4028#issuecomment-1446936821
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4028)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=BUG)
[2
Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=VULNERABILITY)
[0
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4028&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4028&resolved=false&types=SECURITY_HOTSPOT)
[0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4028&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=CODE_SMELL)
[29 Code
Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4028&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4028&metric=coverage&view=list)
No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4028&metric=duplicated_lines_density&view=list)
No Duplication information
Issue Time Tracking
-------------------
Worklog Id: (was: 847878)
Time Spent: 3.5h (was: 3h 20m)
> Optimise PartitionManagementTask
> --------------------------------
>
> Key: HIVE-25032
> URL: https://issues.apache.org/jira/browse/HIVE-25032
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> When large number of tables and dbs are present, it takes lot of time to
> iterate over all tables in PartitionManagementTask.
> If table parameters are populated in TableMeta, it will cut down lots of
> interactions with HMS in PartitionManagementTask.
>
> Code Ref:
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L126]
>
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L132]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
