pitrou commented on issue #41365:
URL: https://github.com/apache/arrow/issues/41365#issuecomment-2331335872

   There are all kinds of failure modes:
   ```python
   >>> pq.read_table("/local file")
   Traceback (most recent call last):
     ...
   FileNotFoundError: /local file
   
   >>> pq.read_table("local file")
   Traceback (most recent call last):
     ...
   FileNotFoundError: local file
   
   >>> pq.read_table("s3://invalid bucket/bar")
   Traceback (most recent call last):
     ...
   ArrowInvalid: Expected a local filesystem path, got a URI: 's3://invalid 
bucket/bar'
   
   >>> pq.read_table("s3://really-nonexistent-bucket/bar")
   Traceback (most recent call last):
     ...
   OSError: Bucket 'really-nonexistent-bucket' not found
   ```
   


-- 
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]

Reply via email to