carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cen yuhai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-583) Replace Function is not working for string/char
Date Mon, 02 Jan 2017 12:53:58 GMT

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

cen yuhai commented on CARBONDATA-583:
--------------------------------------

I think the root cause is that carbon hack spark's Analyzer, if this is not fixed, a lot of
similar problems will occur.

> 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
>    Affects Versions: 1.0.0-incubating
>            Reporter: Anurag Srivastava
>            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)

Mime
View raw message