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
Not sure if this is a user error or bug but the way I connected to Trino using ibis-framework v.8.0.0 is not working in 9.0.0
Here is an example of the code:
if __name__=='__main__':
con = ibis.trino.connect(
host = 'trino_host',
user='myusername',
password='mypassword',
port=443,
database='trino_catalog',
schema='trino_schema',
http_scheme='https'
)
run_query="SELECT * FROM trino_catalog.trino_schema.trino_table LIMIT 1"
query_ran = con.sql(run_query).execute()
print(query_ran)
And here is the traceback error it returns:
File "\site-packages\trino\client.py", line 434, in __init__
self._auth.set_http_session(self._http_session)
^^^^^^^^^^^^^^^^^^^^
AttributeError:'str' object has no attribute 'set_http_session'
What version of ibis are you using?
ibis-framework==9.0.0
What backend(s) are you using, if any?
Trino
Relevant log output
.
File "\site-packages\trino\client.py", line 434, in __init__
self._auth.set_http_session(self._http_session)
^^^^^^^^^^^^^^^^^^^^
AttributeError:'str' object has no attribute 'set_http_session'.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Not sure if this is a user error or bug but the way I connected to Trino using ibis-framework v.8.0.0 is not working in 9.0.0
Here is an example of the code:
And here is the traceback error it returns:
What version of ibis are you using?
ibis-framework==9.0.0
What backend(s) are you using, if any?
Trino
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: