amoeba commented on code in PR #38267:
URL: https://github.com/apache/arrow/pull/38267#discussion_r1359655094


##########
cpp/src/arrow/filesystem/s3fs.h:
##########
@@ -334,13 +334,22 @@ struct ARROW_EXPORT S3GlobalOptions {
   int num_event_loop_threads = 1;
 };
 
-/// \brief Initialize the S3 APIs.
+/// \brief Initialize the S3 APIs with default options.
 ///
 /// It is required to call this function at least once before using 
S3FileSystem.
 ///
 /// Once this function is called you MUST call FinalizeS3 before the end of the
 /// application in order to avoid a segmentation fault at shutdown.
 ARROW_EXPORT
+Status InitializeS3();
+
+/// \brief Initialize the S3 APIs with the specified set of options.
+///
+/// It is required to call this function at least once before using 
S3FileSystem.
+///
+/// Once this function is called you MUST call FinalizeS3 before the end of the
+/// application in order to avoid a segmentation fault at shutdown.ARROW_EXPORT

Review Comment:
   Whoops, good catch, thanks.



-- 
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]

Reply via email to