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

Julian Hyde commented on CALCITE-420:
-------------------------------------

As part of this task, update REFERENCE.md.

> Add REPLACE character string function
> -------------------------------------
>
>                 Key: CALCITE-420
>                 URL: https://issues.apache.org/jira/browse/CALCITE-420
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>              Labels: newbie
>
> Oracle and MSSQL have a REPLACE function (see 
> http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions134.htm). It 
> is not in the SQL standard, and in fact the standard has no equivalent 
> function.
> Syntax:
> {code:sql}
> REPLACE(char, search_string [, replace_string])
> {code}
> REPLACE is not a reserved word. Therefore the implementation will need to add 
> REPLACE to CommonNonReservedKeyWord() in the parser.
> Note that Drill and potentially other users of Optiq use REPLACE as part of 
> CREATE OR REPLACE syntax. Careful not to break that.



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

Reply via email to