【发布时间】:2022-01-21 21:38:39
【问题描述】:
我创建了一个 Snowflake 存储集成,如下所示:
create or replace storage integration s3_int
type = external_stage
storage_provider = s3
enabled = TRUE
storage_aws_role_arn = 'arn:aws:iam::xxx'
storage_allowed_locations = ('S3://location1',
's3://location2',
's3://location4',
's3://location5',
's3://location6',
's3://location7',
's3://location8');
现在我想再添加 2 个位置,我知道我可以使用 SET storage_allowed_locations,如下所示:
ALTER STORAGE INTEGRATION s3_int
SET storage_allowed_locations = ('S3://location1',
's3://location2',
's3://location4',
's3://location5',
's3://location6',
's3://location7',
's3://location8',
's3://location9',
's3://location10');
但问题是,随着时间的推移,我将在这个storage_allowed_location 列表中添加越来越多的位置。我是否总是必须提供整个位置列表并在其末尾添加新位置?它最终会变得超级漫长和烦人。您知道是否有其他方法可以在现有位置列表中添加/追加新位置?
【问题讨论】:
标签: snowflake-cloud-data-platform