Fix TotalsHavingTransform.

This commit is contained in:
Nikolai Kochetov 2019-08-21 17:51:32 +03:00
parent fe3221d0e4
commit e68775e3d0

View File

@ -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;
}