spectrum ALTER EXTERNAL TABLE to add column

0

Is it possible to use ALTER EXTERNAL TABLE to add columns? or the whole table needs to be dropped & re-created with all partitions ?

Thanks

ylp2
preguntada hace 4 años1692 visualizaciones
1 Respuesta
0

Hi yip2,

The Redshift doc clearly explains that you can alter an external table to add a column, but there are limitation to what other clauses and column properties can be included. See the doc. page here: https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_TABLE.html

I hope this answers your question.

Regards,
-Kurt

klarson
respondido hace 4 años
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas