是否可以使用 AWS Athena 查询压缩文件?
Is it possible to query through a compressed file using AWS 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
我们正在将数据库上传到 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