[ https://issues.apache.org/jira/browse/SPARK-16340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363469#comment-15363469 ]
Dongjoon Hyun commented on SPARK-16340: --------------------------------------- Hi, [~mukul.ga...@gmail.com]. I'll make a PR for this issue. > In regexp_replace function column and/or column expression should also > allowed as replacement. > ---------------------------------------------------------------------------------------------- > > Key: SPARK-16340 > URL: https://issues.apache.org/jira/browse/SPARK-16340 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 1.6.2 > Reporter: Mukul Garg > Priority: Minor > Original Estimate: 24h > Remaining Estimate: 24h > > Currently, regexp_replace function only take string argument as replacement, > but in Hive it also accept any column or column expression. It also works in > Spark, but as a query. Need to create a overload of this function which also > accept Column as replacement. -- 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