[英]How can I create a table with only some specific files (wildcard) using Amazon Athena?
[英]How can we create database and table in Amazon Athena using CloudFormation
有什么方法可以使用 CloudFormation 在 Amazon Athena 中創建數據庫和表。 我參考了 AWS 文檔,似乎只有一種資源可以使用 CloudFormation 創建。
參考:
現在可以通過 Glue 數據目錄在 CloudFormation 中創建 Athena 表: https : //docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
我認為它可能與( https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Athena.html )AWS::Athena::WorkGroup & AWS::Athena::NamedQuery
**NamesQuery - 您將在其中提供 SQL/DDL 以創建表。
來自 AWS 的示例
https://athena-in-action.workshop.aws/20-howtostart/201-self-paced/2013-cloudformation.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.