Apache Presto - url_extract_host (url)
Query
presto:default> select url_extract_host('https://www.tutorialspoint.com') as port;
Risultato
port
------------------------
www.tutorialspoint.com
presto:default> select url_extract_host('https://www.tutorialspoint.com') as port;
port
------------------------
www.tutorialspoint.com