Added test for already fixed bug [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-12-24 01:39:49 +03:00
parent 7678db6e9d
commit aca29588c7
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
DROP TABLE IF EXISTS test.prewhere;
CREATE TABLE test.prewhere (x Array(UInt64), y ALIAS x, s String) ENGINE = MergeTree ORDER BY tuple()
SELECT count() FROM test.prewhere PREWHERE (length(s) >= 1) = 0 WHERE NOT ignore(y)
CREATE TABLE test.prewhere (x Array(UInt64), y ALIAS x, s String) ENGINE = MergeTree ORDER BY tuple();
SELECT count() FROM test.prewhere PREWHERE (length(s) >= 1) = 0 WHERE NOT ignore(y);
DROP TABLE test.prewhere;