The Apache Flink sql parser template is a good choice to reference [1]. [1] https://github.com/apache/flink/blob/master/flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl
Best, Danny Chan 在 2020年6月27日 +0800 AM4:26,Tang, Mingjun <[email protected]>,写道: > Hi dear calcite community, > > This is a developer from eBay, I’m trying to parse and optimize spark sql > with calcite, but there’re many grammars not supported by default calcite > parser.jj, such as ‘create or replace temporary view’ or ‘insert overwrite’, > is there a template file I can use to parse spark sql? > > Best Regards, > Wesley
