GetArrayLength (Azure Stream Analytics)

Returns the length of the specified array.

Syntax

GetArrayLength ( array_expression )  

Arguments

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.

Return Types

bigint

Examples

SELECT   
    GetArrayLength(arrayField) AS arrayLength  
FROM input