Rebase fix.

This commit is contained in:
Vladimir Chebotarev 2021-04-15 10:53:00 +03:00
parent 817c5cec25
commit f59d35efd8

View File

@ -199,7 +199,7 @@ bool StorageS3Source::initialize()
file_path = bucket + "/" + current_key; file_path = bucket + "/" + current_key;
read_buf = wrapReadBufferWithCompressionMethod( read_buf = wrapReadBufferWithCompressionMethod(
std::make_unique<ReadBufferFromS3>(client, bucket, current_key), chooseCompressionMethod(current_key, compression_hint)); std::make_unique<ReadBufferFromS3>(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); auto input_format = FormatFactory::instance().getInput(format, *read_buf, sample_block, getContext(), max_block_size);
reader = std::make_shared<InputStreamFromInputFormat>(input_format); reader = std::make_shared<InputStreamFromInputFormat>(input_format);