mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Update MergeTreeData.cpp
This commit is contained in:
parent
fdb7e080be
commit
4877aa394c
@ -1032,7 +1032,7 @@ MergeTreeData::AlterDataPartTransactionPtr MergeTreeData::alterDataPart(
|
||||
|
||||
auto compression_method = this->context.chooseCompressionMethod(
|
||||
this->getTotalActiveSizeInBytes(),
|
||||
static_cast<double> (this->getTotalCompressedSize()) / this->getTotalActiveSizeInBytes());
|
||||
static_cast<double>(this->getTotalCompressedSize()) / this->getTotalActiveSizeInBytes());
|
||||
ExpressionBlockInputStream in(part_in, expression);
|
||||
MergedColumnOnlyOutputStream out(*this, full_path + part->name + '/', true, compression_method, false);
|
||||
in.readPrefix();
|
||||
|
Loading…
Reference in New Issue
Block a user