Weston Pace created ARROW-13228:
-----------------------------------
Summary: [C++] S3 CreateBucket fails when us-east-1 is not the
default region
Key: ARROW-13228
URL: https://issues.apache.org/jira/browse/ARROW-13228
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Weston Pace
When you create a bucket you must specify a locationconstraint if the region is
not us-east-1. This works if you specify a region but fails if you use the
default region (and the default region has been configured to NOT be us-east-1).
When you create a bucket you must NOT specify a locationconstraint if the
region is us-east-1. This fails (Arrow specifies the locationconstraint and
receives an error "InvalidLocationConstraint Message: The specified
location-constraint is not valid").
CreateBucket is getting the region from options().region which is the empty
string if the user didn't specify a region.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)