Skip to content

Commit 8c7eb1a

Browse files
Fix bad tests that insert 1000 blocks
1 parent 7de87da commit 8c7eb1a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/queries/0_stateless/00988_parallel_parts_removal.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Tags: long
1+
-- Tags: long, no-object-storage
22

33
DROP TABLE IF EXISTS mt;
44

tests/queries/0_stateless/00989_parallel_parts_loading.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Tags: no-random-settings, no-random-merge-tree-settings, no-msan, no-tsan, no-asan, no-debug
1+
-- Tags: no-random-settings, no-random-merge-tree-settings, no-msan, no-tsan, no-asan, no-debug, no-object-storage
22
-- small number of insert threads can make insert terribly slow, especially with some build like msan
33
DROP TABLE IF EXISTS mt;
44

tests/queries/0_stateless/03394_pr_insert_select_threads.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Tags: long, no-parallel
1+
-- Tags: long, no-parallel, no-object-storage
22

33
SET enable_analyzer=1; -- parallel distributed insert select for replicated tables works only with analyzer
44
SET parallel_distributed_insert_select=2;
@@ -23,7 +23,7 @@ SYSTEM FLUSH LOGS query_log;
2323
SELECT
2424
if(is_initial_query, 'inital', 'secondary'),
2525
if(toUInt64OrZero(Settings['parallel_replicas_insert_select_local_pipeline']) == 0 and is_initial_query, 1, 8) threads_limit,
26-
if(peak_threads_usage > threads_limit, threads_limit, peak_threads_usage),
26+
least(peak_threads_usage, threads_limit),
2727
format('local_pipeline={}', Settings['parallel_replicas_insert_select_local_pipeline'])
2828
FROM system.query_log
2929
WHERE (current_database = currentDatabase() OR has(databases, currentDatabase())) AND type = 'QueryFinish' AND Settings['allow_experimental_parallel_reading_from_replicas']='1' AND query_kind = 'Insert' AND has(tables, currentDatabase() || '.t_mt_target')

0 commit comments

Comments
 (0)