From d400b4e9dbd2538da60f5ce640b95513bb14cce0 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 23 Jul 2018 21:12:48 +0300 Subject: [PATCH] Added test #2699 --- dbms/tests/queries/0_stateless/00674_has_array_enum.reference | 1 + dbms/tests/queries/0_stateless/00674_has_array_enum.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00674_has_array_enum.reference create mode 100644 dbms/tests/queries/0_stateless/00674_has_array_enum.sql diff --git a/dbms/tests/queries/0_stateless/00674_has_array_enum.reference b/dbms/tests/queries/0_stateless/00674_has_array_enum.reference new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00674_has_array_enum.reference @@ -0,0 +1 @@ +1 diff --git a/dbms/tests/queries/0_stateless/00674_has_array_enum.sql b/dbms/tests/queries/0_stateless/00674_has_array_enum.sql new file mode 100644 index 00000000000..b8baf602216 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00674_has_array_enum.sql @@ -0,0 +1 @@ +SELECT has([x], 10) FROM (SELECT CAST(10 AS Enum8('hello' = 1, 'world' = 2, 'abc' = 10)) AS x);