Apache Presto - url_extract_host(url)

查询

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

apache_presto_sql_functions.html