Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.34.0
Description
Add PARSE_URL (enabled in Hive and Spark library):
PARSE_URL: Returns the specified part from the URL. Valid values for partToExtract include HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, and USERINFO.
For example, parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST') returns 'facebook.com'.
Attachments
Issue Links
- is blocked by
-
CALCITE-2495 Support encoded URLs in calcite.util.Source, and use it for URL->File conversion in tests
- Closed
- is related to
-
HIVE-563 UDF for parsing the URL
- Closed
- links to