ClickHouse/tests/queries/0_stateless/00932_array_intersect_bug.sql

10 lines
395 B
MySQL
Raw Normal View History

2019-04-01 13:29:20 +00:00
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]);
SELECT arrayIntersect([1, 2], [1, 2], [2]);
SELECT arrayIntersect([1, 1], [2, 1], [2, 2], [1]);
SELECT arrayIntersect([]);
SELECT arrayIntersect([1, 2, 3]);
SELECT arrayIntersect([1, 1], [2, 1], [2, 2], [2, 2, 2]);