Backport #68752 to 24.8: Fix 2477 timeout

This commit is contained in:
robot-clickhouse 2024-08-27 14:07:05 +00:00
parent 11c7f7a10d
commit ddf5d2b3ac

View File

@ -1,9 +1,11 @@
-- Tags: long, no-parallel
DROP TABLE IF EXISTS t;
create table t (c1 Int64, c2 String, c3 DateTime, c4 Int8, c5 String, c6 String, c7 String, c8 String, c9 String, c10 String, c11 String, c12 String, c13 Int8, c14 Int64, c15 String, c16 String, c17 String, c18 Int64, c19 Int64, c20 Int64) engine ReplicatedMergeTree('/clickhouse/test/{database}/test_02477', '1') order by c18
SETTINGS allow_remote_fs_zero_copy_replication=1, index_granularity=8092, index_granularity_bytes='10Mi';
SETTINGS allow_remote_fs_zero_copy_replication=1, index_granularity=8192, index_granularity_bytes='10Mi';
insert into t (c1, c18) select number, -number from numbers(2000000);
insert into t (c1, c18) select number, -number from numbers(500000);
alter table t add projection p_norm (select * order by c1);