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 │└─────────────┘