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;