You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2023/05/22 06:39:00 UTC
[jira] [Commented] (HIVE-25366) Reduce number of Table calls in updatePartitonColStatsInternal
[ https://issues.apache.org/jira/browse/HIVE-25366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724791#comment-17724791 ]
Denys Kuzmenko commented on HIVE-25366:
---------------------------------------
Merged to master.
[~difin], thanks for the patch!
> Reduce number of Table calls in updatePartitonColStatsInternal
> --------------------------------------------------------------
>
> Key: HIVE-25366
> URL: https://issues.apache.org/jira/browse/HIVE-25366
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Assignee: Dmitriy Fingerman
> Priority: Major
> Labels: performance, pull-request-available
>
> For every partition, table details are reloaded again which is completely wasteful. It will be good to pass the Table details fetched once for all partitions.
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java#L1091]
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L9342]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)