1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
【以下的回答经过翻译处理】 您可以在 Athena 文档中找到有关向表中添加列的更多信息
或者你可以使用 CTAS
例如,您有一张表
CREATE EXTERNAL TABLE sample_test( id string) LOCATION 's3://bucket/path' and you can create another table from sample_test with the query
CREATE TABLE new_test AS SELECT *, 'new' AS new_col FROM sample_test
您可以在 AS 之后使用任何可用的查询
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전