pcmoritz commented on PR #13979:
URL: https://github.com/apache/arrow/pull/13979#issuecomment-1230859731
Yes of course! For example for loading a dataset from
`s3://pcmoritz-test-bucket-arrow-errors/test.csv` (the bucket has all access
permissions revoked):
After:
```
When getting information for key 'test.csv' in bucket
'pcmoritz-test-bucket-arrow-errors': AWS Error [code 15] during HeadObject
call: No response body.
```
Before:
```
When getting information for key 'test.csv' in bucket
'pcmoritz-test-bucket-arrow-errors': AWS Error [code 15]: No response body.
```
For comparison, this is the boto3 error:
```
import boto3
client = boto3.client('s3')
client.download_file('pcmoritz-test-bucket-arrow-errors', 'test.csv',
'/tmp/test.csv')
ClientError: An error occurred (400) when calling the HeadObject operation:
Bad Request
```
I'm happy to use the exact same phrasing as boto3 if that's desired -- I'll
do a follow up PR with the error codes substituted with actual errors and can
change it then if desired.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]