Re: questions about hive CBO

2015-06-17 Thread John Pullokkaran
HepPlanner is a greedy planner & VolcanoPlanner is a more exhaustive planner. ReloptCluster captures env for planning; it holds on to type factory, metadata providerÅ  Having said that these are just required plumbings needed to explore plan alternatives. CalcitePlanner, Meta data providers, Relopt

questions about hive CBO

2015-06-17 Thread wangzhenhua (G)
Hi all, I'm reading the source code of Hive cbo (CalcaitePlanner), but I find it hard to follow. Listed below are some of the questions: 1. What's the relationship between HepPlanner and HiveVolcanoPlanner? 2. I don't have a clue about these concepts: clusters, traitDef and collectGarbage(). Th