Is there a way to iterate through s3 object content using a SQL expression?
问题 I would like to iterate through each s3 bucket object and use a sql expression to find all the content that match the sql. I was able to create a python script that lists all the objects inside my bucket. import boto3 s3 = boto3.resource('s3') bucket = s3.Bucket('bucketname') startAfter = 'bucketname/directory' for obj in bucket.objects.all(): print(obj.key) I was also able to create a python script that uses a sql expression to look through the object content. import boto3 S3_BUCKET =