URL_EXTRACT_HOST (Lakehouse v2)
Extracts the host from a URL string.
Analyze Syntax
Section titled “Analyze Syntax”func.url_extract_host(<url>)Analyze Examples
Section titled “Analyze Examples”func.url_extract_host('https://docs.starrocks.io/path')
┌─────────────────────┐│ 'docs.starrocks.io' │└─────────────────────┘SQL Syntax
Section titled “SQL Syntax”URL_EXTRACT_HOST(<url>)SQL Examples
Section titled “SQL Examples”SELECT URL_EXTRACT_HOST('https://docs.starrocks.io/path');
┌───────────────────┐│ docs.starrocks.io │└───────────────────┘