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