You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/12 18:46:04 UTC

[jira] [Commented] (DRILL-738) Parse failure for REPLACE function

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

Jacques Nadeau commented on DRILL-738:
--------------------------------------

fixed at or before 4198a17

> Parse failure for REPLACE function
> ----------------------------------
>
>                 Key: DRILL-738
>                 URL: https://issues.apache.org/jira/browse/DRILL-738
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Krystal
>            Assignee: Mehant Baid
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-738.patch
>
>
> The REPLACE function which used to work before now fails with the following error:
> select replace(name, 'or', 'EA') from voter where name like 'victor%';
> message: "Failure while parsing sql. < SqlParseException:[ Encountered "replace" at line 1, column 8.
> Was expecting one of:
>     "UNION" ...
>     "INTERSECT" ...
>     "EXCEPT" ...
> .
> .
> .



--
This message was sent by Atlassian JIRA
(v6.2#6252)