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 rul
[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 1