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

feita há 2 anos1043 visualizações
1 Resposta
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
ESPECIALISTA
Behram
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas