I am trying to connect to snowflake DB and activate a particular warehouse.I have used warehouse in both JDBC connection
jdbc:snowflake://xy12345.eu-central-1.snowflakecomputing.com/?warehouse=mywh
as well as in the properties
options.put("warehouse", "mywh")
Is there anything else that needs to be added .
Even if I am giving an incorrect warehouse , the connection goes through which is not right . Am I missing anything or is there anyway to execute "use warehouse mywh" through spark .
Thanks