You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/08 16:26:39 UTC

[GitHub] [arrow] wjones127 commented on a diff in pull request #14599: ARROW-18238: [Docs][Python] Improve docs for S3FileSystem

wjones127 commented on code in PR #14599:
URL: https://github.com/apache/arrow/pull/14599#discussion_r1016857376


##########
docs/source/python/filesystems.rst:
##########
@@ -178,11 +179,31 @@ Example how you can read contents from a S3 bucket::
    >>> f.readall()
    b'some data'
 
+
+Note that it is important to configure :class:`S3FileSystem` with the correct
+region for the bucket being used. If `region` is not set, the AWS SDK will
+choose a value, defaulting to 'us-east-1' if the SDK version is <1.8.
+Otherwise it'll try to use a variety of heuristics to resolve the region.
+
+It is also possible to resolve the region for :class:`S3FileSystem` by using

Review Comment:
   ```suggestion
   It is also possible to resolve the region using the bucket name for :class:`S3FileSystem` by using
   ```



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org