Apache Presto - url_extract_host(url)


Query

presto:default> select url_extract_host('https://www.tutorialspoint.com') as port;

Result

        port 
------------------------ 
 www.tutorialspoint.com 
apache_presto_sql_functions.htm
Advertisements