hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Pullokkaran <>
Subject Re: VolcanoPlanner vs HepPlanner
Date Wed, 07 Oct 2015 16:58:44 GMT
This would be a broad change.
Hep Planner does enumerate different join orders through "LoptOptimizeJoinRule".

Volcano planner is not used as it has scalability issues.

From: Raajay <<>>
Reply-To: "<>" <<>>
Date: Tuesday, October 6, 2015 at 2:06 PM
To: "<>" <<>>
Subject: VolcanoPlanner vs HepPlanner

Hello -

While surfing the code in "apply" function of CalcitePlannerAction (,
I see that most rules are passed to a HepPlanner to arrive at the "least cost" operator tree.

The HiveVolcanoPlanner although defined and initialized is never invoked to find the best
operator tree. I want to change the planner from Hep to Volcano, for the following reason:
to obtain a collection of costlier join orders.

Passing the rules for the Hep Planner as is to HiveVolcano planner does not help. The query
plan is never altered.

Any ideas, what rules need to be passed to the HiveVolcanoPlanner for effective CBO ?


View raw message