[
https://issues.apache.org/jira/browse/CALCITE-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514427#comment-15514427
]
Julian Hyde commented on CALCITE-1383:
--------------------------------------
{{git log core/src/main/codegen/templates/Parser.jj}} should answer your
question.
> Allow extensions to existing Calcite parser rules
> -------------------------------------------------
>
> Key: CALCITE-1383
> URL: https://issues.apache.org/jira/browse/CALCITE-1383
> Project: Calcite
> Issue Type: Improvement
> Reporter: James Taylor
> Assignee: Julian Hyde
>
> In Phoenix, we'd like to add some Phoenix-specific commands in support of our
> UDF implementation. For example, we'd like to add commands like to manage the
> jars containing the implementation of the UDFs:
> - {{ALTER SYSTEM ADD JAR ...}}
> - {{ALTER SYSTEM LIST JARS}}
> Without copy/pasting the entire parser grammar for the command (see comment
> here[1]), it seems there's no easy way to do it. Perhaps we're missing
> something and there's already an easy way?
> [1]
> https://issues.apache.org/jira/browse/PHOENIX-3242?focusedCommentId=15512529&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15512529
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)