Apache Presto - url_extract_path(url)



Query

presto:default> select url_extract_path
('https://www.tutorialspoint.com/hive/hive_installation.htm') 
as path;

Result

           path 
----------------------------- 
 /hive/hive_installation.htm 
apache_presto_sql_functions.htm
Advertisements