[ https://issues.apache.org/jira/browse/HIVE-28601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Araika Singh updated HIVE-28601: -------------------------------- Description: Currently, the Hive Metastore (HMS) provides the {{getPartitionsWithSpecs}} API, which allows fetching a list of partitions with selective sub-objects as needed. However, certain API calls within HiveServer2 (HS2) only require specific elements, such as the location, without needing the complete storage descriptor. Transmitting the full object in these cases results in unnecessary overhead and resource consumption. The doc along with Jira is added for detailed information on the motivation behind it, along with the performance impact on a smaller level. was: Currently, the Hive Metastore (HMS) provides the {{getPartitionsWithSpecs}} API, which allows fetching a list of partitions with selective sub-objects as needed. However, certain API calls within HiveServer2 (HS2) only require specific elements, such as the location, without needing the complete storage descriptor. Transmitting the full object in these cases results in unnecessary overhead and resource consumption. > Leverage configurable getPartitions API in HMS to decrease memory footprint > in HS2 > ---------------------------------------------------------------------------------- > > Key: HIVE-28601 > URL: https://issues.apache.org/jira/browse/HIVE-28601 > Project: Hive > Issue Type: Improvement > Security Level: Public(Viewable by anyone) > Reporter: Araika Singh > Assignee: Araika Singh > Priority: Major > Labels: pull-request-available > Attachments: Leveraging get partitions calls.docx > > > Currently, the Hive Metastore (HMS) provides the {{getPartitionsWithSpecs}} > API, which allows fetching a list of partitions with selective sub-objects as > needed. > However, certain API calls within HiveServer2 (HS2) only require specific > elements, such as the location, without needing the complete storage > descriptor. Transmitting the full object in these cases results in > unnecessary overhead and resource consumption. > The doc along with Jira is added for detailed information on the motivation > behind it, along with the performance impact on a smaller level. -- This message was sent by Atlassian Jira (v8.20.10#820010)