AWS SDK integration formatting issues.

This commit is contained in:
Pavel Kovalenko 2019-12-06 18:14:39 +03:00 committed by Pavel Kovalenko
parent dbcc06cc80
commit 621d3dd2d1
2 changed files with 8 additions and 4 deletions

View File

@ -11,13 +11,16 @@
#include <aws/core/auth/AWSCredentialsProvider.h>
namespace DB {
namespace DB
{
namespace ErrorCodes {
namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
}
namespace S3 {
namespace S3
{
Aws::SDKOptions ClientFactory::aws_options;
ClientFactory::ClientFactory()

View File

@ -147,7 +147,8 @@ void WriteBufferFromS3::complete()
req.SetUploadId(upload_id);
Aws::S3::Model::CompletedMultipartUpload multipart_upload;
for (size_t i = 0; i < part_tags.size(); i++) {
for (size_t i = 0; i < part_tags.size(); i++)
{
Aws::S3::Model::CompletedPart part;
multipart_upload.AddParts(part.WithETag(part_tags[i]).WithPartNumber(i + 1));
}