[ 
https://issues.apache.org/jira/browse/HADOOP-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630335#action_12630335
 ] 

Zheng Shao commented on HADOOP-4070:
------------------------------------

Can you add a test case, Tom?

For adding a test case, please add a "my.q" file in 
hive/ql/src/test/queries/positive, and then run "ant test -Dtestcase=TestParse 
-Dqfile=my.q", collect the standard result by searching for the failed "diff" 
command in the test log.
And then do the same for hive/ql/src/test/queries/clientpositive, and "ant test 
-Dtestcase=TestCliDriver -Dqfile=my.q".

Another thing is that do you think AdminWork will be responsible for other 
works besides creating UDF? if not then let's call it a more specific name 
(like CreateUDFWork).


> [Hive] Provide a mechanism for registering UDFs from the query language
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-4070
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4070
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: contrib/hive
>            Reporter: Tom White
>         Attachments: hadoop-4070.patch
>
>
> UDFs (user defined functions) in Hive are currently actually built-in 
> functions. This issue is to develop a packaging and registration mechanism so 
> users can add their own functions at runtime.

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

Reply via email to