Closed EugeneChung closed 2 years ago
It doesn't seem to be intended. Would you like to send a PR?
@hashhar Okay~
FYI, it happens because of #195 .
Calling sqlalchemy result.scalar() from trino/sqlalchemy/dialect.py#_get_server_version_info() closes the cursor which is not finished, and it causes cancelling of SELECT version()
query.
FYI, it happens because of #195 . Calling sqlalchemy result.scalar() from trino/sqlalchemy/dialect.py#_get_server_version_info() closes the cursor which is not finished, and it causes cancelling of
SELECT version()
query.
@hashhar @EugeneChung https://github.com/trinodb/trino-python-client/pull/210 fixes it
Hi all.
https://github.com/trinodb/trino-python-client/blame/e26027375326a1e0fc8a472d242af75b4e6049bc/trino/client.py#L807
Is it intended or should it be debug level?