amazon-web-services - 是否可以使用 AWS Athena 查询压缩文件?

标签 amazon-web-services amazon-s3 amazon-athena

我们正在将数据库上传到 AWS S3。最近,我们决定以压缩格式 (zip) 上传数据库,并在需要时使用 python 应用程序将其解压缩并使用 AWS Athena 查询数据库。

有没有Athena无需解压就能读取的压缩格式?

最佳答案

来自Compression Formats - Amazon Athena :

Athena supports the following compression formats:

  • SNAPPY (Default compression format for files in the Parquet format)
  • ZLIB. (Default compression format for files in the ORC format)
  • GZIP
  • LZO

关于amazon-web-services - 是否可以使用 AWS Athena 查询压缩文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50490144/

相关文章:

amazon-web-services - AWS Kinesis 从过去读取

javascript - 找不到模块 : Can't resolve 'readline'

r - 如何在R中使用sparklyr读取S3文件夹/存储桶中的所有文件?

sql - Amazon Athena 返回 "mismatched input ' partitioned' expecting {, 'with' }"创建分区时出错

sql - 在 AWS Athena 中连接两个表时选择除一列之外的所有列

python - 使用 Lambda 在没有主键的情况下查询 DynamoDB

amazon-web-services - terraform:使用给定的公钥添加OS用户

ruby-on-rails - 将 Amazon SES 与 Rails ActionMailer 结合使用

python - 如何使用 boto 将文件上传到 S3 存储桶中的目录

python-3.x - 将 Pandas 数据帧保存到 S3 的最快方法是什么?