Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP[HIVE-28601]: Please do not review #5539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

armitage420
Copy link
Contributor

What changes were proposed in this pull request?

Leverage configurable getPartitionsWithSpecs API in HMS to decrease memory footprint in HS2

Why are the changes needed?

The primary motivation behind these changes is to optimize the performance of certain API calls within HS2. These calls often require specific elements, such as say location, without needing the complete storage descriptor in partition object. Transmitting the full object in these cases results in unnecessary overhead and resource consumption. By leveraging the getPartitionsWithSpecs API, we can fetch only the necessary Partition's sub-objects, thereby reducing the memory footprint and hence reducing unnecessary network usage.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Local machine

Copy link

sonarcloud bot commented Nov 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants