This function takes an array of arbitrary type as input, and produces an integer array of the same length containing increasing numbers. The returned array starts with value one. Every successive element is incremented by one, it holds thatDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
array[i] = array[i - 1] + 1.
NULLs contained in the parameter array are treated like any other value, and result in a non-null element in the returned array.
If the parameter array is NULL, then the function also returns NULL.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<array> | The array to be enumerated. The length of the returned array is the same as the length of the parameter array. | Any array type. |
Return Type
ARRAY(INT)