mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
Try 1 to fix tests
This commit is contained in:
parent
32114f0260
commit
99f1aa65b3
@ -148,8 +148,11 @@ Block FinishSortingBlockInputStream::readImpl()
|
||||
blocks.push_back(block);
|
||||
}
|
||||
|
||||
impl = std::make_unique<MergeSortingBlocksBlockInputStream>(blocks, description_to_sort, max_merged_block_size, limit);
|
||||
res = impl->read();
|
||||
if (!blocks.empty())
|
||||
{
|
||||
impl = std::make_unique<MergeSortingBlocksBlockInputStream>(blocks, description_to_sort, max_merged_block_size, limit);
|
||||
res = impl->read();
|
||||
}
|
||||
}
|
||||
|
||||
if (res)
|
||||
|
Loading…
Reference in New Issue
Block a user