OliLay commented on code in PR #41564:
URL: https://github.com/apache/arrow/pull/41564#discussion_r1604485403
##########
cpp/src/arrow/filesystem/s3fs.h:
##########
@@ -166,6 +166,13 @@ struct ARROW_EXPORT S3Options {
/// Whether to allow deletion of buckets
bool allow_bucket_deletion = false;
+ /// Whether to sanitize that a bucket can be written to when calling
OpenOutputStream.
+ /// Disabling this will lead to less S3 requests issued and is therefore
relevant
+ /// for latency-sensitive applications, at the cost of the OutputStream may
throwing an
+ /// exception at a later stage (i.e. at writing or closing) if e.g. the
bucket does not
+ /// exist.
+ bool sanitize_bucket_on_open = true;
Review Comment:
Yes, I like this much more :+1:
--
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]