This commit is contained in:
Nikita Vasilev 2020-02-01 21:19:39 +03:00
parent 21577c3395
commit d0cc94f015
2 changed files with 7 additions and 1 deletions

View File

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

View File

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