Hi Calcite community,
I'm working on the multi query optimization problem where I have to find a 
common subplan among a set of given logical plans. So I just wonder if in the 
Calcite codebase  we have any utility function that compares two RelNodes and 
let us know whether they are doing the same thing. For example a Filter == 
another Filter if their inputs are equal and rex conditions are equal, or a 
Project = another Project if their input are equals and they have a same set of 
projection expressions?

Thanks,
Khai

Reply via email to