[jira] [Updated] (CARBONDATA-583) Replace Function is not working for string/char

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-583) Replace Function is not working for string/char

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anurag Srivastava updated CARBONDATA-583:
-----------------------------------------
    Environment: cluster
    Component/s: data-load

> Replace Function is not working  for string/char
> ------------------------------------------------
>
>                 Key: CARBONDATA-583
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-583
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load
>    Affects Versions: 1.0.0-incubating
>         Environment: cluster
>            Reporter: Anurag Srivastava
>            Assignee: Rahul Kumar
>            Priority: Minor
>
> I am running "replace" function but it is giving error : "undefined function replace".
> Query : select replace('aaabbccaabb', 'aaa', 't');
> Expected Result : "tbbccaabb"
> Result : Error: org.apache.spark.sql.AnalysisException: undefined function replace; line 1 pos 30 (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)