Hey, Peer Arimond ~

The server module is really a good start for extending the parser, you can take 
a reference if you want to have custom syntax.

I don’t get what you mean by “print the sql node”, but if you want to unparse 
the SqlNode to original sql string, invoke the SqlNode#toString is okey.

Best,
Danny Chan
在 2019年9月22日 +0800 AM4:31,Peer Arimond, INF-I <[email protected]>,写道:
> Hello Apache Calcite,
>
> I´m currently working on a project, wich connects diffrent database systems, 
> relational such as nosql. Part of the project is to translate an SQL query 
> into our own model of relational algebra. After making some research i saw 
> Apache Calcite and especially the SQL Parser of Apache Calcite and i think it 
> could help me a lot.
> Is there only the documentation or are there may be more guides or something 
> to get deeper into the SQL Parser?
> I want to parse a query and walk recursively over each node from the query 
> tree and for example print every Node and it´s function.
> If i could achieve that it would be a good beginning. May be you can help?
>
> Greetings,
>
> Peer Arimond
>
> --
> http://webmail.fh-trier.de
>

Reply via email to