How to change Calcite's default sql grammar?"
问题 How to change Calcite's default sql grammar, to support such sql statement "select func(id) as (a, b, c) from xx;" 回答1: To change the grammar accepted by the SQL parser, you will need to change the parser. There are two ways of doing this. The first is to fork the project and change the core grammar, Parser.jj. But as always when you fork a project, you are responsible for re-applying your changes each time you upgrade to a new version of the project. The second is to use one of the grammar