Apache Presto - url_extract_protocol (url)
Requete
presto:default> select url_extract_protocol
('https://www.tutorialspoint.com') as protocol;
Résultat
protocol
----------
https
presto:default> select url_extract_protocol
('https://www.tutorialspoint.com') as protocol;
protocol
----------
https