mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fixed error [#CLICKHOUSE-2]
This commit is contained in:
parent
b2ec7ce6b2
commit
3f07a1af51
@ -25,7 +25,11 @@ Block SquashingBlockInputStream::readImpl()
|
||||
|
||||
SquashingTransform::Result result = transform.add(block.mutateColumns());
|
||||
if (result.ready)
|
||||
{
|
||||
if (result.columns.empty())
|
||||
return {};
|
||||
return header.cloneWithColumns(std::move(result.columns));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user