是否可以在具有两种不同格式文件的 S3 上运行 AWS Athena?
我有一台 S3,其中有一长串两种不同格式的文件! 包含“log”一词的 CSV 文件有 10 列,包含“sever”一词的 CSV 文件有 20 列(变量也不同)
是否可以在 S3 上使用 Athena 运行并仅查询“log”文件?如果是这样,该怎么做?
I have an S3 that has a long list of files in two different formats!
CSV files that contain the word "log" have 10 columns, and CSV files that contain the word "sever" have 20 columns (The variables are also different)
Is it possible to run with Athena on S3 and query only the "log" files? and if so, how to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,Athena 将读取表(或每个分区)
LOCATION
中的所有文件。无法将其配置为仅读取某些文件。No, Athena will read all files in the table's (or each partition's)
LOCATION
. There is no way to configure it to read only some files.