mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: Aggregator: fixed error [#CONV-8366].
This commit is contained in:
parent
8c4ed5a651
commit
e9551970fb
@ -490,7 +490,7 @@ Block Aggregator::convertToBlock(AggregatedDataVariants & data_variants, bool se
|
||||
{
|
||||
AggregatedDataWithoutKey & data = data_variants.without_key;
|
||||
|
||||
if (separate_totals)
|
||||
if (with_totals && separate_totals)
|
||||
{
|
||||
for (size_t i = 0; i < aggregates_size; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user