You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Davide Lanti <da...@unibz.it> on 2018/05/11 12:58:24 UTC

Usage of Volcano or HepPlanner

Dear devs,

I am trying to use the HepPlanner, but apparently it does not apply 
rules according to the cost model (in my case, it simply applies all 
applicable rules).

Do I need the VolcanoPlanner to obtain a cost-based query transformation?

Best, Davide.


Re: Usage of Volcano or HepPlanner

Posted by Michael Mior <mm...@uwaterloo.ca>.
The HepPlanner does not use any cost model by design and applies all
applicable rules as you observed. If you want to do cost-based
optimization, you should use VolcanoPlanner.

--
Michael Mior
mmior@uwaterloo.ca


Le ven. 11 mai 2018 à 13:15, Davide Lanti <da...@unibz.it> a écrit :

> Dear devs,
>
> I am trying to use the HepPlanner, but apparently it does not apply
> rules according to the cost model (in my case, it simply applies all
> applicable rules).
>
> Do I need the VolcanoPlanner to obtain a cost-based query transformation?
>
> Best, Davide.
>
>