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
conn = trino.dbapi.connect(...)
cur = conn.cursor()
cur.close()
The close should succeed.
Actual behavior
The close actually fails:
trino.exceptions.OperationalError: Cancel query failed; no running query
Steps To Reproduce
conn = trino.dbapi.connect(...)
cur = conn.cursor()
cur.close()
Log output
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../python3.10/site-packages/trino/dbapi.py", line 709, in close
self.cancel()
File ".../python3.10/site-packages/trino/dbapi.py", line 703, in cancel
raise trino.exceptions.OperationalError(
trino.exceptions.OperationalError: Cancel query failed; no running query
Operating System
CentOS 8
Trino Python client version
0.327.0
Trino Server version
406
Python version
3.10.8
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Expected behavior
When you do this:
The
close
should succeed.Actual behavior
The
close
actually fails:Steps To Reproduce
Log output
Operating System
CentOS 8
Trino Python client version
0.327.0
Trino Server version
406
Python version
3.10.8
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: