parse_url¶
Description¶
Returns a JSON object consisting of all the components (fragment, host, path, port, query, scheme).
Return type¶
object
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
parse_url(arg)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
arg |
string |
no |
no |
none |
Examples¶
make_col url:parse_url(@.x)
Creates a column named ‘url’ returning a JSON object that holds the components (fragment, host, path, port, query, scheme) of the input URL
Aliases¶
parseurl
(deprecated)