I don’t understand what you mean by “two party Library”.

If you want to change the parser, and those changes do not go into the core 
parser, then you will need to make your own jar file. There is an example of 
this in 
core/src/test/java/org/apache/calcite/sql/parser/parserextensiontesting/ExtensionSqlParserTest.java
 added in https://issues.apache.org/jira/browse/CALCITE-1384 
<https://issues.apache.org/jira/browse/CALCITE-1384>.

Julian


> On Jul 13, 2017, at 1:03 AM, 张琦(多轨) <[email protected]> wrote:
> 
> hi:    I want to use calcite to define my own rule ,so I want to change 
> parser.jj by javacc,but I just want to add some new rules ,so can I change 
> sql parser rule if I just use calcite two party Library? and if can , how to 
> do ?

Reply via email to