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

Added timeout parameter for Connection class #418

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

Conversation

bit-sam
Copy link

@bit-sam bit-sam commented Oct 5, 2021

What:
Pyhive does not support custom connection timeout, and user may have to wait long time-period unwillingly before an exception is raised.
This PR would add an extra optional parameter timeout to Connection class which would allow users to set custom timeout for hive connections.

How:
This PR exposes the underlying timeout functionality of TSocket and THttpClient to Connection class for the users which add extra flexibility for advanced users, who might need more flexibility, and is also backward compatible

@bit-sam bit-sam changed the title Added timeout for connection Added timeout parameter for Connection class Oct 5, 2021
@CLAassistant
Copy link

CLAassistant commented Apr 16, 2022

CLA assistant check
All committers have signed the CLA.

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.

3 participants