mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Added test
This commit is contained in:
parent
7ba06ccb82
commit
06269e572f
@ -0,0 +1 @@
|
||||
0
|
12
dbms/tests/queries/0_stateless/01063_create_column_set.sql
Normal file
12
dbms/tests/queries/0_stateless/01063_create_column_set.sql
Normal 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;
|
Loading…
Reference in New Issue
Block a user