ARRAY_AVG (Lakehouse v2)
Retorna a média dos elementos de um array.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.array_avg([1, 2, 3, 4])Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.array_avg([10, 20, 30])
┌──────┐│ 20.0 │└──────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ARRAY_AVG([1, 2, 3, 4])Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ARRAY_AVG([10, 20, 30]);
┌──────┐│ 20.0 │└──────┘