mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
Fix build.
This commit is contained in:
parent
c05331656f
commit
d77a907df4
@ -16,9 +16,9 @@ VersionedCollapsingTransform::VersionedCollapsingTransform(
|
||||
: IMergingTransform(num_inputs, header, header, max_block_size, use_average_block_sizes, true)
|
||||
, description(std::move(description_))
|
||||
, out_row_sources_buf(out_row_sources_buf_)
|
||||
, max_rows_in_queue(MAX_ROWS_IN_MULTIVERSION_QUEUE - 2)
|
||||
, current_keys(max_rows_in_queue + 1)
|
||||
, chunk_allocator(num_inputs + max_rows_in_queue + 1)
|
||||
, max_rows_in_queue(MAX_ROWS_IN_MULTIVERSION_QUEUE - 1) /// -1 for +1 in FixedSizeDequeWithGaps's internal buffer
|
||||
, current_keys(max_rows_in_queue)
|
||||
, chunk_allocator(num_inputs + max_rows_in_queue + 1) /// +1 just in case (for current_row)
|
||||
{
|
||||
sign_column_number = header.getPositionByName(sign_column_);
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ private:
|
||||
{
|
||||
if (size() + 1 == container.size())
|
||||
throw Exception("Not enough space to insert into FixedSizeDequeWithGaps with capacity "
|
||||
+ toString(container.size() - 1), ErrorCodes::LOGICAL_ERROR);
|
||||
+ std::to_string(container.size() - 1), ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
|
||||
void checkHasValuesToRemove() const
|
||||
|
Loading…
Reference in New Issue
Block a user