Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to