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

Add optional extra_sasl_client_attrs to hive Connection #466

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

Conversation

baolsen
Copy link

@baolsen baolsen commented Oct 12, 2023

For the Hive connection, this PR adds a simple kwargs-like parameter which is passed down to the SASL client.
It intentionally will override any attributes set by PyHive, if they have the same name.

This allows customisation of SASL client properties directly if needed by an application.

We have a use case where we have to provide specific SASL client attributes to get the connection to work.

@CLAassistant
Copy link

CLAassistant commented Oct 12, 2023

CLA assistant check
All committers have signed the CLA.

@baolsen
Copy link
Author

baolsen commented Oct 12, 2023

@mdeshmu , this one is ready for CI and review.
Thanks

@mdeshmu
Copy link
Contributor

mdeshmu commented Oct 12, 2023

Please test the changes and share the results. https://github.com/dropbox/PyHive#tips-for-test-environment-setup
cc: @bkyryliuk

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

Successfully merging this pull request may close these issues.

None yet

3 participants