spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Ishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-8240) string function: concat
Date Fri, 14 Aug 2015 04:31:45 GMT

    [ 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


Mime
View raw message