You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yu Ishikawa (JIRA)" <ji...@apache.org> on 2015/08/14 06:31:45 UTC

[jira] [Commented] (SPARK-8240) string function: concat

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

Yu Ishikawa commented on SPARK-8240:
------------------------------------

[~rxin] I think it would be more natural to support arguments which consists of mixed {{Column}} and {{String}}. What do you think?

h4. Example.
{noformat}
concat(colA, " , ", colB, ", ", colC)
{noformat}

> string function: concat
> -----------------------
>
>                 Key: SPARK-8240
>                 URL: https://issues.apache.org/jira/browse/SPARK-8240
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 1.5.0
>
>
> concat(string|binary A, string|binary B...): string / binary
> Returns the string or bytes resulting from concatenating the strings or bytes passed in as parameters in order. For example, concat('foo', 'bar') results in 'foobar'. Note that this function can take any number of input strings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org