You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Hao (JIRA)" <ji...@apache.org> on 2015/06/10 05:16:00 UTC

[jira] [Commented] (SPARK-8266) string function: translate

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

Cheng Hao commented on SPARK-8266:
----------------------------------

I'll take this one.

> string function: translate
> --------------------------
>
>                 Key: SPARK-8266
>                 URL: https://issues.apache.org/jira/browse/SPARK-8266
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Priority: Minor
>
> translate(string|char|varchar input, string|char|varchar from, string|char|varchar to): string
> Translates the input string by replacing the characters present in the from string with the corresponding characters in the to string. This is similar to the translate function in PostgreSQL. If any of the parameters to this UDF are NULL, the result is NULL as well.



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