westonpace commented on issue #35876:
URL: https://github.com/apache/arrow/issues/35876#issuecomment-1585145164

   This requirement comes from S3 and is documented 
[here](https://sdk.amazonaws.com/cpp/api/LATEST/root/html/index.html)
   
   > The AWS SDK for C++ must be initialized by calling Aws::InitAPI. Before 
the application terminates, the SDK must be shut down by calling 
Aws::ShutdownAPI. Each method accepts an argument of 
[Aws::SDKOptions](https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-core/html/struct_aws_1_1_s_d_k_options.html)
   > 
   > All other calls to the SDK can be performed between these two method calls.
   >
   > All AWS SDK for C++ calls performed between Aws::InitAPI and 
Aws::ShutdownAPI should either to be contained within a pair of curly braces or 
should be invoked by functions called between the two methods.
   
   The `FinalizeS3` method must be called once and it must be called before the 
application exits (e.g. before any objects with "static storage duration" are 
destroyed)


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to