You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mukul Garg (JIRA)" <ji...@apache.org> on 2016/07/01 07:18:11 UTC
[jira] [Commented] (SPARK-16340) In regexp_replace function column
and/or column expression should also allowed as replacement.
[ https://issues.apache.org/jira/browse/SPARK-16340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15358542#comment-15358542 ]
Mukul Garg commented on SPARK-16340:
------------------------------------
[~srowen]: I agree it seems to be minor, but the project I am working at needs this. This is very simple fix and I will be happy to do this. Let me know if this works and if it is possible to include this in 1.6.3 release.
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org