mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Update test
This commit is contained in:
parent
582cf2ca84
commit
95caa02cbc
@ -70,6 +70,7 @@ SYSTEM SYNC REPLICA wikistat2;
|
|||||||
|
|
||||||
-- it doesn't make test flaky, rarely we will not delete the parts because of cleanup thread was slow.
|
-- it doesn't make test flaky, rarely we will not delete the parts because of cleanup thread was slow.
|
||||||
-- Such condition will lead to successful queries.
|
-- Such condition will lead to successful queries.
|
||||||
|
SET function_sleep_max_microseconds_per_block = 5000000;
|
||||||
SELECT 0 FROM numbers(5) WHERE sleepEachRow(1) = 1;
|
SELECT 0 FROM numbers(5) WHERE sleepEachRow(1) = 1;
|
||||||
|
|
||||||
select sum(hits), count() from wikistat1 GROUP BY project, subproject, path settings allow_experimental_projection_optimization = 1, force_optimize_projection = 1;
|
select sum(hits), count() from wikistat1 GROUP BY project, subproject, path settings allow_experimental_projection_optimization = 1, force_optimize_projection = 1;
|
||||||
|
@ -4,6 +4,7 @@ insert into buffer_02572 values (1);
|
|||||||
select * from data_02572;
|
select * from data_02572;
|
||||||
select * from copy_02572;
|
select * from copy_02572;
|
||||||
-- we cannot use OPTIMIZE, this will attach query context, so let's wait
|
-- we cannot use OPTIMIZE, this will attach query context, so let's wait
|
||||||
|
SET function_sleep_max_microseconds_per_block = 6000000;
|
||||||
select sleepEachRow(1) from numbers(3*2) format Null;
|
select sleepEachRow(1) from numbers(3*2) format Null;
|
||||||
select * from data_02572;
|
select * from data_02572;
|
||||||
1
|
1
|
||||||
|
@ -22,6 +22,7 @@ insert into buffer_02572 values (1);
|
|||||||
select * from data_02572;
|
select * from data_02572;
|
||||||
select * from copy_02572;
|
select * from copy_02572;
|
||||||
-- we cannot use OPTIMIZE, this will attach query context, so let's wait
|
-- we cannot use OPTIMIZE, this will attach query context, so let's wait
|
||||||
|
SET function_sleep_max_microseconds_per_block = 6000000;
|
||||||
select sleepEachRow(1) from numbers(3*2) format Null;
|
select sleepEachRow(1) from numbers(3*2) format Null;
|
||||||
select * from data_02572;
|
select * from data_02572;
|
||||||
select * from copy_02572;
|
select * from copy_02572;
|
||||||
|
Loading…
Reference in New Issue
Block a user