-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using VPC endpoint and PandasCursor together #576
Comments
Maybe the endpoint_url setting isn't being passed to the S3 client. 🤔 |
Thank you for your reply. PyAthena/pyathena/filesystem/s3.py Lines 72 to 78 in 2787190
|
https://github.com/laughingman7743/PyAthena/blob/master/pyathena/pandas/result_set.py#L264 |
I am accessing Athena from a closed network via a VPC endpoint.
Specifying the URL of the VPC endpoint to
endpoint_url=
works as expected, but it did not work well when used withPandasCursor
.I checked code and found that when creating a boto3 client for S3,
endpoint_url=
is also applied, and I suspect that is the cause of the error.If possible, I would appreciate it if
endpoint_url=
andPandasCursor
can be used together.The text was updated successfully, but these errors were encountered: