hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-855) UDF: Concat should accept multiple arguments
Date Tue, 29 Sep 2009 23:36:07 GMT

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

Zheng Shao commented on HIVE-855:
---------------------------------

@HIVE-855.1.patch:
{code}
-    value = "_FUNC_(str1, str2) - returns the concatenation of str1 and str2",
+    value = "_FUNC_(str1, str2, ... strN) - returns the concatenation of str1 and str2",
{code}
Minor issue, the comment should say "returns the concatenation of str1, str2, ... strN".

By the way, I forget to tell you that we need to do two more things:
1. Add "describe" and "describe extended" to the udf_concat.q file. Take a look at "trunk/ql/src/test/queries/clientpositive/udf_hour_minute_second.q"
for example.
2. Overwrite the test that contains "show functions" - it might be changed whenever we are
editing UDFs.

Please upload the new patch as HIVE-855.2.patch.

> UDF: Concat should accept multiple arguments
> --------------------------------------------
>
>                 Key: HIVE-855
>                 URL: https://issues.apache.org/jira/browse/HIVE-855
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: Zheng Shao
>            Assignee: Paul Yang
>         Attachments: HIVE-855.1.patch
>
>
> According to mysql, concat should accept multiple arguments.
> http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat

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