pydrill icon indicating copy to clipboard operation
pydrill copied to clipboard

unable to define no timeout

Open benjdv opened this issue 7 years ago • 0 comments

When setting timeout of different functions to negative value (ie no timeout) - (example query(sql, timeout=10)) - it produce an error : ValueError: Attempted to set connect timeout to -1, but the timeout cannot be set to a value less than or equal to 0. But DRILL documentation precise that timeout | <integer> | Query timeout in seconds; less than zero means no timeout.

So it will be useful to let this possibility for the user

benjdv avatar Jan 16 '19 09:01 benjdv