URL_EXTRACT_PARAMETER (Lakehouse v2)
Extracts the value of a query parameter from a URL string.
Analyze Syntax
Section titled “Analyze Syntax”func.url_extract_parameter(<url>, <param>)Analyze Examples
Section titled “Analyze Examples”func.url_extract_parameter('https://example.com?page=1&size=10', 'page')
┌─────┐│ '1' │└─────┘SQL Syntax
Section titled “SQL Syntax”URL_EXTRACT_PARAMETER(<url>, <param>)SQL Examples
Section titled “SQL Examples”SELECT URL_EXTRACT_PARAMETER('https://example.com?page=1&size=10', 'page');
┌───┐│ 1 │└───┘