Skip to content

HIVE-28934: PlanUtils.configureJobPropertiesForStorageHandler should use hive session configuration. #5788

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

Merged
merged 2 commits into from
May 6, 2025

Conversation

vrozov
Copy link
Member

@vrozov vrozov commented Apr 28, 2025

What changes were proposed in this pull request?

Use session configuration to create storageHandler in PlanUtils.configureJobPropertiesForStorageHandler() instead of instantiating Hive and using it to get configuration.

Why are the changes needed?

Creating new instance of Hive is a heavy weight operation and it does not give correct HiveConf anyway.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests

Copy link

sonarqubecloud bot commented May 3, 2025

@simhadri-g
Copy link
Member

LGTM +1

@simhadri-g simhadri-g merged commit d476a99 into apache:master May 6, 2025
6 checks passed
@simhadri-g
Copy link
Member

thanks @vrozov for the PR!

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.

3 participants