I agree with Milinda said. I’ll add that real, complex systems often use multiple phases of planning, some of which are rule-based, some cost-based, using different sets of rules or cost models at each stage. The nice thing about Calcite’s model is that you can re-use the same transformation rules (RelOptRule) in various stages, because Hep and Volcano planners use the same rules.
Julian > On Jun 15, 2016, at 8:28 AM, Milinda Pathirage <mpath...@umail.iu.edu> wrote: > > [1] is a good resource on differences between Volcano and Hep planners. I > used both Hep and Volcano planners in SamzaSQL. But we don't have a proper > cost model for streaming queries at this stage. > > Thanks > Milinda > > [1] http://www.hydromatic.net/wiki/FarragoHeuristicPlanner > > On Tue, Jun 14, 2016 at 10:14 PM, Zhangrucong <zhangruc...@huawei.com> > wrote: > >> Hello everyone: >> >> Now I am learning calcite streamSQL. Samza is a stream system and uses >> calcite very well. I have a question about planner. Anyone can help me. >> Thanks in advance. >> >> The question is following: >> >> 1、 I want to know what is the difference between HepPlanner and >> VolcanoPlanner? For streamSQL ,which one is better? Samza uses which model? >> >> Thank you very much! >> >> > > > -- > Milinda Pathirage > > PhD Student | Research Assistant > School of Informatics and Computing | Data to Insight Center > Indiana University > > twitter: milindalakmal > skype: milinda.pathirage > blog: http://milinda.pathirage.org