我正在通过Azure数据工厂从IBMi系统摄取数据到Snowflake。
在雪花方面,我有一个集成,它有允许的存储位置列表,它有我正在使用的Azure位置。
然而,我得到了错误: SQL编译错误:位置不允许集成。请使用DESC集成来检查允许和阻止的位置。
有没有人能建议我为什么会得到这个。
附言:这是工作了很长一段时间。它从上周五开始就不工作了。
谢谢
发布于 2021-10-26 02:08:13
可以在storage_allowed_locations中使用*通配符进行测试,这意味着“允许访问所有存储桶和/或路径”。参考:https://docs.snowflake.com/en/sql-reference/sql/create-storage-integration.html
示例:
create storage integration azure_int
type = external_stage
storage_provider = azure
enabled = true
azure_tenant_id = 'a123b4c5-1234-123a-a12b-1a23b45678c9'
storage_allowed_locations = ('*')
storage_blocked_locations =
('azure://myaccount.blob.core.windows.net/mycontainer/path3/',
'azure://myaccount.blob.core.windows.net/mycontainer/path4/');
https://stackoverflow.com/questions/69703068
复制相似问题