hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1659) parse_url_tuple: a UDTF version of parse_url
Date Fri, 24 Sep 2010 19:18:34 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914602#action_12914602
] 

Ning Zhang commented on HIVE-1659:
----------------------------------

Xing, there is a diff in show_functions.q. You need to overwrite the .out file with the addition
of the new function. The following command will update the out file. 

 ant test -Dtestcase=TestCliDriver -Dqfile=show_functions.q -Doverwrite=true

Can you regenerate the patch after that?

> parse_url_tuple:  a UDTF version of parse_url
> ---------------------------------------------
>
>                 Key: HIVE-1659
>                 URL: https://issues.apache.org/jira/browse/HIVE-1659
>             Project: Hadoop Hive
>          Issue Type: New Feature
>    Affects Versions: 0.5.0
>            Reporter: Ning Zhang
>         Attachments: HIVE-1659.patch, HIVE-1659.patch2
>
>
> The UDF parse_url take s a URL, parse it and extract QUERY/PATH etc from it. However
it can only extract an atomic value from the URL. If we want to extract multiple piece of
information, we need to call the function many times. It is desirable to parse the URL once
and extract all needed information and return a tuple in a UDTF. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message