How can I run multiple statments in trino python client? https://github.com/trinodb/trino-python-client Below is the sample code.
queries = filter(None, query.split(";"))
for singelQuery in queries:
cursor.execute(singelQuery)
rows = cursor.fetchall()
Query
use test; select * from tbl
Getting below error
TrinoUserError(type=USER_ERROR, name=MISSING_SCHEMA_NAME, message="line 1:16: Schema must be specified when session schema is not set", query_id=20220908_082529_00009_uw5yi)