ARRAY_TO_STRING (Lakehouse v1)
Concatène les éléments d’un tableau en une seule chaîne, à l’aide d’un séparateur donné.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_to_string( <array>, '<separator>' )Exemples Analyze
Section intitulée « Exemples Analyze »func.array_to_string(['apple', 'banana', 'cherry'], ', ')
┌────────────────────────────────────────────────────────────┐│ func.array_to_string(['apple', 'banana', 'cherry'], ', ') │├────────────────────────────────────────────────────────────┤│ Apple, Banana, Cherry │└────────────────────────────────────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_TO_STRING( <array>, '<separator>' )Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_TO_STRING(['Apple', 'Banana', 'Cherry'], ', ');
┌──────────────────────────────────────────────────────┐│ array_to_string(['apple', 'banana', 'cherry'], ', ') │├──────────────────────────────────────────────────────┤│ Apple, Banana, Cherry │└──────────────────────────────────────────────────────┘