mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Merging S3: Moved S3 settings to <s3> in config to correspond to <merge_tree> and <kafka>
This commit is contained in:
parent
c03857b2ae
commit
bdea16e308
@ -84,7 +84,7 @@ namespace
|
||||
const ConnectionTimeouts & timeouts)
|
||||
: sample_block(sample_block_)
|
||||
{
|
||||
auto minimum_upload_part_size = context.getConfigRef().getUInt64("s3_minimum_upload_part_size", 512 * 1024 * 1024);
|
||||
auto minimum_upload_part_size = context.getConfigRef().getUInt64("s3.minimum_upload_part_size", 512 * 1024 * 1024);
|
||||
write_buf = std::make_unique<WriteBufferFromS3>(uri, minimum_upload_part_size, timeouts);
|
||||
writer = FormatFactory::instance().getOutput(format, *write_buf, sample_block, context);
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
<yandex>
|
||||
<s3_minimum_upload_part_size>1000000</s3_minimum_upload_part_size>
|
||||
<s3>
|
||||
<minimum_upload_part_size>1000000</minimum_upload_part_size>
|
||||
</s3>
|
||||
</yandex>
|
||||
|
Loading…
Reference in New Issue
Block a user