如何更改存储在 S3 中的 Athena 结果的名称? [英] How to change the name of the Athena results stored in S3?
本文介绍了如何更改存储在 S3 中的 Athena 结果的名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Athena 查询的结果保存在 S3 中的查询 id(一个长字符串)中.我想知道是否有办法使用预先指定的名称保存查询结果?(稍后可以轻松查找)
The results of Athena query is saved by the query id (a long string) in S3. I was wondering if there's a way to save the results of the query with a pre-specified name? (that can later be easily looked up)
推荐答案
不幸的是没有(至少现在没有)!目前最好的方法是编写一个脚本来检查每次运行的所有结果并重命名(移动+删除)该 s3 存储桶中的所有文件!
unfortunately no (at least not yet)! the best way to do this as of now is to write a script to go through all the results of each run and rename (moving+deleting) all the files in that s3 bucket!
这篇关于如何更改存储在 S3 中的 Athena 结果的名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文