我想使用雅典娜分析多个s3库存。
我有多个s3库存,用于多个桶。
我想把所有的存货都放在一张表里。
你能给我个主意吗?
发布于 2018-10-03 21:48:56
如果您的文件具有与我建议使用表分区功能相同的架构。您可以创建分区表,然后将每个桶作为分区添加。
https://docs.aws.amazon.com/athena/latest/ug/partitions.html
您也可以使用Glue Crawler:
https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html#schema-crawlers-data-sources
https://stackoverflow.com/questions/52267970
复制相似问题