ARRAY_FLATTEN (Lakehouse v2)
Aplatit des tableaux imbriqués en un tableau à un seul niveau.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_flatten([[1,2],[3,4]])Exemples Analyze
Section intitulée « Exemples Analyze »func.array_flatten([[1, 2], [3, 4]])
┌───────────┐│ [1,2,3,4] │└───────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_FLATTEN([[1,2],[3,4]])Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_FLATTEN([[1, 2], [3, 4]]);
┌───────────┐│ [1,2,3,4] │└───────────┘