PyHive icon indicating copy to clipboard operation
PyHive copied to clipboard

Add optional extra_sasl_client_attrs to hive Connection

Open baolsen opened this issue 1 year ago • 3 comments

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.

baolsen avatar Oct 12 '23 09:10 baolsen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 12 '23 09:10 CLAassistant

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

baolsen avatar Oct 12 '23 09:10 baolsen

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

mdeshmu avatar Oct 12 '23 12:10 mdeshmu