ARRAY_AVG (Lakehouse v2)
Renvoie la moyenne des éléments d’un tableau.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_avg([1, 2, 3, 4])Exemples Analyze
Section intitulée « Exemples Analyze »func.array_avg([10, 20, 30])
┌──────┐│ 20.0 │└──────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_AVG([1, 2, 3, 4])Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_AVG([10, 20, 30]);
┌──────┐│ 20.0 │└──────┘