Thanks for your interest.
Please look in to CalcitePlanner.java, 
org.apache.hadoop.hive.ql.optimizer.calcite.* packages for source files.

Thanks
John

From: Raajay <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 25, 2015 at 11:59 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Cost based optimization

Awesome! Thanks John.

 I would be grateful if you could point me to the files in the source code, 
that are primarily responsible for Query Planning.

Thanks,
Raajay

On Thu, Jun 25, 2015 at 4:45 PM, John Pullokkaran 
<[email protected]<mailto:[email protected]>> wrote:
Hive does look in to alternate join orders and pick the best plan that 
minimizes cost.
It uses a greedy algorithm to enumerate plan space.

Thanks
John

From: Raajay <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 25, 2015 at 2:30 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Cost based optimization

Hello Everyone,

A quick question on the cost-based optimization module in Hive. Does the latest 
version support query plan generation with alternate join orders ?

Thanks
Raajay

Reply via email to