select_object_content not working in latest boto3 #4313
Labels
bug
This issue is a confirmed bug.
p0
This issue is the highest priority
potential-regression
Marking this issue as a potential regression to be checked by team member
Describe the bug
s3_client.select_object_content()
has stopped working in the latest boto3 release (possibly more). It fails withTypeError: a bytes-like object is required, not 'HTTPResponse'
Regression Issue
Expected Behavior
A successful response that points to bucket data when issuing a query such as:
Response with boto3 1.34.148 (from about 3 months ago):
Current Behavior
In the latest boto3 1.35.45 I get a stack trace:
Reproduction Steps
Perform an S3 query with boto3 1.35.45 similar to that described in Expected Behavior
Possible Solution
Revert the code change that introduced the issue
Additional Information/Context
No response
SDK version used
1.35.45
Environment details (OS name and version, etc.)
MacOS (ARM) and Lambda (x86)
The text was updated successfully, but these errors were encountered: