Snowflake集成以将数据卸载到Azure存储中:新的外部阶段出现在不同资源组中

问题描述

希望你能帮我这个忙。

我有两个位置的存储集成。我可以将数据卸载到第一个URL,但第二个不起作用。当我运行“显示阶段”时,我发现新阶段的区域与现有功能阶段的区域不同。

我尝试过

ALTER STAGE stage2 SET REGION = 'uksouth' 

它仍然显示'westeurope'

这是我的代码

create or replace storage integration azure_int
  type = external_stage
  storage_provider = azure
  enabled = true
  azure_tenant_id = '########-####-####-####-############'
  storage_allowed_locations = (
     'azure://storageaccount1.blob.core.windows.net/mycontainer1/','azure://storageaccount2.blob.core.windows.net/mycontainer2/'
  )
   
  create or replace stage stage1
    storage_integration = azure_int
    url = 'azure://storageaccount1.blob.core.windows.net/mycontainer1/folder1/'
    file_format = my_csv_format;

  create or replace stage stage2
    storage_integration = azure_int
    url = 'azure://storageaccount2.blob.core.windows.net/mycontainer2/folder2/'
    file_format = my_csv_format;

复制到stage1可以很好地工作,但是使用stage2时,它可以一直运行并且永远都不会完成。

两个存储帐户的区域均为UK South。两者之间的唯一区别是它们生活在不同的资源组中(均为UK South)。

以前有人遇到过类似的问题吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)