GetArrayElement (Azure Stream Analytics)
Updated: April 22, 2016
Applies To: Azure
Returns the array element at the specified index.
Syntax
GetArrayElement ( array_expression, bigint_expression )
array_expression
Is the array expression to be evaluated as a source array. array_expression can be a column of type Array or result of another function call.
bigint_expression
Is the bigint expression to be evaluated as array index
Return Types
Return type is determined by the array element type and can be any of the supported types.
Examples
SELECT
GetArrayElement(arrayField, 0) AS firstElement
FROM input
Show: