Skip to content

Commit f94cd4e

Browse files
authored
Merge pull request ClickHouse#78864 from jsc0218/fix_00157_cache_dictionary
Fix 00157_cache_dictionary Timeout
2 parents 90b1318 + a6feb4c commit f94cd4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/queries/0_stateless/00157_cache_dictionary.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ ENGINE = MergeTree
77
PARTITION BY toYYYYMM(EventDate)
88
ORDER BY (CounterID, EventDate, intHash32(UserID))
99
SAMPLE BY intHash32(UserID)
10-
SETTINGS storage_policy = 'default';
10+
SETTINGS storage_policy = 'default',
11+
-- set index_granularity correctly to avoid time out
12+
index_granularity = 8192,
13+
index_granularity_bytes = 10485760;
1114

1215
INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000
1316
SETTINGS min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0, max_block_size = 8192, max_insert_threads = 1, max_threads = 1, max_parallel_replicas=1;

0 commit comments

Comments
 (0)