From f1aebbe927e27746891e4321501d38bbe57753f0 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sat, 8 May 2021 20:43:01 +0300 Subject: [PATCH] Check that totals correctly calculated in 01865_aggregator_overflow_row Change aggregation function to uniqCombined() to check this. --- .../queries/0_stateless/01865_aggregator_overflow_row.reference | 2 +- tests/queries/0_stateless/01865_aggregator_overflow_row.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01865_aggregator_overflow_row.reference b/tests/queries/0_stateless/01865_aggregator_overflow_row.reference index b29fb58a681..b6cfb5c6eee 100644 --- a/tests/queries/0_stateless/01865_aggregator_overflow_row.reference +++ b/tests/queries/0_stateless/01865_aggregator_overflow_row.reference @@ -9,4 +9,4 @@ 1 1 -10000 +10020 diff --git a/tests/queries/0_stateless/01865_aggregator_overflow_row.sql b/tests/queries/0_stateless/01865_aggregator_overflow_row.sql index be12aa6198a..bd7e431ec13 100644 --- a/tests/queries/0_stateless/01865_aggregator_overflow_row.sql +++ b/tests/queries/0_stateless/01865_aggregator_overflow_row.sql @@ -1,4 +1,4 @@ -SELECT count() +SELECT uniqCombined(number) FROM numbers(10000) GROUP BY number WITH TOTALS