diff --git a/cpp/src/common/fs_util.cpp b/cpp/src/common/fs_util.cpp index ec31ddf0..9cc0517d 100644 --- a/cpp/src/common/fs_util.cpp +++ b/cpp/src/common/fs_util.cpp @@ -25,6 +25,8 @@ Result> BuildFileSystem(const std::string if (schema == "s3") { ASSIGN_OR_RETURN_ARROW_NOT_OK(auto option, arrow::fs::S3Options::FromUri(uri_parser)); ASSIGN_OR_RETURN_ARROW_NOT_OK(auto fs, arrow::fs::S3FileSystem::Make(option)); + + RETURN_ARROW_NOT_OK(arrow::fs::InitializeS3(arrow::fs::S3GlobalOptions{})); return std::shared_ptr(fs); }