Apache Presto - url_extract_protocol(url)
查询
presto:default> select url_extract_protocol
('https://www.tutorialspoint.com') as protocol;
protocol ---------- https
apache_presto_sql_functions.html
presto:default> select url_extract_protocol
('https://www.tutorialspoint.com') as protocol;
protocol ---------- https
apache_presto_sql_functions.html
