![](/img/trans.png)
[英]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.