Snowflake cloud data platform 雪花Jitterbit连接器错误:net.Snowflake.client.jdbc.SnowflakeSQLException:当前会话中未选择活动仓库

Snowflake cloud data platform 雪花Jitterbit连接器错误:net.Snowflake.client.jdbc.SnowflakeSQLException:当前会话中未选择活动仓库,snowflake-cloud-data-platform,jitterbit,Snowflake Cloud Data Platform,Jitterbit,我在尝试通过Jitterbit cloud studio连接到Snowflake时收到以下错误: 错误 错误代码:snowflake07 堆栈跟踪: Error executing get activity. ,Stack Trace: org.jitterbit.connector.sdk.exceptions.ActivityExecutionException: Error executing get activity. at org.jitterbit.connector.snowfla

我在尝试通过Jitterbit cloud studio连接到Snowflake时收到以下错误:

错误

错误代码:snowflake07

堆栈跟踪:

Error executing get activity. ,Stack Trace: org.jitterbit.connector.sdk.exceptions.ActivityExecutionException: Error executing get activity.
at org.jitterbit.connector.snowflake.activities.GetActivity.execute(GetActivity.java:94)
...
at java.lang.Thread.run(Thread.java:748)

Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: No active warehouse selected in the current session. Select an active warehouse with the 'use warehouse' command.


The integration is configured in Jitterbit but not sure what setting I need to update in Snowflake to make a GET call.
Or is there a way to use the "USE WAREHOUSE" command in Jitterbit before connecting to Snowflake?
Snowflake需要“计算”资源来运行查询,这些计算资源称为仓库。大多数客户机工具允许您设置登录/配置参数,这是他们为计算设置仓库的地方

如果Jitterbit不允许这样做(尽管我认为它是JDBC,所以应该是这样),也许您可以简单地为正在登录的用户设置一个默认的计算仓库,为此您可以发出一个ALTER user命令,如以下所示:

ALTER USER your_user_id_here SET DEFAULT_WAREHOUSE = your_warehouse_name;

为用户设置默认仓库最有可能让您解决初始连接问题

我希望这有帮助…Rich Murnane