Skip to content

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