mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Added tests for arrayIntersect.
This commit is contained in:
parent
e8a8da1a4f
commit
cd7368dc6d
4
dbms/tests/queries/00932_array_intersect_bug.reference
Normal file
4
dbms/tests/queries/00932_array_intersect_bug.reference
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
['a']
|
||||||
|
[]
|
||||||
|
[1]
|
||||||
|
[]
|
5
dbms/tests/queries/00932_array_intersect_bug.sql
Normal file
5
dbms/tests/queries/00932_array_intersect_bug.sql
Normal file
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user