wjones127 commented on code in PR #13206:
URL: https://github.com/apache/arrow/pull/13206#discussion_r886897936
##########
cpp/src/arrow/filesystem/s3fs.cc:
##########
@@ -353,6 +354,12 @@ Result<S3Options> S3Options::FromUri(const Uri& uri,
std::string* out_path) {
options.scheme = kv.second;
} else if (kv.first == "endpoint_override") {
options.endpoint_override = kv.second;
+ } else if (kv.first == "allow_bucket_creation") {
+ options.allow_bucket_creation =
+ ::arrow::internal::AsciiEqualsCaseInsensitive(kv.second, "true");
+ } else if (kv.first == "allow_bucket_deletion") {
+ options.allow_bucket_deletion =
+ ::arrow::internal::AsciiEqualsCaseInsensitive(kv.second, "true");
Review Comment:
Sounds good. I didn't see any existing utility function to do this, so maybe
I will create one.
--
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]