Added test

This commit is contained in:
Alexey Milovidov 2020-01-15 21:19:46 +03:00
parent 7ba06ccb82
commit 06269e572f
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
DROP TABLE IF EXISTS mt;
CREATE TABLE mt (x UInt8, y Date) ENGINE = MergeTree ORDER BY x;
SELECT count()
FROM mt
ANY LEFT JOIN
(
SELECT 1 AS x
) USING (x)
PREWHERE x IN (1) WHERE y = today();
DROP TABLE mt;