Skip to content

Merges multiple arrays into a single array tuple.

func.arrays_zip( <array1> [, ...] )
func.arrays_zip([1, 2, 3], ['a', 'b', 'c'])
┌──────────────────────────────────────────────┐
│ func.arrays_zip([1, 2, 3], ['a', 'b', 'c']) │
├──────────────────────────────────────────────┤
[(1,'a'),(2,'b'),(3,'c')]
└──────────────────────────────────────────────┘
ARRAYS_ZIP( <array1> [, ...] )
Arguments Description
<arrayN> The input ARRAYs.

Array(Tuple).

SELECT ARRAYS_ZIP([1, 2, 3], ['a', 'b', 'c']);
┌────────────────────────────────────────┐
│ arrays_zip([1, 2, 3], ['a', 'b', 'c']) │
├────────────────────────────────────────┤
│ [(1,'a'),(2,'b'),(3,'c')] │
└────────────────────────────────────────┘