Syntax
Parameters
array(type): the array you want to calculate the sum. Array elements support the following data types: BOOLEAN, TINYINT, SMALLINT, INT, BIGINT, LARGEINT, FLOAT, DOUBLE, and DECIMALV2.lambda_function: the lambda expression used to calculate the target array for array_sum().
Return value
Returns a numeric value.Examples
Use array_sum without lambda function
text
Use array_sum with lambda function
text