You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2013/08/31 01:35:52 UTC

[jira] [Commented] (HIVE-5192) concat()/concat_ws() can use common implementation

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

Jason Dere commented on HIVE-5192:
----------------------------------

There's actually some differences in what arguments are allowed by the two functions, so merging concat() and concat_ws() would mean the following changes in behavior for each function:

concat() would allow lists of primitive types as arguments; each item of each list would be concatenated to the result string.
concat_ws() would allow non-string types as arguments, so concat_ws('|', 1, 2) would be valid.
                
> concat()/concat_ws() can use common implementation
> --------------------------------------------------
>
>                 Key: HIVE-5192
>                 URL: https://issues.apache.org/jira/browse/HIVE-5192
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Jason Dere
>
> One of the review comments from HIVE-4844 mentioned that concat/concat_ws can probably share a common implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira