The following papers provide an overview of Hive. These papers also explain the query rewrite i.e., translation from HiveQL to MR.
http://www.vldb.org/pvldb/2/vldb09-938.pdf http://i.stanford.edu/~ragho/hive-icde2010.pdf If you want to look at the code, you should probably start with SemanticAnalyzer.java. genPlan() and genMapRedTasks() in SemanticAnalyzer.java are good starting points for looking at plan generation. Thanks. Shreepadma. On Tue, Nov 20, 2012 at 2:30 AM, bharath vissapragada < bharathvissapragada1...@gmail.com> wrote: > To some extent this, > > > https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide#DeveloperGuide-QueryProcessor > > In source look at ql/plan , ql/exec packages ! > > On Tue, Nov 20, 2012 at 2:19 PM, Nitin Pawar <nitinpawar...@gmail.com>wrote: > >> For sample you can just do a explain exteneded (query) ..which does show >> how your query is coverted to mapreduce >> >> You can always checkout codebase from svn >> On Nov 20, 2012 2:15 PM, "imen Megdiche" <imen.megdi...@gmail.com> wrote: >> >>> hello, >>> >>> I want to know the principle of hiveql requests i.e how it translates >>> these queries into MapReduce job. Is there any piece of source code that >>> can explain that. >>> thank you very much for your responses >>> >> > > > -- > Regards, > Bharath .V > w:http://researchweb.iiit.ac.in/~bharath.v >