Hi Community -- I'm posting this for a trial user, please help:
"I'm having the issue when I connect to snowflake …
JDBC error reading data from catalog = CUSTOMERDATA, schema = PUBLIC, table = TRAIN_DATA: No active warehouse selected in the current session. Select an active warehouse with the 'use warehouse' command. . Task ID=1b4b0010-3809-40eb-8271-7d61583f2d86 Project ID=6036d9de64dee7ca3e690226
I have been trying everything, but it's not helping. It does show connection to snowflake showing the schema and tables but while creating the projects throws the upload error.
Tried following:
jdbc://<account_name>.snowflakecomputing.com/?warehouse=<name> and it's not helping."
Thanks!
If the warehouse is hardcoded but it is still erroring - please confirm the warehouse name; I think the catalog browsing does not require a compute warehouse, so this is why it may be possible to browse and see objects but not actually do anything with them.
It does not sounds like the user has a default data warehouse set in their user profile. This can be set by an admin (and possibly the user) with an alter user command to their account;
alter user USERNAME set default_warehouse = 'WAREHOUSE_NAME';
This could also be set as a hardcoded jdbc parameter as a variable or a string; by setting the variable warehouse and passing in the WAREHOUSE_NAME.