From 6e11c8a1a2bc4809a4bd31418389570c190cf7d9 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 13 May 2020 03:16:17 +0300 Subject: [PATCH] Add test for missing items in string hashtables via GROUP BY --- tests/queries/0_stateless/01279_dist_group_by.reference | 0 tests/queries/0_stateless/01279_dist_group_by.sql | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 tests/queries/0_stateless/01279_dist_group_by.reference create mode 100644 tests/queries/0_stateless/01279_dist_group_by.sql diff --git a/tests/queries/0_stateless/01279_dist_group_by.reference b/tests/queries/0_stateless/01279_dist_group_by.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/01279_dist_group_by.sql b/tests/queries/0_stateless/01279_dist_group_by.sql new file mode 100644 index 00000000000..207b203f5d0 --- /dev/null +++ b/tests/queries/0_stateless/01279_dist_group_by.sql @@ -0,0 +1,9 @@ +drop table if exists data_01279; + +create table data_01279 (key String) Engine=TinyLog(); +insert into data_01279 select reinterpretAsString(number) from numbers(100000); + +set max_rows_to_group_by=10; +set group_by_overflow_mode='any'; +set group_by_two_level_threshold=100; +select * from data_01279 group by key format Null;