From afbb3fca467153da2fe8aa2710427aa0e7737131 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 3 Feb 2020 00:11:49 +0300 Subject: [PATCH] Added a test from Vasily Nemkov #8813 --- .../queries/0_stateless/01075_in_arrays_enmk.reference | 8 ++++++++ dbms/tests/queries/0_stateless/01075_in_arrays_enmk.sql | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/01075_in_arrays_enmk.reference create mode 100644 dbms/tests/queries/0_stateless/01075_in_arrays_enmk.sql diff --git a/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.reference b/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.reference new file mode 100644 index 00000000000..be9fef5c49f --- /dev/null +++ b/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.reference @@ -0,0 +1,8 @@ +1 +0 +1 +0 +1 +0 +0 +0 diff --git a/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.sql b/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.sql new file mode 100644 index 00000000000..7dfd75932cb --- /dev/null +++ b/dbms/tests/queries/0_stateless/01075_in_arrays_enmk.sql @@ -0,0 +1,8 @@ +select 1 in [1, 2]; +select 3 in [1, 2]; +select 1 in 1; +select 3 in 1; +select (1) in [1, 2]; +select (3) in [1, 2]; +select [1] in [1, 2]; +select [3] in [1, 2];