kou commented on issue #36974:
URL: https://github.com/apache/arrow/issues/36974#issuecomment-1661127660

   I agree with a finalization API that can be called with/without S3 makes 
user codes simpler.
   
   We can use the following code for now:
   
   ```cpp
   #include <arrow/util/config.h>
   #ifdef ARROW_S3
   #  include <arrow/filesystem/s3fs.h>
   #endif
   
   // ...
   #ifdef ARROW_S3
     arrow::fs::EnsureS3Finalized();
   #endif
   ```
   
   You don't need to use `dlopen()`.


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