Re: how may map-reduce needed in a hive query

2013-01-22 Thread Nitin Pawar
if you look closely in first phase it executes your transform and in second it does your sum operation On Wed, Jan 23, 2013 at 11:24 AM, Richard wrote: > thanks. I used explain command and get the plan, but I am still confused. > The below is the description of two map-reduce stages: > > it see

Re: how may map-reduce needed in a hive query

2013-01-22 Thread Nitin Pawar
you can run explain extended (your query) to get more details On Wed, Jan 23, 2013 at 9:15 AM, Richard wrote: > I am wondering how to determine the number of map-reduce for a hive query. > > for example, the following query > > select > sum(c1), > sum(c2), > k1 > from > { > select transform(*