diff --git a/dbms/tests/queries/0_stateless/00633_func_or_in.reference b/dbms/tests/queries/0_stateless/00633_func_or_in.reference new file mode 100644 index 00000000000..b261da18d51 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00633_func_or_in.reference @@ -0,0 +1,2 @@ +1 +0 diff --git a/dbms/tests/queries/0_stateless/00633_func_or_in.sql b/dbms/tests/queries/0_stateless/00633_func_or_in.sql new file mode 100644 index 00000000000..8aa467b4ce8 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00633_func_or_in.sql @@ -0,0 +1,8 @@ +drop table if exists orin_test; + +create table orin_test (c1 Int32) engine=Memory; +insert into orin_test values(1), (100); + +select minus(c1 = 1 or c1=2 or c1 =3, c1=5) from orin_test; + +drop table orin_test;