You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Baofeng Zhang (JIRA)" <ji...@apache.org> on 2016/10/20 02:56:58 UTC
[jira] [Commented] (CALCITE-1457) Parser keyword conflict with
UDF(insert, left, etc.)
[ https://issues.apache.org/jira/browse/CALCITE-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15590584#comment-15590584 ]
Baofeng Zhang commented on CALCITE-1457:
----------------------------------------
I got it, just add the function name under "NonReservedKeyWord", so that UDF works.
> Parser keyword conflict with UDF(insert, left, etc.)
> ----------------------------------------------------
>
> Key: CALCITE-1457
> URL: https://issues.apache.org/jira/browse/CALCITE-1457
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Baofeng Zhang
> Assignee: Julian Hyde
>
> Hi guys,
> I try to implement MySQL function like INSERT(str, pos, len, newts), LEFT(str, len), but these functions have the same keyword defined in Parser.jj, which leads to mistake during sql parser procedure.
> Can anyone help me to get around this? Thx!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)