mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
Merge branch 'balancing_transform' of https://github.com/yariks5s/ClickHouse into balancing_transform
This commit is contained in:
commit
da1af2b357
@ -11,7 +11,7 @@ namespace ErrorCodes
|
||||
}
|
||||
|
||||
ApplySquashing::ApplySquashing(Block header_)
|
||||
: header(std::move(header_))
|
||||
: header(header_)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1286,6 +1286,7 @@ void PartMergerWriter::prepare()
|
||||
|
||||
for (size_t i = 0, size = ctx->projections_to_build.size(); i < size; ++i)
|
||||
{
|
||||
PlanSquashing plan_squashing(ctx->updated_header, settings.min_insert_block_size_rows, settings.min_insert_block_size_bytes);
|
||||
// We split the materialization into multiple stages similar to the process of INSERT SELECT query.
|
||||
projection_squash_plannings.emplace_back(ctx->updated_header, settings.min_insert_block_size_rows, settings.min_insert_block_size_bytes);
|
||||
projection_squashes.emplace_back(ctx->updated_header);
|
||||
|
Loading…
Reference in New Issue
Block a user