Skip to content

bigfunctions > array_union

array_union

Signature

array_union(array1, array2)

Description

Returns the union of two arrays.

Examples

select bigfunctions.eu.array_union([1, 2, 3], [2, 6, 7])
select bigfunctions.us.array_union([1, 2, 3], [2, 6, 7])
select bigfunctions.europe_west1.array_union([1, 2, 3], [2, 6, 7])
+-----------------+
| result          |
+-----------------+
| [1, 2, 3, 6, 7] |
+-----------------+