ARRAY_TO_STRING (Lakehouse v1)
Concatenates elements of an array into a single string, using a specified separator.
Analyze Syntax
Section titled “Analyze Syntax”func.array_to_string( <array>, '<separator>' )Analyze Examples
Section titled “Analyze Examples”func.array_to_string(['apple', 'banana', 'cherry'], ', ')
┌────────────────────────────────────────────────────────────┐│ func.array_to_string(['apple', 'banana', 'cherry'], ', ') │├────────────────────────────────────────────────────────────┤│ Apple, Banana, Cherry │└────────────────────────────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_TO_STRING( <array>, '<separator>' )SQL Examples
Section titled “SQL Examples”SELECT ARRAY_TO_STRING(['Apple', 'Banana', 'Cherry'], ', ');
┌──────────────────────────────────────────────────────┐│ array_to_string(['apple', 'banana', 'cherry'], ', ') │├──────────────────────────────────────────────────────┤│ Apple, Banana, Cherry │└──────────────────────────────────────────────────────┘