ARRAY_DIFFERENCE (Lakehouse v2)
Renvoie un tableau des différences entre éléments consécutifs.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_difference([1, 3, 6, 10])Exemples Analyze
Section intitulée « Exemples Analyze »func.array_difference([1, 3, 6, 10])
┌───────────┐│ [0,2,3,4] │└───────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_DIFFERENCE([1, 3, 6, 10])Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_DIFFERENCE([1, 3, 6, 10]);
┌───────────┐│ [0,2,3,4] │└───────────┘