mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
Rebase fix.
This commit is contained in:
parent
817c5cec25
commit
f59d35efd8
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user