aws s3 select可以与多个文件一起使用吗?

问题描述:

我正在使用S3 select从S3存储桶中的文件中查询对象,但想知道我是否可以对多个文件进行处理,或者它是否仅限于一个.我使用aws lambda从一个文件中写了一个查询,但是当我尝试为另一个文件写另一个查询时,这给了我一条错误消息.

I'm using S3 select to query a object from a file in S3 bucket but wondering if I can do it with multiple files or if its limited to just one. I wrote one query from a file using aws lambda but when I tried writing another one for a different file it gave me a error message.

Amazon S3 Select操作

Amazon S3 Select operates on only one object.

要使用SQL语法在S3上一次查询多个文件,应使用

To query multiple files at once on S3 with a SQL syntax you should use Amazon Athena.