From 6fb9565091264bd0abc5aa43b85eac0db309c682 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 23 Sep 2019 01:06:22 +0300 Subject: [PATCH] Merging S3: removed useless headers --- dbms/src/IO/WriteBufferFromS3.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dbms/src/IO/WriteBufferFromS3.h b/dbms/src/IO/WriteBufferFromS3.h index 0eb689e468f..9afda1d14e2 100644 --- a/dbms/src/IO/WriteBufferFromS3.h +++ b/dbms/src/IO/WriteBufferFromS3.h @@ -1,25 +1,16 @@ #pragma once -#include #include #include #include #include #include #include -#include -#include #include #include #include -#include #include -#include #include -#include -#include -#include -#include namespace DB @@ -36,6 +27,9 @@ private: String buffer_string; std::unique_ptr temporary_buffer; size_t last_part_size; + + /// Upload in S3 is made in parts. + /// We initiate upload, then upload each part and get ETag as a response, and then finish upload with listing all our parts. String upload_id; std::vector part_tags;