mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
test for bug_13492
This commit is contained in:
parent
722e5fe73f
commit
ff6499cdc4
@ -0,0 +1,2 @@
|
||||
1
|
||||
1
|
@ -0,0 +1,16 @@
|
||||
DROP TABLE IF EXISTS bug_13492;
|
||||
|
||||
CREATE TABLE bug_13492 (`d` DateTime) ENGINE = MergeTree
|
||||
PARTITION BY toYYYYMMDD(d) ORDER BY tuple();
|
||||
|
||||
INSERT INTO bug_13492 SELECT addDays(now(), number) FROM numbers(100);
|
||||
|
||||
SET max_threads = 5;
|
||||
|
||||
SELECT DISTINCT 1 FROM bug_13492, numbers(1) n;
|
||||
|
||||
SET max_threads = 2;
|
||||
|
||||
SELECT DISTINCT 1 FROM bug_13492, numbers(1) n;
|
||||
|
||||
DROP TABLE bug_13492;
|
Loading…
Reference in New Issue
Block a user