[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org