diff --git a/dbms/tests/queries/0_stateless/00626_in_syntax.reference b/dbms/tests/queries/0_stateless/00626_in_syntax.reference index 3e4db78953a..bbde210382c 100644 --- a/dbms/tests/queries/0_stateless/00626_in_syntax.reference +++ b/dbms/tests/queries/0_stateless/00626_in_syntax.reference @@ -36,3 +36,11 @@ 1 - (1,2) ((1,2),(3,4)) 1 1 +- +1 +1 +1 +1 +1 +1 +1 diff --git a/dbms/tests/queries/0_stateless/00626_in_syntax.sql b/dbms/tests/queries/0_stateless/00626_in_syntax.sql index e4777f7fe61..8b5ba2bec37 100644 --- a/dbms/tests/queries/0_stateless/00626_in_syntax.sql +++ b/dbms/tests/queries/0_stateless/00626_in_syntax.sql @@ -42,3 +42,12 @@ select identity((1, 2)) in ((1, 2), identity((3, 4))); select '-'; 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)); +