1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 你好,
SQL中的视图是逻辑对象,按设计是短暂的。
如果客户需求是要有视图的永久副本,他们应该使用CTAS。
如果他们的目标实际上是保存查询结果(在该视图上或甚至在表上运行),他们可以按照此文档中的说明操作(要备份完整视图,他们可以运行“Select * from View”):
https://aws.amazon.com/premiumsupport/knowledge-center/access-download-athena-query-results/
https://docs.aws.amazon.com/athena/latest/ug/querying.html#query-results-specify-location
希望这有所帮助。
Relevant content
- asked a year ago
- Accepted Answerasked 10 months ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago