Hi Makis,

You can use HepPlanner and your customized transoformation rule to rewrite the 
optimized plan. Top-down or Bottom-up can also be specified.
Many systems have this kind of post processing phase. 

- Haisheng

------------------------------------------------------------------
发件人:Serafeim (Makis) Papadias<[email protected]>
日 期:2019年11月13日 05:37:37
收件人:<[email protected]>
主 题:Top-down pass of an optimized plan

Dear all,

I am performing a Volcano optimisation pass first and I receive the root of the 
optimised plan from the standard Program in [1]. Afterwards, I want to perform 
a top-down pass to the optimised plan and change it a bit by placing certain 
operators at specific points.

Do you have any ideas on how to do this properly in Calcite?

Thanks in advance.

Best,
Makis


[1] — https://calcite.apache.org/apidocs/org/apache/calcite/tools/Programs.html 
<https://calcite.apache.org/apidocs/org/apache/calcite/tools/Programs.html>

Reply via email to