Skip to content

Commit afe1899

Browse files
committed
Update bucket paths
1 parent 37457d7 commit afe1899

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/python/dataset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ a file system object can be created and passed to the ``filesystem`` keyword:
359359
360360
from pyarrow import fs
361361
362-
s3 = fs.S3FileSystem(region="us-east-2")
362+
s3 = fs.S3FileSystem(region="us-east-1")
363363
dataset = ds.dataset("arrow-datasets/nyc-taxi/", filesystem=s3)
364364
365365
The currently available classes are :class:`~pyarrow.fs.S3FileSystem` and

python/pyarrow/_s3fs.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def resolve_s3_region(bucket):
9292
Examples
9393
--------
9494
>>> fs.resolve_s3_region('arrow-datasets')
95-
'us-east-2'
95+
'us-east-1'
9696
"""
9797
cdef:
9898
c_string c_bucket

r/tests/testthat/test-filesystem.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ test_that("FileSystem$from_uri", {
148148
skip_if_offline()
149149
fs_and_path <- FileSystem$from_uri("s3://arrow-datasets")
150150
expect_r6_class(fs_and_path$fs, "S3FileSystem")
151-
expect_identical(fs_and_path$fs$region, "us-east-2")
151+
expect_identical(fs_and_path$fs$region, "us-east-1")
152152
})
153153

154154
test_that("SubTreeFileSystem$create() with URI", {

0 commit comments

Comments
 (0)