diff --git a/dbms/tests/queries/00932_array_intersect_bug.reference b/dbms/tests/queries/00932_array_intersect_bug.reference new file mode 100644 index 00000000000..23b66e9033d --- /dev/null +++ b/dbms/tests/queries/00932_array_intersect_bug.reference @@ -0,0 +1,4 @@ +['a'] +[] +[1] +[] diff --git a/dbms/tests/queries/00932_array_intersect_bug.sql b/dbms/tests/queries/00932_array_intersect_bug.sql new file mode 100644 index 00000000000..4c3c199596d --- /dev/null +++ b/dbms/tests/queries/00932_array_intersect_bug.sql @@ -0,0 +1,5 @@ +SELECT arrayIntersect(['a', 'b', 'c'], ['a', 'a']); +SELECT arrayIntersect([1, 1], [2, 2]); +SELECT arrayIntersect([1, 1], [1, 2]); +SELECT arrayIntersect([1, 1, 1], [3], [2, 2, 2]); +