Returning the Intermediate Representation of the rewrite rules

2022-11-02 Thread G.O. Barbulescu
Dear Apache Calcite development team, I am currently working on a research project in which I am considering Apache Calcite for the parsing stage. I was wondering if there exists an API to return the intermediate representation (relational tree) for the pre-defined SQL rewrite rules? For instan

Re: Returning the Intermediate Representation of the rewrite rules

2022-11-06 Thread Haisheng Yuan
No, there is no API to return rule output. But there is a class RuleEventLogger, which can log the input and output of the rule. On 2022/11/02 16:53:53 "G.O. Barbulescu" wrote: > Dear Apache Calcite development team, > > I am currently working on a research project in which I am considering Apac