jorisvandenbossche commented on a change in pull request #70:
URL: https://github.com/apache/arrow-cookbook/pull/70#discussion_r709315868
##########
File path: python/source/io.rst
##########
@@ -447,6 +450,27 @@ or :meth:`pyarrow.dataset.Dataset.to_batches` like you
would for a local one.
It is possible to load partitioned data also in the ipc arrow
format or in feather format.
+.. warning::
+
+ If the above code throws an error most likely the reason is your
+ AWS credentials are not set. Follow these instructions to get
Review comment:
Yeah, I wouldn't suggest changing the actual example again to use
`filesystem` instead of a URI. But in the warning box it might still be worth
mentioning the `anonymous` flag (and that you can then pass it with
`filesystem=`), as based on my reading of #56, it might solve similar errors.
Now, it's not really clear to me when what is a exactly giving problems. In
#56 it's having credentials set that makes reading the public bucket not work,
except if you use anonymous flag, while the explanation added in the PR above
seems to indicate that _setting_ credentials can help.
--
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]