Apache Presto - url_extract_path (url)
Query
presto:default> select url_extract_path
('http://www.tutorialspoint.com/hive/hive_installation.htm')
as path;
Risultato
path
-----------------------------
/hive/hive_installation.htm
presto:default> select url_extract_path
('http://www.tutorialspoint.com/hive/hive_installation.htm')
as path;
path
-----------------------------
/hive/hive_installation.htm