Apache Presto - url_extract_port (url)

Query

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

Risultato

port 
------ 
 8080