Apache Presto - url_extract_port (url)

Consulta

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

Resultado

port 
------ 
 8080