Apache Presto - url_extract_protocol (url)

Query

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

Risultato

protocol 
---------- 
 https