INITCAP (Lakehouse v2)
将字符串中每个单词的首字母大写。
Analyze 语法
Section titled “Analyze 语法”func.initcap(<str>)Analyze 示例
Section titled “Analyze 示例”func.initcap('hello world')
┌───────────────┐│ 'Hello World' │└───────────────┘SQL 语法
Section titled “SQL 语法”INITCAP(<str>)SQL 示例
Section titled “SQL 示例”SELECT INITCAP('hello world');
┌─────────────┐│ Hello World │└─────────────┘