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);