You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sai Hemanth Gantasala (Jira)" <ji...@apache.org> on 2024/07/13 01:58:00 UTC
[jira] [Created] (HIVE-28371) Optimize add partitions authorization in HiveMetaStore
Sai Hemanth Gantasala created HIVE-28371:
--------------------------------------------
Summary: Optimize add partitions authorization in HiveMetaStore
Key: HIVE-28371
URL: https://issues.apache.org/jira/browse/HIVE-28371
Project: Hive
Issue Type: Improvement
Components: Standalone Metastore
Reporter: Sai Hemanth Gantasala
Assignee: Sai Hemanth Gantasala
Currently add_partitions() api sends all the partitions (new partitions and existing partitions) that need to be added for authorization, instead, we can optimize this by sending only the new partitions for authorization.
Impact: Alter table recover partitions collects all the available partitions and sends it to Metastore to check if any new partitions can be added. If all the partitions are sent for authorization irrespective of whether it exists or not, the Authorization service will unnecessarily spend time on authorizing already existing partitions. This can be avoided by only authorizing new partitions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)