【发布时间】:2021-08-04 23:36:48
【问题描述】:
有没有办法将信息架构从 Redshift 卸载到 S3? 尝试卸载信息架构时出现以下错误
错误:Redshift 表不支持指定的类型或函数(每条 INFO 消息一个)。
以下是我用于卸载的查询:
UNLOAD ('select table_schema,
table_name
from information_schema.tables
where table_schema not in (\'information_schema\', \'pg_catalog\')
and table_type = \'BASE TABLE\'
order by table_schema,
table_name;')
TO 's3://xxx/'
iam_role 'arn:aws:iam::xxx';
【问题讨论】:
标签: amazon-web-services amazon-s3 amazon-redshift