SQL Reference
REDUCE
reduce(list, lambda, initial_value)
Section titled “reduce(list, lambda, initial_value)”- list: ANY[]
- lambda: LAMBDA
- initial_value: ANY
Example
Section titled “Example”SELECT reduce([1, 2, 3], lambda x, y : x + y);SQL Reference
SELECT reduce([1, 2, 3], lambda x, y : x + y);