MCPcopy Create free account
hub / github.com/apache/arrow / InitializeS3

Function InitializeS3

cpp/src/arrow/filesystem/s3fs.cc:3524–3533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3522} // namespace
3523
3524Status InitializeS3(const S3GlobalOptions& options) {
3525 ARROW_ASSIGN_OR_RAISE(bool successfully_initialized,
3526 EnsureAwsInstanceInitialized(options));
3527 if (!successfully_initialized) {
3528 return Status::Invalid(
3529 "S3 was already initialized. It is safe to use but the options passed in this "
3530 "call have been ignored.");
3531 }
3532 return Status::OK();
3533}
3534
3535Status EnsureS3Initialized() {
3536 return EnsureAwsInstanceInitialized(S3GlobalOptions::Defaults()).status();

Callers 3

garrow_s3_initializeFunction · 0.85
TestMainFunction · 0.85
SetUpMethod · 0.85

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by 2

TestMainFunction · 0.68
SetUpMethod · 0.68