PARSE_URL (Lakehouse v2)
从 URL 字符串中提取指定部分。
Analyze 语法
Section titled “Analyze 语法”func.parse_url(<url>, <part>)Analyze 示例
Section titled “Analyze 示例”func.parse_url('https://example.com/path?q=1', 'HOST')
┌───────────────┐│ 'example.com' │└───────────────┘SQL 语法
Section titled “SQL 语法”PARSE_URL(<url>, <part>)SQL 示例
Section titled “SQL 示例”SELECT PARSE_URL('https://example.com/path?q=1', 'HOST');
┌─────────────┐│ example.com │└─────────────┘