Updated test with in syntax. [#CLICKHOUSE-3749]

This commit is contained in:
Nikolai Kochetov 2018-06-04 16:28:49 +03:00
parent 1b4c294f01
commit 5717b16165
2 changed files with 17 additions and 0 deletions

View File

@ -36,3 +36,11 @@
1 1
- -
(1,2) ((1,2),(3,4)) 1 1 (1,2) ((1,2),(3,4)) 1 1
-
1
1
1
1
1
1
1

View File

@ -42,3 +42,12 @@ select identity((1, 2)) in ((1, 2), identity((3, 4)));
select '-'; select '-';
select (1,2) as x, ((1,2),(3,4)) as y, 1 in x, x in y; select (1,2) as x, ((1,2),(3,4)) as y, 1 in x, x in y;
select '-';
select 1 in (select 1);
select tuple(1) in (select tuple(1));
select (1, 2) in (select 1, 2);
select (1, 2) in (select (1, 2));
select identity(tuple(1)) in (select tuple(1));
select identity((1, 2)) in (select 1, 2);
select identity((1, 2)) in (select (1, 2));