mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
test is added
This commit is contained in:
parent
154b3a1ae4
commit
91929fb7e9
@ -0,0 +1 @@
|
||||
6 6 6
|
@ -0,0 +1,9 @@
|
||||
DROP TABLE IF EXISTS 02845_prewhere;
|
||||
|
||||
SET move_all_conditions_to_prewhere = 1;
|
||||
|
||||
CREATE TABLE 02845_prewhere ( e String, c String, q String ) ENGINE = MergeTree ORDER BY tuple();
|
||||
|
||||
INSERT INTO 02845_prewhere SELECT number, number, number from numbers(10);
|
||||
|
||||
SELECT * FROM (SELECT * FROM 02845_prewhere WHERE e = '5' OR q = '6') WHERE (q = '6');
|
Loading…
Reference in New Issue
Block a user