mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added a test that proves feature exists
This commit is contained in:
parent
612382b74e
commit
ec24bfe128
@ -0,0 +1,2 @@
|
||||
1000000 0
|
||||
1000000 1
|
@ -0,0 +1,7 @@
|
||||
SET max_insert_threads = 1, max_threads = 100, min_insert_block_size_rows = 1048576, max_block_size = 65536;
|
||||
CREATE TEMPORARY TABLE t (x UInt64);
|
||||
-- For trivial INSERT SELECT, max_threads is lowered to max_insert_threads and max_block_size is changed to min_insert_block_size_rows.
|
||||
INSERT INTO t SELECT * FROM numbers_mt(1000000);
|
||||
SET max_threads = 1;
|
||||
-- If data was inserted by more threads, we will probably see data out of order.
|
||||
SELECT DISTINCT blockSize(), runningDifference(x) FROM t;
|
Loading…
Reference in New Issue
Block a user