mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix TotalsHavingTransform.
This commit is contained in:
parent
fe3221d0e4
commit
e68775e3d0
@ -161,6 +161,8 @@ void TotalsHavingTransform::transform(Chunk & chunk)
|
|||||||
if (const_filter_description.always_true)
|
if (const_filter_description.always_true)
|
||||||
{
|
{
|
||||||
addToTotals(chunk, nullptr);
|
addToTotals(chunk, nullptr);
|
||||||
|
auto num_rows = columns.front()->size();
|
||||||
|
chunk.setColumns(std::move(columns), num_rows);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user