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
已提問 4 年前檢視次數 1692 次
1 個回答
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
已回答 4 年前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南