mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +00:00
add test
This commit is contained in:
parent
1846705497
commit
1ac2933d7d
@ -0,0 +1,2 @@
|
||||
2020-01-01
|
||||
2020-01-02
|
@ -0,0 +1,12 @@
|
||||
SET allow_experimental_analyzer=1;
|
||||
CREATE OR REPLACE TABLE foo (i Date) ENGINE MergeTree ORDER BY i;
|
||||
INSERT INTO foo VALUES ('2020-01-01');
|
||||
INSERT INTO foo VALUES ('2020-01-02');
|
||||
|
||||
SET optimize_min_equality_disjunction_chain_length = 3;
|
||||
SELECT *
|
||||
FROM foo
|
||||
WHERE (foo.i = parseDateTimeBestEffort('2020-01-01'))
|
||||
OR (foo.i = parseDateTimeBestEffort('2020-01-02'))
|
||||
OR (foo.i = parseDateTimeBestEffort('2020-01-03'))
|
||||
ORDER BY foo.i ASC
|
Loading…
Reference in New Issue
Block a user