You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the request_timeout there is the HTTP request timeout passed to Requests library. i.e. no SINGLE http request should take longer than that.
A single Trino query ends up with multiple HTTP requests. Once you submit query the client keeps polling the server periodically so as long as the server replies within 1 second the timeout will never be exceeded.
Expected behavior
If executing a query takes more time than
request_timeout
, it should be terminated with a "Timeout Exception".Actual behavior
The execution is continued until the Trino server responds.
Steps To Reproduce
Create a connection:
Execute a long running SQL which takes more than 1 second:
Log output
No response
Operating System
macOS 15.2 (dev), Debian GNU/Linux 12 (bookworm) (prod)
Trino Python client version
0.330.0
Trino Server version
466
Python version
3.12.3 (dev), 3.12.8 (prod)
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: