CONCAT_WS (Lakehouse v2)
使用分隔符连接字符串。
Analyze 语法
Section titled “Analyze 语法”func.concat_ws(<sep>, <str1>, <str2>[, ...])Analyze 示例
Section titled “Analyze 示例”func.concat_ws('-', '2024', '01', '15')
┌──────────────┐│ '2024-01-15' │└──────────────┘SQL 语法
Section titled “SQL 语法”CONCAT_WS(<sep>, <str1>, <str2>[, ...])SQL 示例
Section titled “SQL 示例”SELECT CONCAT_WS('-', '2024', '01', '15');
┌────────────┐│ 2024-01-15 │└────────────┘