Converts each array element to its text representation, and concatenates those using an optional delimiter. If no delimiter is provided, an empty string is used instead.Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
NULL array elements are omitted.
Alias: ARRAY_JOIN
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<array> | An array to be concatenated | ARRAY |
<delimiter> | The delimiter used for concatenating the array elements | TEXT |
Return Type
TEXT
Example
In the example below, the three elements are concatenated with no delimiter.123
In this example below, the levels are concatenated separated by a comma.
1,2,3
In this example below, the elements of a nested array containing a NULL are concatenated.
1,2,3,4,5