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

Namit Jain commented on HIVE-682:
---------------------------------

Jonathan, you need to add unit tests for the same.
Please take a look at any udf*.q for an example in 
ql/src/test/queries/clientpositive -- for example, udf_unhex.q

You need to add the corresponding output in ql/src/test/results/clientpositive 
-- for example, udf_unhex.q.out


Before submitting a patch, please run all results:

You can do so by:

ant -lib testlibs clean-test test 

You can also run a single unit test:


ant -lib testlibs clean-test test -Dtestcase=TestCliDriver

or a unit test for a particular file:

ant -lib testlibs clean-test test -Dtestcase=TestCliDriver 
-Dqfile=udf_concat_ws.q

(assuming your file is called udf_concat_ws.q)

> add UDF concat_ws
> -----------------
>
>                 Key: HIVE-682
>                 URL: https://issues.apache.org/jira/browse/HIVE-682
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Jonathan Chang
>         Attachments: concat_ws.patch
>
>
> add UDF concat_ws
> look at 
> http://dev.mysql.com/doc/refman/5.0/en/func-op-summary-ref.html
> for details

-- 
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