ARRAY_JOIN
Concatenates the elements of the given array using the specified delimiter.
Syntax
Arguments
X
X
Type: array
An array of any value type.
DELIMITER
DELIMITER
Type: string
The delimiter used to join the values within the array.
Returns
Type: string
The values of the array X
joined with DELIMITER
.
Examples
X | DELIMITER | Output |
---|---|---|
| , | a,b,c |
| , | 5.5 |
|
| hello world |
| new | brave new world |
| , | 3,6,1,2 |
|
|
|
Transformation job example
SQL
Query result
join_example |
---|
hello world |
Last updated