hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Pullokkaran <jpullokka...@hortonworks.com>
Subject Re: Cost based optimization
Date Fri, 26 Jun 2015 18:13:10 GMT
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 <raajay.v@gmail.com<mailto:raajay.v@gmail.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>
Date: Thursday, June 25, 2015 at 11:59 PM
To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>
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 <jpullokkaran@hortonworks.com<mailto:jpullokkaran@hortonworks.com>>
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 <raajay.v@gmail.com<mailto:raajay.v@gmail.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>
Date: Thursday, June 25, 2015 at 2:30 PM
To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>
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


Mime
View raw message