ClickHouse/tests/queries/0_stateless/00932_array_intersect_bug.sql
Alexey Milovidov a0d6593f90 Update tests
2020-07-31 00:07:51 +03:00

10 lines
494 B
SQL

SELECT arraySort(arrayIntersect(['a', 'b', 'c'], ['a', 'a']));
SELECT arraySort(arrayIntersect([1, 1], [2, 2]));
SELECT arraySort(arrayIntersect([1, 1], [1, 2]));
SELECT arraySort(arrayIntersect([1, 1, 1], [3], [2, 2, 2]));
SELECT arraySort(arrayIntersect([1, 2], [1, 2], [2]));
SELECT arraySort(arrayIntersect([1, 1], [2, 1], [2, 2], [1]));
SELECT arraySort(arrayIntersect([]));
SELECT arraySort(arrayIntersect([1, 2, 3]));
SELECT arraySort(arrayIntersect([1, 1], [2, 1], [2, 2], [2, 2, 2]));