Hi, all
Currently I'm trying to verify whether some Calcite built-in optimize rules are 
working in Flink SQL, which depends on Calcite to parse and optimize queries. 
During the verification, I found some optimize rule does not work as 
expected(such as FilterReduceExpression), while it works in Calcite's tests. 
With debugging, I found Flink use VolcanoPlaner and Calcite tests use 
HepPlanner, it seems to be the reason rule does not work, so my questions are:

1.       What's the difference between VolcanoPlaner and HepPlanner? There is 
no much information from JavaDoc.

2.       Is there any Calcite built-in optimize rules that only support 
VocanoPlaner or HepPlanner?

3.       If #2 is true, is there any document or simple way to find whether a  
Calcite built-in optimize rule support VocanoPlaner?

Thanks
Chengxiang

Reply via email to