From f59d35efd8fb38d7e856fb95d330d59a1aaa308b Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Thu, 15 Apr 2021 10:53:00 +0300 Subject: [PATCH] Rebase fix. --- src/Storages/StorageS3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/StorageS3.cpp b/src/Storages/StorageS3.cpp index 84d6b7a3b4b..c2632362fc2 100644 --- a/src/Storages/StorageS3.cpp +++ b/src/Storages/StorageS3.cpp @@ -199,7 +199,7 @@ bool StorageS3Source::initialize() file_path = bucket + "/" + current_key; read_buf = wrapReadBufferWithCompressionMethod( - std::make_unique(client, bucket, current_key), chooseCompressionMethod(current_key, compression_hint)); + std::make_unique(client, bucket, current_key, s3_max_single_read_retries), chooseCompressionMethod(current_key, compression_hint)); auto input_format = FormatFactory::instance().getInput(format, *read_buf, sample_block, getContext(), max_block_size); reader = std::make_shared(input_format);