Apache Presto - url_extract_port(url)


Query

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

Result

 port 
------ 
 8080
apache_presto_sql_functions.htm
Advertisements