Merging S3: Moved S3 settings to <s3> in config to correspond to <merge_tree> and <kafka>

This commit is contained in:
Alexey Milovidov 2019-09-23 01:44:10 +03:00
parent c03857b2ae
commit bdea16e308
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}

View File

@ -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>