Redshift Insert into s3 file data into existing table

0

In Redshift, How do I insert into an existing table (table name: 'container_tv') from this s3 file: https://###-west-1.amazonaws.com/###/###/###.csv

已提问 2 年前1011 查看次数
1 回答
1

Easiest way is to use COPY command. Details and examples are [here] (https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html).

Alternately, you create an external table using Redshift Spectrum and then use 'Insert Into Select from' in Redshift to load this external table data into Redshift core table.

AWS
专家
Behram
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则