mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +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)
|
||||
{
|
||||
addToTotals(chunk, nullptr);
|
||||
auto num_rows = columns.front()->size();
|
||||
chunk.setColumns(std::move(columns), num_rows);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user