You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Suresh Antony (JIRA)" <ji...@apache.org> on 2009/06/16 03:06:07 UTC
[jira] Updated: (HIVE-563) UDF for parsing the URL
[ https://issues.apache.org/jira/browse/HIVE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Antony updated HIVE-563:
-------------------------------
Attachment: patch_563.txt
parse_url -- udf
Format;
pasre_url( utl, URL_PART_NAME).
Possible url Parts are: HOST,PATH,QUERY,REF,PROTOCOL,AUTHORITY,FILE,USERINFO
example:
parse_url('http://facebook.com/path/p1.php?query=1', 'HOST') will return 'facebook.com'
parse_url('http://facebook.com/path/p1.php?query=1', 'PATH') will return 'path/p1.php'
Definition of parts can be obtained from:
http://www.j2ee.me/j2se/1.4.2/docs/api/java/net/URL.html
> UDF for parsing the URL
> -----------------------
>
> Key: HIVE-563
> URL: https://issues.apache.org/jira/browse/HIVE-563
> Project: Hadoop Hive
> Issue Type: New Feature
> Components: Server Infrastructure
> Reporter: Suresh Antony
> Assignee: Suresh Antony
> Attachments: patch_563.txt
>
>
> Needs a udf to extract the parts of url from url string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.