Apache Presto - url_extract_protocol (url)

Inquerir

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

Resultado

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