CONCAT_WS (Lakehouse v2)
Concatenates strings with a separator.
Analyze Syntax
Section titled “Analyze Syntax”func.concat_ws(<sep>, <str1>, <str2>[, ...])Analyze Examples
Section titled “Analyze Examples”func.concat_ws('-', '2024', '01', '15')
┌──────────────┐│ '2024-01-15' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”CONCAT_WS(<sep>, <str1>, <str2>[, ...])SQL Examples
Section titled “SQL Examples”SELECT CONCAT_WS('-', '2024', '01', '15');
┌────────────┐│ 2024-01-15 │└────────────┘