ARRAY_AVG (Lakehouse v2)
Returns the average of elements in an array.
Analyze Syntax
Section titled “Analyze Syntax”func.array_avg([1, 2, 3, 4])Analyze Examples
Section titled “Analyze Examples”func.array_avg([10, 20, 30])
┌──────┐│ 20.0 │└──────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_AVG([1, 2, 3, 4])SQL Examples
Section titled “SQL Examples”SELECT ARRAY_AVG([10, 20, 30]);
┌──────┐│ 20.0 │└──────┘