You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/11/08 19:24:02 UTC

[jira] [Resolved] (CALCITE-2037) Allow overriding of Calcite statements in Parser.jj

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

Julian Hyde resolved CALCITE-2037.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.15.0

Fixed in [5a0403cf|http://git-wip-us.apache.org/repos/asf/calcite/commit/5a0403cf]; thanks for the PR, [~RomanKulyk]! (I added a test to our parser extension test so that this stays working.)

> Allow overriding of Calcite statements in Parser.jj
> ---------------------------------------------------
>
>                 Key: CALCITE-2037
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2037
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Roman Kulyk
>            Assignee: Julian Hyde
>            Priority: Minor
>             Fix For: 1.15.0
>
>
> Overriding of Calcite statements in parser can be very useful for some tasks in the future so I propose to move the next block:
> {noformat}
>     <#-- Add methods to parse additional statements here -->
>     <#list parser.statementParserMethods as method>
>             stmt = ${method}
>     </#list>
> {noformat}
> on the top of the SqlStmt() method in Parser.jj to allow overriding of Calcite statements.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)