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 instance, a relational tree for push-filter-though-join rule in format (LHS relational tree => RHS relational tree). The motivation behind this is to have a set of rewrite rules in the same format (IR) as the output of opTree.explain() to build new optimizers.
Thanks for your time. Many thanks, George Barbulescu
