Apache Presto - url_extract_protocol(url)


Query

presto:default> select url_extract_protocol
('https://www.tutorialspoint.com') as protocol;

Result

 protocol 
---------- 
 https 
apache_presto_sql_functions.htm
Advertisements