When you call connection.SetOption("adbc.connection.catalog") or connection.SetOption("adbc.connection.db_schema") the context is not carried through to the connection.GetObjects(...) call, which results in the error:
[Snowflake] 090105 (22000): Cannot perform SELECT. This session does not have a current database. Call 'USE DATABASE', or use a qualified name.
For example. this occurs when you don't first set the adbc.snowflake.sql.db parameter or change it in your session.
What happened?
When you call
connection.SetOption("adbc.connection.catalog")
orconnection.SetOption("adbc.connection.db_schema")
the context is not carried through to theconnection.GetObjects(...)
call, which results in the error:[Snowflake] 090105 (22000): Cannot perform SELECT. This session does not have a current database. Call 'USE DATABASE', or use a qualified name.
For example. this occurs when you don't first set the
adbc.snowflake.sql.db
parameter or change it in your session.Stack Trace
No response
How can we reproduce the bug?
No response
Environment/Setup
No response