From d0cc94f0156776a73cc9ce990da84b986260664a Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Sat, 1 Feb 2020 21:19:39 +0300 Subject: [PATCH] upd test --- .../tests/queries/0_stateless/01053_ssd_dictionary.reference | 5 ++++- dbms/tests/queries/0_stateless/01053_ssd_dictionary.sql | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dbms/tests/queries/0_stateless/01053_ssd_dictionary.reference b/dbms/tests/queries/0_stateless/01053_ssd_dictionary.reference index 8035fc015f1..3fd425ceebb 100644 --- a/dbms/tests/queries/0_stateless/01053_ssd_dictionary.reference +++ b/dbms/tests/queries/0_stateless/01053_ssd_dictionary.reference @@ -4,10 +4,13 @@ TEST_SMALL 6 0 database -none +a 1 100 -100 clickhouse 2 3 4 database +3 0 -1 a +4 0 -1 a 5 6 7 columns +6 0 -1 a UPDATE DICTIONARY 118 VALUE FROM DISK diff --git a/dbms/tests/queries/0_stateless/01053_ssd_dictionary.sql b/dbms/tests/queries/0_stateless/01053_ssd_dictionary.sql index 7311d389470..9f027cd2039 100644 --- a/dbms/tests/queries/0_stateless/01053_ssd_dictionary.sql +++ b/dbms/tests/queries/0_stateless/01053_ssd_dictionary.sql @@ -17,6 +17,9 @@ ENGINE = MergeTree() ORDER BY id; INSERT INTO database_for_dict.table_for_dict VALUES (1, 100, -100, 'clickhouse'), (2, 3, 4, 'database'), (5, 6, 7, 'columns'), (10, 9, 8, ''); +INSERT INTO database_for_dict.table_for_dict SELECT number, 0, -1, 'a' FROM system.numbers WHERE number NOT IN (1, 2, 5, 10) LIMIT 370; +INSERT INTO database_for_dict.table_for_dict SELECT number, 0, -1, 'b' FROM system.numbers LIMIT 370, 370; +INSERT INTO database_for_dict.table_for_dict SELECT number, 0, -1, 'c' FROM system.numbers LIMIT 700, 370; DROP DICTIONARY IF EXISTS database_for_dict.ssd_dict;