Closed mdesmet closed 2 years ago
Not sure why the build failed in 3.10 on the following error:
trino.exceptions.TrinoUserError: TrinoUserError(type=USER_ERROR, name=COLUMN_NOT_FOUND, message="line 1:8: Column 'current_catalog' cannot be resolved", query_id=20220424_155121_00213_82y8r)
current_catalog
was added in version 357, so it fails on 351.
https://trino.io/docs/current/release/release-357.html
I have rebased the code and made following changes:
ClientSession
is now thread-safe. it is initiated by the dbapi.Connection
and some of its properties can be modified based on the headers coming back from the Trino server. It can later on be extended with more modifiable properties. USE catalog.schema
and USE schema
ClientSession
classMerged, thanks!
Fixes #153