From efa494b5e4b988cd0a39f2e811f4280521a2fb47 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 30 Dec 2020 16:53:30 +0300 Subject: [PATCH] Fix too long perf test --- tests/performance/array_index_low_cardinality_numbers.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/performance/array_index_low_cardinality_numbers.xml b/tests/performance/array_index_low_cardinality_numbers.xml index a9f0703c9a8..e64913ce26e 100644 --- a/tests/performance/array_index_low_cardinality_numbers.xml +++ b/tests/performance/array_index_low_cardinality_numbers.xml @@ -3,15 +3,19 @@ CREATE TABLE perf_lc_num( num UInt8, arr Array(LowCardinality(Int64)) default [num] - ) ENGINE = MergeTree() ORDER BY tuple() + ) ENGINE = StripeLog INSERT INTO perf_lc_num (num) SELECT toUInt8(number) - FROM numbers(1500000000) + FROM numbers(100000000) + + 1 + + SELECT count() FROM perf_lc_num WHERE num = 42 SELECT count() FROM perf_lc_num WHERE arr[1] = 42 SELECT count() FROM perf_lc_num WHERE has(arr, 42)