Re: Question Regarding Volcano Planner

2022-08-28 Thread Roman Kondakov
Hello Pranav, you also can split your optimization process into several steps. For example you can add a heuristic phase (using HEP planner) before Volcano planning with filters pushdown. It is almost always a beneficial operation so you can avoid polluting search space with plans that are kn

Re: Question Regarding Volcano Planner

2022-08-28 Thread Haisheng Yuan
You need to first investigate whether the transformation rules or operators are correctly implemented or not. Typically there is a bug if you see the planner fails to terminate. There is cancelFlag variable and checkCancel() method in VolcanoPlanner. You can pass your own CancelFlag implementati

Question Regarding Volcano Planner

2022-08-26 Thread Pranav Deshpande
Dear Apache Calcite Dev Team, Sometimes my volcano planner fails to terminate because there are many plans to search for (millions of them). Is there a way to prune the search if a specific amount of time has elapsed or if the same net cost is obtained for the Xth time, etc. Requesting the commun