http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query95.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query95.q.out 
b/ql/src/test/results/clientpositive/perf/query95.q.out
index 28c516b..2c682e7 100644
--- a/ql/src/test/results/clientpositive/perf/query95.q.out
+++ b/ql/src/test/results/clientpositive/perf/query95.q.out
@@ -15,261 +15,140 @@ Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 Reducer 8 <- Map 7 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:-1
-      Stage-1
-         Reducer 6
-         File Output Operator [FS_63]
-            compressed:false
-            Statistics:Num rows: 1 Data size: 344 Basic stats: COMPLETE Column 
stats: NONE
-            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Group By Operator [GBY_61]
-            |  aggregations:["count(DISTINCT 
KEY._col0:0._col0)","sum(VALUE._col1)","sum(VALUE._col2)"]
-            |  outputColumnNames:["_col0","_col1","_col2"]
-            |  Statistics:Num rows: 1 Data size: 344 Basic stats: COMPLETE 
Column stats: NONE
-            |<-Reducer 5 [SIMPLE_EDGE]
-               Reduce Output Operator [RS_60]
-                  key expressions:_col0 (type: int)
-                  sort order:+
-                  Statistics:Num rows: 26620000 Data size: 27016104217 Basic 
stats: COMPLETE Column stats: NONE
-                  value expressions:_col2 (type: decimal(17,2)), _col3 (type: 
decimal(17,2))
-                  Group By Operator [GBY_59]
-                     aggregations:["count(DISTINCT 
_col3)","sum(_col4)","sum(_col5)"]
-                     keys:_col3 (type: int)
-                     outputColumnNames:["_col0","_col1","_col2","_col3"]
-                     Statistics:Num rows: 26620000 Data size: 27016104217 
Basic stats: COMPLETE Column stats: NONE
-                     Merge Join Operator [MERGEJOIN_122]
-                     |  condition map:[{"":"Inner Join 0 to 1"}]
-                     |  keys:{"0":"_col0 (type: int)","1":"_col0 (type: int)"}
-                     |  outputColumnNames:["_col3","_col4","_col5"]
-                     |  Statistics:Num rows: 26620000 Data size: 27016104217 
Basic stats: COMPLETE Column stats: NONE
-                     |<-Map 17 [SIMPLE_EDGE]
-                     |  Reduce Output Operator [RS_56]
-                     |     key expressions:_col0 (type: int)
-                     |     Map-reduce partition columns:_col0 (type: int)
-                     |     sort order:+
-                     |     Statistics:Num rows: 36524 Data size: 40870356 
Basic stats: COMPLETE Column stats: NONE
-                     |     Select Operator [SEL_40]
-                     |        outputColumnNames:["_col0"]
-                     |        Statistics:Num rows: 36524 Data size: 40870356 
Basic stats: COMPLETE Column stats: NONE
-                     |        Filter Operator [FIL_115]
-                     |           predicate:(d_date_sk is not null and d_date 
BETWEEN '2002-05-01' AND '2002-06-30') (type: boolean)
-                     |           Statistics:Num rows: 36524 Data size: 
40870356 Basic stats: COMPLETE Column stats: NONE
-                     |           TableScan [TS_38]
-                     |              alias:d
-                     |              Statistics:Num rows: 73049 Data size: 
81741831 Basic stats: COMPLETE Column stats: NONE
-                     |<-Reducer 4 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_55]
-                           key expressions:_col0 (type: int)
-                           Map-reduce partition columns:_col0 (type: int)
-                           sort order:+
-                           Statistics:Num rows: 24200000 Data size: 
24560094211 Basic stats: COMPLETE Column stats: NONE
-                           value expressions:_col3 (type: int), _col4 (type: 
decimal(7,2)), _col5 (type: decimal(7,2))
-                           Merge Join Operator [MERGEJOIN_121]
-                           |  condition map:[{"":"Inner Join 0 to 1"}]
-                           |  keys:{"0":"_col2 (type: int)","1":"_col0 (type: 
int)"}
-                           |  
outputColumnNames:["_col0","_col3","_col4","_col5"]
-                           |  Statistics:Num rows: 24200000 Data size: 
24560094211 Basic stats: COMPLETE Column stats: NONE
-                           |<-Map 16 [SIMPLE_EDGE]
-                           |  Reduce Output Operator [RS_53]
-                           |     key expressions:_col0 (type: int)
-                           |     Map-reduce partition columns:_col0 (type: int)
-                           |     sort order:+
-                           |     Statistics:Num rows: 42 Data size: 77704 
Basic stats: COMPLETE Column stats: NONE
-                           |     Select Operator [SEL_37]
-                           |        outputColumnNames:["_col0"]
-                           |        Statistics:Num rows: 42 Data size: 77704 
Basic stats: COMPLETE Column stats: NONE
-                           |        Filter Operator [FIL_114]
-                           |           predicate:(web_site_sk is not null and 
(web_company_name = 'pri')) (type: boolean)
-                           |           Statistics:Num rows: 42 Data size: 
77704 Basic stats: COMPLETE Column stats: NONE
-                           |           TableScan [TS_35]
-                           |              alias:s
-                           |              Statistics:Num rows: 84 Data size: 
155408 Basic stats: COMPLETE Column stats: NONE
-                           |<-Reducer 3 [SIMPLE_EDGE]
-                              Reduce Output Operator [RS_52]
-                                 key expressions:_col2 (type: int)
-                                 Map-reduce partition columns:_col2 (type: int)
-                                 sort order:+
-                                 Statistics:Num rows: 22000000 Data size: 
22327357890 Basic stats: COMPLETE Column stats: NONE
-                                 value expressions:_col0 (type: int), _col3 
(type: int), _col4 (type: decimal(7,2)), _col5 (type: decimal(7,2))
-                                 Merge Join Operator [MERGEJOIN_120]
-                                 |  condition map:[{"":"Inner Join 0 to 1"}]
-                                 |  keys:{"0":"_col1 (type: int)","1":"_col0 
(type: int)"}
-                                 |  
outputColumnNames:["_col0","_col2","_col3","_col4","_col5"]
-                                 |  Statistics:Num rows: 22000000 Data size: 
22327357890 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Map 15 [SIMPLE_EDGE]
-                                 |  Reduce Output Operator [RS_50]
-                                 |     key expressions:_col0 (type: int)
-                                 |     Map-reduce partition columns:_col0 
(type: int)
-                                 |     sort order:+
-                                 |     Statistics:Num rows: 20000000 Data 
size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |     Select Operator [SEL_34]
-                                 |        outputColumnNames:["_col0"]
-                                 |        Statistics:Num rows: 20000000 Data 
size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |        Filter Operator [FIL_113]
-                                 |           predicate:(ca_address_sk is not 
null and (ca_state = 'GA')) (type: boolean)
-                                 |           Statistics:Num rows: 20000000 
Data size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |           TableScan [TS_32]
-                                 |              alias:ca
-                                 |              Statistics:Num rows: 40000000 
Data size: 40595195284 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 2 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_49]
-                                       key expressions:_col1 (type: int)
-                                       Map-reduce partition columns:_col1 
(type: int)
-                                       sort order:+
-                                       Statistics:Num rows: 2 Data size: 0 
Basic stats: PARTIAL Column stats: NONE
-                                       value expressions:_col0 (type: int), 
_col2 (type: int), _col3 (type: int), _col4 (type: decimal(7,2)), _col5 (type: 
decimal(7,2))
-                                       Merge Join Operator [MERGEJOIN_119]
-                                       |  condition map:[{"":"Left Semi Join 0 
to 1"},{"":"Left Semi Join 0 to 2"}]
-                                       |  keys:{"0":"_col3 (type: 
int)","1":"_col0 (type: int)","2":"_col0 (type: int)"}
-                                       |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                       |  Statistics:Num rows: 2 Data size: 0 
Basic stats: PARTIAL Column stats: NONE
-                                       |<-Map 1 [SIMPLE_EDGE]
-                                       |  Reduce Output Operator [RS_45]
-                                       |     key expressions:_col3 (type: int)
-                                       |     Map-reduce partition 
columns:_col3 (type: int)
-                                       |     sort order:+
-                                       |     Statistics:Num rows: 1 Data size: 
0 Basic stats: PARTIAL Column stats: NONE
-                                       |     value expressions:_col0 (type: 
int), _col1 (type: int), _col2 (type: int), _col4 (type: decimal(7,2)), _col5 
(type: decimal(7,2))
-                                       |     Select Operator [SEL_2]
-                                       |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                       |        Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        Filter Operator [FIL_107]
-                                       |           
predicate:(((ws_ship_addr_sk is not null and ws_web_site_sk is not null) and 
ws_ship_date_sk is not null) and ws_order_number is not null) (type: boolean)
-                                       |           Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |           TableScan [TS_0]
-                                       |              alias:ws1
-                                       |              Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |<-Reducer 11 [SIMPLE_EDGE]
-                                       |  Reduce Output Operator [RS_47]
-                                       |     key expressions:_col0 (type: int)
-                                       |     Map-reduce partition 
columns:_col0 (type: int)
-                                       |     sort order:+
-                                       |     Statistics:Num rows: 1 Data size: 
0 Basic stats: PARTIAL Column stats: NONE
-                                       |     Group By Operator [GBY_44]
-                                       |        keys:_col0 (type: int)
-                                       |        outputColumnNames:["_col0"]
-                                       |        Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        Merge Join Operator 
[MERGEJOIN_118]
-                                       |        |  condition map:[{"":"Inner 
Join 0 to 1"}]
-                                       |        |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                                       |        |  outputColumnNames:["_col0"]
-                                       |        |  Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        |<-Map 10 [SIMPLE_EDGE]
-                                       |        |  Reduce Output Operator 
[RS_28]
-                                       |        |     key expressions:_col0 
(type: int)
-                                       |        |     Map-reduce partition 
columns:_col0 (type: int)
-                                       |        |     sort order:+
-                                       |        |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        |     Select Operator [SEL_16]
-                                       |        |        
outputColumnNames:["_col0"]
-                                       |        |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        |        Filter Operator 
[FIL_110]
-                                       |        |           
predicate:wr_order_number is not null (type: boolean)
-                                       |        |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        |           TableScan [TS_14]
-                                       |        |              alias:wr
-                                       |        |              Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |        |<-Reducer 13 [SIMPLE_EDGE]
-                                       |           Reduce Output Operator 
[RS_29]
-                                       |              key expressions:_col0 
(type: int)
-                                       |              Map-reduce partition 
columns:_col0 (type: int)
-                                       |              sort order:+
-                                       |              Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |              Select Operator [SEL_27]
-                                       |                 
outputColumnNames:["_col0"]
-                                       |                 Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                 Filter Operator 
[FIL_26]
-                                       |                    predicate:(_col0 
<> _col2) (type: boolean)
-                                       |                    Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    Merge Join 
Operator [MERGEJOIN_117]
-                                       |                    |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                       |                    |  
keys:{"0":"_col1 (type: int)","1":"_col1 (type: int)"}
-                                       |                    |  
outputColumnNames:["_col0","_col1","_col2"]
-                                       |                    |  Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    |<-Map 12 
[SIMPLE_EDGE]
-                                       |                    |  Reduce Output 
Operator [RS_23]
-                                       |                    |     key 
expressions:_col1 (type: int)
-                                       |                    |     Map-reduce 
partition columns:_col1 (type: int)
-                                       |                    |     sort order:+
-                                       |                    |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    |     value 
expressions:_col0 (type: int)
-                                       |                    |     Select 
Operator [SEL_19]
-                                       |                    |        
outputColumnNames:["_col0","_col1"]
-                                       |                    |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    |        Filter 
Operator [FIL_111]
-                                       |                    |           
predicate:ws_order_number is not null (type: boolean)
-                                       |                    |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    |           
TableScan [TS_17]
-                                       |                    |              
alias:ws1
-                                       |                    |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                    |<-Map 14 
[SIMPLE_EDGE]
-                                       |                       Reduce Output 
Operator [RS_24]
-                                       |                          key 
expressions:_col1 (type: int)
-                                       |                          Map-reduce 
partition columns:_col1 (type: int)
-                                       |                          sort order:+
-                                       |                          
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                          value 
expressions:_col0 (type: int)
-                                       |                          Select 
Operator [SEL_22]
-                                       |                             
outputColumnNames:["_col0","_col1"]
-                                       |                             
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                             Filter 
Operator [FIL_112]
-                                       |                                
predicate:ws_order_number is not null (type: boolean)
-                                       |                                
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |                                
TableScan [TS_20]
-                                       |                                   
alias:ws1
-                                       |                                   
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                       |<-Reducer 8 [SIMPLE_EDGE]
-                                          Reduce Output Operator [RS_46]
-                                             key expressions:_col0 (type: int)
-                                             Map-reduce partition 
columns:_col0 (type: int)
-                                             sort order:+
-                                             Statistics:Num rows: 1 Data size: 
0 Basic stats: PARTIAL Column stats: NONE
-                                             Group By Operator [GBY_42]
-                                                keys:_col0 (type: int)
-                                                outputColumnNames:["_col0"]
-                                                Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                Select Operator [SEL_13]
-                                                   outputColumnNames:["_col0"]
-                                                   Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   Filter Operator [FIL_12]
-                                                      predicate:(_col0 <> 
_col2) (type: boolean)
-                                                      Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      Merge Join Operator 
[MERGEJOIN_116]
-                                                      |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                      |  keys:{"0":"_col1 
(type: int)","1":"_col1 (type: int)"}
-                                                      |  
outputColumnNames:["_col0","_col1","_col2"]
-                                                      |  Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |<-Map 7 [SIMPLE_EDGE]
-                                                      |  Reduce Output 
Operator [RS_9]
-                                                      |     key 
expressions:_col1 (type: int)
-                                                      |     Map-reduce 
partition columns:_col1 (type: int)
-                                                      |     sort order:+
-                                                      |     Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |     value 
expressions:_col0 (type: int)
-                                                      |     Select Operator 
[SEL_5]
-                                                      |        
outputColumnNames:["_col0","_col1"]
-                                                      |        Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |        Filter Operator 
[FIL_108]
-                                                      |           
predicate:ws_order_number is not null (type: boolean)
-                                                      |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |           TableScan 
[TS_3]
-                                                      |              alias:ws1
-                                                      |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |<-Map 9 [SIMPLE_EDGE]
-                                                         Reduce Output 
Operator [RS_10]
-                                                            key 
expressions:_col1 (type: int)
-                                                            Map-reduce 
partition columns:_col1 (type: int)
-                                                            sort order:+
-                                                            Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                            value 
expressions:_col0 (type: int)
-                                                            Select Operator 
[SEL_8]
-                                                               
outputColumnNames:["_col0","_col1"]
-                                                               Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                               Filter Operator 
[FIL_109]
-                                                                  
predicate:ws_order_number is not null (type: boolean)
-                                                                  
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                  TableScan 
[TS_6]
-                                                                     alias:ws1
-                                                                     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+  Fetch Operator
+    limit:-1
+    Stage-1
+      Reducer 6
+      File Output Operator [FS_63]
+        Group By Operator [GBY_61] (rows=1 width=344)
+          Output:["_col0","_col1","_col2"],aggregations:["count(DISTINCT 
KEY._col0:0._col0)","sum(VALUE._col1)","sum(VALUE._col2)"]
+        <-Reducer 5 [SIMPLE_EDGE]
+          SHUFFLE [RS_60]
+            Group By Operator [GBY_59] (rows=26620000 width=1014)
+              
Output:["_col0","_col1","_col2","_col3"],aggregations:["count(DISTINCT 
_col3)","sum(_col4)","sum(_col5)"],keys:_col3
+              Merge Join Operator [MERGEJOIN_122] (rows=26620000 width=1014)
+                
Conds:RS_55._col0=RS_56._col0(Inner),Output:["_col3","_col4","_col5"]
+              <-Map 17 [SIMPLE_EDGE]
+                SHUFFLE [RS_56]
+                  PartitionCols:_col0
+                  Select Operator [SEL_40] (rows=36524 width=1119)
+                    Output:["_col0"]
+                    Filter Operator [FIL_115] (rows=36524 width=1119)
+                      predicate:(d_date_sk is not null and d_date BETWEEN 
'2002-05-01' AND '2002-06-30')
+                      TableScan [TS_38] (rows=73049 width=1119)
+                        
default@date_dim,d,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
+              <-Reducer 4 [SIMPLE_EDGE]
+                SHUFFLE [RS_55]
+                  PartitionCols:_col0
+                  Merge Join Operator [MERGEJOIN_121] (rows=24200000 
width=1014)
+                    
Conds:RS_52._col2=RS_53._col0(Inner),Output:["_col0","_col3","_col4","_col5"]
+                  <-Map 16 [SIMPLE_EDGE]
+                    SHUFFLE [RS_53]
+                      PartitionCols:_col0
+                      Select Operator [SEL_37] (rows=42 width=1850)
+                        Output:["_col0"]
+                        Filter Operator [FIL_114] (rows=42 width=1850)
+                          predicate:(web_site_sk is not null and 
(web_company_name = 'pri'))
+                          TableScan [TS_35] (rows=84 width=1850)
+                            
default@web_site,s,Tbl:COMPLETE,Col:NONE,Output:["web_site_sk","web_company_name"]
+                  <-Reducer 3 [SIMPLE_EDGE]
+                    SHUFFLE [RS_52]
+                      PartitionCols:_col2
+                      Merge Join Operator [MERGEJOIN_120] (rows=22000000 
width=1014)
+                        
Conds:RS_49._col1=RS_50._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
+                      <-Map 15 [SIMPLE_EDGE]
+                        SHUFFLE [RS_50]
+                          PartitionCols:_col0
+                          Select Operator [SEL_34] (rows=20000000 width=1014)
+                            Output:["_col0"]
+                            Filter Operator [FIL_113] (rows=20000000 
width=1014)
+                              predicate:(ca_address_sk is not null and 
(ca_state = 'GA'))
+                              TableScan [TS_32] (rows=40000000 width=1014)
+                                
default@customer_address,ca,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state"]
+                      <-Reducer 2 [SIMPLE_EDGE]
+                        SHUFFLE [RS_49]
+                          PartitionCols:_col1
+                          Merge Join Operator [MERGEJOIN_119] (rows=2 width=0)
+                            Conds:RS_45._col3=RS_46._col0(Left 
Semi),RS_45._col3=RS_47._col0(Left 
Semi),Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                          <-Map 1 [SIMPLE_EDGE]
+                            SHUFFLE [RS_45]
+                              PartitionCols:_col3
+                              Select Operator [SEL_2] (rows=1 width=0)
+                                
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                Filter Operator [FIL_107] (rows=1 width=0)
+                                  predicate:(((ws_ship_addr_sk is not null and 
ws_web_site_sk is not null) and ws_ship_date_sk is not null) and 
ws_order_number is not null)
+                                  TableScan [TS_0] (rows=1 width=0)
+                                    
default@web_sales,ws1,Tbl:PARTIAL,Col:NONE,Output:["ws_ship_date_sk","ws_ship_addr_sk","ws_web_site_sk","ws_order_number","ws_ext_ship_cost","ws_net_profit"]
+                          <-Reducer 11 [SIMPLE_EDGE]
+                            SHUFFLE [RS_47]
+                              PartitionCols:_col0
+                              Group By Operator [GBY_44] (rows=1 width=0)
+                                Output:["_col0"],keys:_col0
+                                Merge Join Operator [MERGEJOIN_118] (rows=1 
width=0)
+                                  
Conds:RS_28._col0=RS_29._col0(Inner),Output:["_col0"]
+                                <-Map 10 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_28]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_16] (rows=1 width=0)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_110] (rows=1 
width=0)
+                                        predicate:wr_order_number is not null
+                                        TableScan [TS_14] (rows=1 width=0)
+                                          
default@web_returns,wr,Tbl:PARTIAL,Col:NONE,Output:["wr_order_number"]
+                                <-Reducer 13 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_29]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_27] (rows=1 width=0)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_26] (rows=1 width=0)
+                                        predicate:(_col0 <> _col2)
+                                        Merge Join Operator [MERGEJOIN_117] 
(rows=1 width=0)
+                                          
Conds:RS_23._col1=RS_24._col1(Inner),Output:["_col0","_col1","_col2"]
+                                        <-Map 12 [SIMPLE_EDGE]
+                                          SHUFFLE [RS_23]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_19] (rows=1 
width=0)
+                                              Output:["_col0","_col1"]
+                                              Filter Operator [FIL_111] 
(rows=1 width=0)
+                                                predicate:ws_order_number is 
not null
+                                                TableScan [TS_17] (rows=1 
width=0)
+                                                  
default@web_sales,ws1,Tbl:PARTIAL,Col:NONE,Output:["ws_warehouse_sk","ws_order_number"]
+                                        <-Map 14 [SIMPLE_EDGE]
+                                          SHUFFLE [RS_24]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_22] (rows=1 
width=0)
+                                              Output:["_col0","_col1"]
+                                              Filter Operator [FIL_112] 
(rows=1 width=0)
+                                                predicate:ws_order_number is 
not null
+                                                TableScan [TS_20] (rows=1 
width=0)
+                                                  
default@web_sales,ws1,Tbl:PARTIAL,Col:NONE,Output:["ws_warehouse_sk","ws_order_number"]
+                          <-Reducer 8 [SIMPLE_EDGE]
+                            SHUFFLE [RS_46]
+                              PartitionCols:_col0
+                              Group By Operator [GBY_42] (rows=1 width=0)
+                                Output:["_col0"],keys:_col0
+                                Select Operator [SEL_13] (rows=1 width=0)
+                                  Output:["_col0"]
+                                  Filter Operator [FIL_12] (rows=1 width=0)
+                                    predicate:(_col0 <> _col2)
+                                    Merge Join Operator [MERGEJOIN_116] 
(rows=1 width=0)
+                                      
Conds:RS_9._col1=RS_10._col1(Inner),Output:["_col0","_col1","_col2"]
+                                    <-Map 7 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_9]
+                                        PartitionCols:_col1
+                                        Select Operator [SEL_5] (rows=1 
width=0)
+                                          Output:["_col0","_col1"]
+                                          Filter Operator [FIL_108] (rows=1 
width=0)
+                                            predicate:ws_order_number is not 
null
+                                            TableScan [TS_3] (rows=1 width=0)
+                                              
default@web_sales,ws1,Tbl:PARTIAL,Col:NONE,Output:["ws_warehouse_sk","ws_order_number"]
+                                    <-Map 9 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_10]
+                                        PartitionCols:_col1
+                                        Select Operator [SEL_8] (rows=1 
width=0)
+                                          Output:["_col0","_col1"]
+                                          Filter Operator [FIL_109] (rows=1 
width=0)
+                                            predicate:ws_order_number is not 
null
+                                            TableScan [TS_6] (rows=1 width=0)
+                                              
default@web_sales,ws1,Tbl:PARTIAL,Col:NONE,Output:["ws_warehouse_sk","ws_order_number"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query96.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query96.q.out 
b/ql/src/test/results/clientpositive/perf/query96.q.out
index 9a510b4..34e4bf9 100644
--- a/ql/src/test/results/clientpositive/perf/query96.q.out
+++ b/ql/src/test/results/clientpositive/perf/query96.q.out
@@ -12,124 +12,69 @@ Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
 Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:100
-      Stage-1
-         Reducer 6
-         File Output Operator [FS_29]
-            compressed:false
-            Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE Column 
stats: NONE
-            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Limit [LIM_28]
-               Number of rows:100
-               Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-               Select Operator [SEL_27]
-               |  outputColumnNames:["_col0"]
-               |  Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-               |<-Reducer 5 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_26]
-                     key expressions:_col0 (type: bigint)
-                     sort order:+
-                     Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-                     Group By Operator [GBY_24]
-                     |  aggregations:["count(VALUE._col0)"]
-                     |  outputColumnNames:["_col0"]
-                     |  Statistics:Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
-                     |<-Reducer 4 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_23]
-                           sort order:
-                           Statistics:Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
-                           value expressions:_col0 (type: bigint)
-                           Group By Operator [GBY_22]
-                              aggregations:["count()"]
-                              outputColumnNames:["_col0"]
-                              Statistics:Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: NONE
-                              Merge Join Operator [MERGEJOIN_45]
-                              |  condition map:[{"":"Inner Join 0 to 1"}]
-                              |  keys:{"0":"_col2 (type: int)","1":"_col0 
(type: int)"}
-                              |  Statistics:Num rows: 17424 Data size: 8206704 
Basic stats: COMPLETE Column stats: NONE
-                              |<-Map 9 [SIMPLE_EDGE]
-                              |  Reduce Output Operator [RS_19]
-                              |     key expressions:_col0 (type: int)
-                              |     Map-reduce partition columns:_col0 (type: 
int)
-                              |     sort order:+
-                              |     Statistics:Num rows: 852 Data size: 
1628138 Basic stats: COMPLETE Column stats: NONE
-                              |     Select Operator [SEL_11]
-                              |        outputColumnNames:["_col0"]
-                              |        Statistics:Num rows: 852 Data size: 
1628138 Basic stats: COMPLETE Column stats: NONE
-                              |        Filter Operator [FIL_42]
-                              |           predicate:((s_store_name = 'ese') 
and s_store_sk is not null) (type: boolean)
-                              |           Statistics:Num rows: 852 Data size: 
1628138 Basic stats: COMPLETE Column stats: NONE
-                              |           TableScan [TS_9]
-                              |              alias:store
-                              |              Statistics:Num rows: 1704 Data 
size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                              |<-Reducer 3 [SIMPLE_EDGE]
-                                 Reduce Output Operator [RS_18]
-                                    key expressions:_col2 (type: int)
-                                    Map-reduce partition columns:_col2 (type: 
int)
-                                    sort order:+
-                                    Statistics:Num rows: 15840 Data size: 
7460640 Basic stats: COMPLETE Column stats: NONE
-                                    Merge Join Operator [MERGEJOIN_44]
-                                    |  condition map:[{"":"Inner Join 0 to 1"}]
-                                    |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                                    |  outputColumnNames:["_col2"]
-                                    |  Statistics:Num rows: 15840 Data size: 
7460640 Basic stats: COMPLETE Column stats: NONE
-                                    |<-Map 8 [SIMPLE_EDGE]
-                                    |  Reduce Output Operator [RS_16]
-                                    |     key expressions:_col0 (type: int)
-                                    |     Map-reduce partition columns:_col0 
(type: int)
-                                    |     sort order:+
-                                    |     Statistics:Num rows: 14400 Data 
size: 6782400 Basic stats: COMPLETE Column stats: NONE
-                                    |     Select Operator [SEL_8]
-                                    |        outputColumnNames:["_col0"]
-                                    |        Statistics:Num rows: 14400 Data 
size: 6782400 Basic stats: COMPLETE Column stats: NONE
-                                    |        Filter Operator [FIL_41]
-                                    |           predicate:(((t_hour = 8) and 
(t_minute >= 30)) and t_time_sk is not null) (type: boolean)
-                                    |           Statistics:Num rows: 14400 
Data size: 6782400 Basic stats: COMPLETE Column stats: NONE
-                                    |           TableScan [TS_6]
-                                    |              alias:time_dim
-                                    |              Statistics:Num rows: 86400 
Data size: 40694400 Basic stats: COMPLETE Column stats: NONE
-                                    |<-Reducer 2 [SIMPLE_EDGE]
-                                       Reduce Output Operator [RS_15]
-                                          key expressions:_col0 (type: int)
-                                          Map-reduce partition columns:_col0 
(type: int)
-                                          sort order:+
-                                          Statistics:Num rows: 3960 Data size: 
423720 Basic stats: COMPLETE Column stats: NONE
-                                          value expressions:_col2 (type: int)
-                                          Merge Join Operator [MERGEJOIN_43]
-                                          |  condition map:[{"":"Inner Join 0 
to 1"}]
-                                          |  keys:{"0":"_col1 (type: 
int)","1":"_col0 (type: int)"}
-                                          |  
outputColumnNames:["_col0","_col2"]
-                                          |  Statistics:Num rows: 3960 Data 
size: 423720 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Map 1 [SIMPLE_EDGE]
-                                          |  Reduce Output Operator [RS_12]
-                                          |     key expressions:_col1 (type: 
int)
-                                          |     Map-reduce partition 
columns:_col1 (type: int)
-                                          |     sort order:+
-                                          |     Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                          |     value expressions:_col0 (type: 
int), _col2 (type: int)
-                                          |     Select Operator [SEL_2]
-                                          |        
outputColumnNames:["_col0","_col1","_col2"]
-                                          |        Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                          |        Filter Operator [FIL_39]
-                                          |           predicate:((ss_hdemo_sk 
is not null and ss_sold_time_sk is not null) and ss_store_sk is not null) 
(type: boolean)
-                                          |           Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                          |           TableScan [TS_0]
-                                          |              alias:store_sales
-                                          |              Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                          |<-Map 7 [SIMPLE_EDGE]
-                                             Reduce Output Operator [RS_13]
-                                                key expressions:_col0 (type: 
int)
-                                                Map-reduce partition 
columns:_col0 (type: int)
-                                                sort order:+
-                                                Statistics:Num rows: 3600 Data 
size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                Select Operator [SEL_5]
-                                                   outputColumnNames:["_col0"]
-                                                   Statistics:Num rows: 3600 
Data size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                   Filter Operator [FIL_40]
-                                                      predicate:((hd_dep_count 
= 5) and hd_demo_sk is not null) (type: boolean)
-                                                      Statistics:Num rows: 
3600 Data size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                      TableScan [TS_3]
-                                                         
alias:household_demographics
-                                                         Statistics:Num rows: 
7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE
+  Fetch Operator
+    limit:100
+    Stage-1
+      Reducer 6
+      File Output Operator [FS_29]
+        Limit [LIM_28] (rows=1 width=8)
+          Number of rows:100
+          Select Operator [SEL_27] (rows=1 width=8)
+            Output:["_col0"]
+          <-Reducer 5 [SIMPLE_EDGE]
+            SHUFFLE [RS_26]
+              Group By Operator [GBY_24] (rows=1 width=8)
+                Output:["_col0"],aggregations:["count(VALUE._col0)"]
+              <-Reducer 4 [SIMPLE_EDGE]
+                SHUFFLE [RS_23]
+                  Group By Operator [GBY_22] (rows=1 width=8)
+                    Output:["_col0"],aggregations:["count()"]
+                    Merge Join Operator [MERGEJOIN_45] (rows=17424 width=471)
+                      Conds:RS_18._col2=RS_19._col0(Inner)
+                    <-Map 9 [SIMPLE_EDGE]
+                      SHUFFLE [RS_19]
+                        PartitionCols:_col0
+                        Select Operator [SEL_11] (rows=852 width=1910)
+                          Output:["_col0"]
+                          Filter Operator [FIL_42] (rows=852 width=1910)
+                            predicate:((s_store_name = 'ese') and s_store_sk 
is not null)
+                            TableScan [TS_9] (rows=1704 width=1910)
+                              
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name"]
+                    <-Reducer 3 [SIMPLE_EDGE]
+                      SHUFFLE [RS_18]
+                        PartitionCols:_col2
+                        Merge Join Operator [MERGEJOIN_44] (rows=15840 
width=471)
+                          Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col2"]
+                        <-Map 8 [SIMPLE_EDGE]
+                          SHUFFLE [RS_16]
+                            PartitionCols:_col0
+                            Select Operator [SEL_8] (rows=14400 width=471)
+                              Output:["_col0"]
+                              Filter Operator [FIL_41] (rows=14400 width=471)
+                                predicate:(((t_hour = 8) and (t_minute >= 30)) 
and t_time_sk is not null)
+                                TableScan [TS_6] (rows=86400 width=471)
+                                  
default@time_dim,time_dim,Tbl:COMPLETE,Col:NONE,Output:["t_time_sk","t_hour","t_minute"]
+                        <-Reducer 2 [SIMPLE_EDGE]
+                          SHUFFLE [RS_15]
+                            PartitionCols:_col0
+                            Merge Join Operator [MERGEJOIN_43] (rows=3960 
width=107)
+                              
Conds:RS_12._col1=RS_13._col0(Inner),Output:["_col0","_col2"]
+                            <-Map 1 [SIMPLE_EDGE]
+                              SHUFFLE [RS_12]
+                                PartitionCols:_col1
+                                Select Operator [SEL_2] (rows=1 width=0)
+                                  Output:["_col0","_col1","_col2"]
+                                  Filter Operator [FIL_39] (rows=1 width=0)
+                                    predicate:((ss_hdemo_sk is not null and 
ss_sold_time_sk is not null) and ss_store_sk is not null)
+                                    TableScan [TS_0] (rows=1 width=0)
+                                      
default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_time_sk","ss_hdemo_sk","ss_store_sk"]
+                            <-Map 7 [SIMPLE_EDGE]
+                              SHUFFLE [RS_13]
+                                PartitionCols:_col0
+                                Select Operator [SEL_5] (rows=3600 width=107)
+                                  Output:["_col0"]
+                                  Filter Operator [FIL_40] (rows=3600 
width=107)
+                                    predicate:((hd_dep_count = 5) and 
hd_demo_sk is not null)
+                                    TableScan [TS_3] (rows=7200 width=107)
+                                      
default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_dep_count"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query97.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query97.q.out 
b/ql/src/test/results/clientpositive/perf/query97.q.out
index ec5f125..812333a 100644
--- a/ql/src/test/results/clientpositive/perf/query97.q.out
+++ b/ql/src/test/results/clientpositive/perf/query97.q.out
@@ -13,151 +13,83 @@ Reducer 8 <- Map 10 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
 Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:100
-      Stage-1
-         Reducer 5
-         File Output Operator [FS_38]
-            compressed:false
-            Statistics:Num rows: 1 Data size: 24 Basic stats: COMPLETE Column 
stats: NONE
-            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Limit [LIM_37]
-               Number of rows:100
-               Statistics:Num rows: 1 Data size: 24 Basic stats: COMPLETE 
Column stats: NONE
-               Group By Operator [GBY_35]
-               |  
aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"]
-               |  outputColumnNames:["_col0","_col1","_col2"]
-               |  Statistics:Num rows: 1 Data size: 24 Basic stats: COMPLETE 
Column stats: NONE
-               |<-Reducer 4 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_34]
-                     sort order:
-                     Statistics:Num rows: 1 Data size: 24 Basic stats: 
COMPLETE Column stats: NONE
-                     value expressions:_col0 (type: bigint), _col1 (type: 
bigint), _col2 (type: bigint)
-                     Group By Operator [GBY_33]
-                        aggregations:["sum(_col0)","sum(_col1)","sum(_col2)"]
-                        outputColumnNames:["_col0","_col1","_col2"]
-                        Statistics:Num rows: 1 Data size: 24 Basic stats: 
COMPLETE Column stats: NONE
-                        Select Operator [SEL_31]
-                           outputColumnNames:["_col0","_col1","_col2"]
-                           Statistics:Num rows: 22096 Data size: 24726566 
Basic stats: COMPLETE Column stats: NONE
-                           Merge Join Operator [MERGEJOIN_49]
-                           |  condition map:[{"":"Outer Join 0 to 1"}]
-                           |  keys:{"0":"_col0 (type: int), _col1 (type: 
int)","1":"_col0 (type: int), _col1 (type: int)"}
-                           |  outputColumnNames:["_col0","_col2"]
-                           |  Statistics:Num rows: 22096 Data size: 24726566 
Basic stats: COMPLETE Column stats: NONE
-                           |<-Reducer 3 [SIMPLE_EDGE]
-                           |  Reduce Output Operator [RS_28]
-                           |     key expressions:_col0 (type: int), _col1 
(type: int)
-                           |     Map-reduce partition columns:_col0 (type: 
int), _col1 (type: int)
-                           |     sort order:++
-                           |     Statistics:Num rows: 20088 Data size: 
22478696 Basic stats: COMPLETE Column stats: NONE
-                           |     Select Operator [SEL_13]
-                           |        outputColumnNames:["_col0","_col1"]
-                           |        Statistics:Num rows: 20088 Data size: 
22478696 Basic stats: COMPLETE Column stats: NONE
-                           |        Group By Operator [GBY_12]
-                           |        |  keys:KEY._col0 (type: int), KEY._col1 
(type: int)
-                           |        |  outputColumnNames:["_col0","_col1"]
-                           |        |  Statistics:Num rows: 20088 Data size: 
22478696 Basic stats: COMPLETE Column stats: NONE
-                           |        |<-Reducer 2 [SIMPLE_EDGE]
-                           |           Reduce Output Operator [RS_11]
-                           |              key expressions:_col0 (type: int), 
_col1 (type: int)
-                           |              Map-reduce partition columns:_col0 
(type: int), _col1 (type: int)
-                           |              sort order:++
-                           |              Statistics:Num rows: 40176 Data 
size: 44957392 Basic stats: COMPLETE Column stats: NONE
-                           |              Group By Operator [GBY_10]
-                           |                 keys:_col1 (type: int), _col2 
(type: int)
-                           |                 
outputColumnNames:["_col0","_col1"]
-                           |                 Statistics:Num rows: 40176 Data 
size: 44957392 Basic stats: COMPLETE Column stats: NONE
-                           |                 Merge Join Operator [MERGEJOIN_47]
-                           |                 |  condition map:[{"":"Inner Join 
0 to 1"}]
-                           |                 |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                           |                 |  
outputColumnNames:["_col1","_col2"]
-                           |                 |  Statistics:Num rows: 40176 
Data size: 44957392 Basic stats: COMPLETE Column stats: NONE
-                           |                 |<-Map 1 [SIMPLE_EDGE]
-                           |                 |  Reduce Output Operator [RS_6]
-                           |                 |     key expressions:_col0 
(type: int)
-                           |                 |     Map-reduce partition 
columns:_col0 (type: int)
-                           |                 |     sort order:+
-                           |                 |     Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                           |                 |     value expressions:_col1 
(type: int), _col2 (type: int)
-                           |                 |     Select Operator [SEL_2]
-                           |                 |        
outputColumnNames:["_col0","_col1","_col2"]
-                           |                 |        Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                           |                 |        Filter Operator [FIL_43]
-                           |                 |           
predicate:ss_sold_date_sk is not null (type: boolean)
-                           |                 |           Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                           |                 |           TableScan [TS_0]
-                           |                 |              alias:store_sales
-                           |                 |              Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                           |                 |<-Map 6 [SIMPLE_EDGE]
-                           |                    Reduce Output Operator [RS_7]
-                           |                       key expressions:_col0 
(type: int)
-                           |                       Map-reduce partition 
columns:_col0 (type: int)
-                           |                       sort order:+
-                           |                       Statistics:Num rows: 36524 
Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                           |                       Select Operator [SEL_5]
-                           |                          
outputColumnNames:["_col0"]
-                           |                          Statistics:Num rows: 
36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                           |                          Filter Operator [FIL_44]
-                           |                             predicate:(d_date_sk 
is not null and d_month_seq BETWEEN 1193 AND 1204) (type: boolean)
-                           |                             Statistics:Num rows: 
36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                           |                             TableScan [TS_3]
-                           |                                alias:date_dim
-                           |                                Statistics:Num 
rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                           |<-Reducer 9 [SIMPLE_EDGE]
-                              Reduce Output Operator [RS_29]
-                                 key expressions:_col0 (type: int), _col1 
(type: int)
-                                 Map-reduce partition columns:_col0 (type: 
int), _col1 (type: int)
-                                 sort order:++
-                                 Statistics:Num rows: 20088 Data size: 
22478696 Basic stats: COMPLETE Column stats: NONE
-                                 Group By Operator [GBY_26]
-                                 |  keys:KEY._col0 (type: int), KEY._col1 
(type: int)
-                                 |  outputColumnNames:["_col0","_col1"]
-                                 |  Statistics:Num rows: 20088 Data size: 
22478696 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 8 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_25]
-                                       key expressions:_col0 (type: int), 
_col1 (type: int)
-                                       Map-reduce partition columns:_col0 
(type: int), _col1 (type: int)
-                                       sort order:++
-                                       Statistics:Num rows: 40176 Data size: 
44957392 Basic stats: COMPLETE Column stats: NONE
-                                       Group By Operator [GBY_24]
-                                          keys:_col1 (type: int), _col2 (type: 
int)
-                                          outputColumnNames:["_col0","_col1"]
-                                          Statistics:Num rows: 40176 Data 
size: 44957392 Basic stats: COMPLETE Column stats: NONE
-                                          Merge Join Operator [MERGEJOIN_48]
-                                          |  condition map:[{"":"Inner Join 0 
to 1"}]
-                                          |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                                          |  
outputColumnNames:["_col1","_col2"]
-                                          |  Statistics:Num rows: 40176 Data 
size: 44957392 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Map 10 [SIMPLE_EDGE]
-                                          |  Reduce Output Operator [RS_21]
-                                          |     key expressions:_col0 (type: 
int)
-                                          |     Map-reduce partition 
columns:_col0 (type: int)
-                                          |     sort order:+
-                                          |     Statistics:Num rows: 36524 
Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                          |     Select Operator [SEL_19]
-                                          |        outputColumnNames:["_col0"]
-                                          |        Statistics:Num rows: 36524 
Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                          |        Filter Operator [FIL_46]
-                                          |           predicate:(d_date_sk is 
not null and d_month_seq BETWEEN 1193 AND 1204) (type: boolean)
-                                          |           Statistics:Num rows: 
36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                          |           TableScan [TS_17]
-                                          |              alias:date_dim
-                                          |              Statistics:Num rows: 
73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Map 7 [SIMPLE_EDGE]
-                                             Reduce Output Operator [RS_20]
-                                                key expressions:_col0 (type: 
int)
-                                                Map-reduce partition 
columns:_col0 (type: int)
-                                                sort order:+
-                                                Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                value expressions:_col1 (type: 
int), _col2 (type: int)
-                                                Select Operator [SEL_16]
-                                                   
outputColumnNames:["_col0","_col1","_col2"]
-                                                   Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   Filter Operator [FIL_45]
-                                                      
predicate:cs_sold_date_sk is not null (type: boolean)
-                                                      Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      TableScan [TS_14]
-                                                         alias:catalog_sales
-                                                         Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+  Fetch Operator
+    limit:100
+    Stage-1
+      Reducer 5
+      File Output Operator [FS_38]
+        Limit [LIM_37] (rows=1 width=24)
+          Number of rows:100
+          Group By Operator [GBY_35] (rows=1 width=24)
+            
Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"]
+          <-Reducer 4 [SIMPLE_EDGE]
+            SHUFFLE [RS_34]
+              Group By Operator [GBY_33] (rows=1 width=24)
+                
Output:["_col0","_col1","_col2"],aggregations:["sum(_col0)","sum(_col1)","sum(_col2)"]
+                Select Operator [SEL_31] (rows=22096 width=1119)
+                  Output:["_col0","_col1","_col2"]
+                  Merge Join Operator [MERGEJOIN_49] (rows=22096 width=1119)
+                    Conds:RS_28._col0, _col1=RS_29._col0, 
_col1(Outer),Output:["_col0","_col2"]
+                  <-Reducer 3 [SIMPLE_EDGE]
+                    SHUFFLE [RS_28]
+                      PartitionCols:_col0, _col1
+                      Select Operator [SEL_13] (rows=20088 width=1119)
+                        Output:["_col0","_col1"]
+                        Group By Operator [GBY_12] (rows=20088 width=1119)
+                          Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
+                        <-Reducer 2 [SIMPLE_EDGE]
+                          SHUFFLE [RS_11]
+                            PartitionCols:_col0, _col1
+                            Group By Operator [GBY_10] (rows=40176 width=1119)
+                              Output:["_col0","_col1"],keys:_col1, _col2
+                              Merge Join Operator [MERGEJOIN_47] (rows=40176 
width=1119)
+                                
Conds:RS_6._col0=RS_7._col0(Inner),Output:["_col1","_col2"]
+                              <-Map 1 [SIMPLE_EDGE]
+                                SHUFFLE [RS_6]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_2] (rows=1 width=0)
+                                    Output:["_col0","_col1","_col2"]
+                                    Filter Operator [FIL_43] (rows=1 width=0)
+                                      predicate:ss_sold_date_sk is not null
+                                      TableScan [TS_0] (rows=1 width=0)
+                                        
default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_customer_sk"]
+                              <-Map 6 [SIMPLE_EDGE]
+                                SHUFFLE [RS_7]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_5] (rows=36524 
width=1119)
+                                    Output:["_col0"]
+                                    Filter Operator [FIL_44] (rows=36524 
width=1119)
+                                      predicate:(d_date_sk is not null and 
d_month_seq BETWEEN 1193 AND 1204)
+                                      TableScan [TS_3] (rows=73049 width=1119)
+                                        
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
+                  <-Reducer 9 [SIMPLE_EDGE]
+                    SHUFFLE [RS_29]
+                      PartitionCols:_col0, _col1
+                      Group By Operator [GBY_26] (rows=20088 width=1119)
+                        Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
+                      <-Reducer 8 [SIMPLE_EDGE]
+                        SHUFFLE [RS_25]
+                          PartitionCols:_col0, _col1
+                          Group By Operator [GBY_24] (rows=40176 width=1119)
+                            Output:["_col0","_col1"],keys:_col1, _col2
+                            Merge Join Operator [MERGEJOIN_48] (rows=40176 
width=1119)
+                              
Conds:RS_20._col0=RS_21._col0(Inner),Output:["_col1","_col2"]
+                            <-Map 10 [SIMPLE_EDGE]
+                              SHUFFLE [RS_21]
+                                PartitionCols:_col0
+                                Select Operator [SEL_19] (rows=36524 
width=1119)
+                                  Output:["_col0"]
+                                  Filter Operator [FIL_46] (rows=36524 
width=1119)
+                                    predicate:(d_date_sk is not null and 
d_month_seq BETWEEN 1193 AND 1204)
+                                    TableScan [TS_17] (rows=73049 width=1119)
+                                      
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
+                            <-Map 7 [SIMPLE_EDGE]
+                              SHUFFLE [RS_20]
+                                PartitionCols:_col0
+                                Select Operator [SEL_16] (rows=1 width=0)
+                                  Output:["_col0","_col1","_col2"]
+                                  Filter Operator [FIL_45] (rows=1 width=0)
+                                    predicate:cs_sold_date_sk is not null
+                                    TableScan [TS_14] (rows=1 width=0)
+                                      
default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_bill_customer_sk","cs_item_sk"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query98.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query98.q.out 
b/ql/src/test/results/clientpositive/perf/query98.q.out
index baff7e0..f51744d 100644
--- a/ql/src/test/results/clientpositive/perf/query98.q.out
+++ b/ql/src/test/results/clientpositive/perf/query98.q.out
@@ -12,124 +12,67 @@ Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
 Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:-1
-      Stage-1
-         Reducer 6
-         File Output Operator [FS_27]
-            compressed:false
-            Statistics:Num rows: 139755 Data size: 200727046 Basic stats: 
COMPLETE Column stats: NONE
-            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Select Operator [SEL_26]
-            |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-            |  Statistics:Num rows: 139755 Data size: 200727046 Basic stats: 
COMPLETE Column stats: NONE
-            |<-Reducer 5 [SIMPLE_EDGE]
-               Reduce Output Operator [RS_25]
-                  key expressions:_col1 (type: string), _col2 (type: string), 
_col4 (type: string), _col0 (type: string), _col6 (type: decimal(38,23))
-                  sort order:+++++
-                  Statistics:Num rows: 139755 Data size: 200727046 Basic 
stats: COMPLETE Column stats: NONE
-                  value expressions:_col3 (type: decimal(7,2)), _col5 (type: 
decimal(17,2))
-                  Select Operator [SEL_23]
-                     
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                     Statistics:Num rows: 139755 Data size: 200727046 Basic 
stats: COMPLETE Column stats: NONE
-                     PTF Operator [PTF_22]
-                        Function definitions:[{"Input 
definition":{"type:":"WINDOWING"}},{"name:":"windowingtablefunction","order 
by:":"_col3","partition by:":"_col3"}]
-                        Statistics:Num rows: 139755 Data size: 200727046 Basic 
stats: COMPLETE Column stats: NONE
-                        Select Operator [SEL_21]
-                        |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                        |  Statistics:Num rows: 139755 Data size: 200727046 
Basic stats: COMPLETE Column stats: NONE
-                        |<-Reducer 4 [SIMPLE_EDGE]
-                           Reduce Output Operator [RS_20]
-                              key expressions:_col3 (type: string)
-                              Map-reduce partition columns:_col3 (type: string)
-                              sort order:+
-                              Statistics:Num rows: 139755 Data size: 200727046 
Basic stats: COMPLETE Column stats: NONE
-                              value expressions:_col0 (type: string), _col1 
(type: string), _col2 (type: string), _col4 (type: decimal(7,2)), _col5 (type: 
decimal(17,2))
-                              Select Operator [SEL_19]
-                                 
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                 Statistics:Num rows: 139755 Data size: 
200727046 Basic stats: COMPLETE Column stats: NONE
-                                 Group By Operator [GBY_18]
-                                 |  aggregations:["sum(VALUE._col0)"]
-                                 |  keys:KEY._col0 (type: string), KEY._col1 
(type: string), KEY._col2 (type: decimal(7,2)), KEY._col3 (type: string), 
KEY._col4 (type: string)
-                                 |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                 |  Statistics:Num rows: 139755 Data size: 
200727046 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 3 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_17]
-                                       key expressions:_col0 (type: string), 
_col1 (type: string), _col2 (type: decimal(7,2)), _col3 (type: string), _col4 
(type: string)
-                                       Map-reduce partition columns:_col0 
(type: string), _col1 (type: string), _col2 (type: decimal(7,2)), _col3 (type: 
string), _col4 (type: string)
-                                       sort order:+++++
-                                       Statistics:Num rows: 279510 Data size: 
401454092 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col5 (type: 
decimal(17,2))
-                                       Group By Operator [GBY_16]
-                                          aggregations:["sum(_col2)"]
-                                          keys:_col4 (type: string), _col5 
(type: string), _col6 (type: decimal(7,2)), _col7 (type: string), _col8 (type: 
string)
-                                          
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                          Statistics:Num rows: 279510 Data 
size: 401454092 Basic stats: COMPLETE Column stats: NONE
-                                          Select Operator [SEL_15]
-                                             
outputColumnNames:["_col4","_col5","_col6","_col7","_col8","_col2"]
-                                             Statistics:Num rows: 279510 Data 
size: 401454092 Basic stats: COMPLETE Column stats: NONE
-                                             Merge Join Operator [MERGEJOIN_37]
-                                             |  condition map:[{"":"Inner Join 
0 to 1"}]
-                                             |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                                             |  
outputColumnNames:["_col2","_col4","_col5","_col6","_col7","_col8"]
-                                             |  Statistics:Num rows: 279510 
Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
-                                             |<-Map 8 [SIMPLE_EDGE]
-                                             |  Reduce Output Operator [RS_13]
-                                             |     key expressions:_col0 
(type: int)
-                                             |     Map-reduce partition 
columns:_col0 (type: int)
-                                             |     sort order:+
-                                             |     Statistics:Num rows: 36524 
Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                             |     Select Operator [SEL_8]
-                                             |        
outputColumnNames:["_col0"]
-                                             |        Statistics:Num rows: 
36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                             |        Filter Operator [FIL_35]
-                                             |           predicate:(d_date 
BETWEEN 2001-01-12 AND 2001-02-11 and d_date_sk is not null) (type: boolean)
-                                             |           Statistics:Num rows: 
36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                             |           TableScan [TS_6]
-                                             |              alias:date_dim
-                                             |              Statistics:Num 
rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                             |<-Reducer 2 [SIMPLE_EDGE]
-                                                Reduce Output Operator [RS_12]
-                                                   key expressions:_col0 
(type: int)
-                                                   Map-reduce partition 
columns:_col0 (type: int)
-                                                   sort order:+
-                                                   Statistics:Num rows: 254100 
Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
-                                                   value expressions:_col2 
(type: decimal(7,2)), _col4 (type: string), _col5 (type: string), _col6 (type: 
decimal(7,2)), _col7 (type: string), _col8 (type: string)
-                                                   Merge Join Operator 
[MERGEJOIN_36]
-                                                   |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                   |  keys:{"0":"_col1 (type: 
int)","1":"_col0 (type: int)"}
-                                                   |  
outputColumnNames:["_col0","_col2","_col4","_col5","_col6","_col7","_col8"]
-                                                   |  Statistics:Num rows: 
254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
-                                                   |<-Map 1 [SIMPLE_EDGE]
-                                                   |  Reduce Output Operator 
[RS_9]
-                                                   |     key expressions:_col1 
(type: int)
-                                                   |     Map-reduce partition 
columns:_col1 (type: int)
-                                                   |     sort order:+
-                                                   |     Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |     value 
expressions:_col0 (type: int), _col2 (type: decimal(7,2))
-                                                   |     Select Operator 
[SEL_2]
-                                                   |        
outputColumnNames:["_col0","_col1","_col2"]
-                                                   |        Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |        Filter Operator 
[FIL_33]
-                                                   |           
predicate:(ss_item_sk is not null and ss_sold_date_sk is not null) (type: 
boolean)
-                                                   |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |           TableScan [TS_0]
-                                                   |              
alias:store_sales
-                                                   |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |<-Map 7 [SIMPLE_EDGE]
-                                                      Reduce Output Operator 
[RS_10]
-                                                         key expressions:_col0 
(type: int)
-                                                         Map-reduce partition 
columns:_col0 (type: int)
-                                                         sort order:+
-                                                         Statistics:Num rows: 
231000 Data size: 331780228 Basic stats: COMPLETE Column stats: NONE
-                                                         value 
expressions:_col1 (type: string), _col2 (type: string), _col3 (type: 
decimal(7,2)), _col4 (type: string), _col5 (type: string)
-                                                         Select Operator 
[SEL_5]
-                                                            
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                                            Statistics:Num 
rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column stats: NONE
-                                                            Filter Operator 
[FIL_34]
-                                                               
predicate:((i_category) IN ('Jewelry', 'Sports', 'Books') and i_item_sk is not 
null) (type: boolean)
-                                                               Statistics:Num 
rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column stats: NONE
-                                                               TableScan [TS_3]
-                                                                  alias:item
-                                                                  
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+  Fetch Operator
+    limit:-1
+    Stage-1
+      Reducer 6
+      File Output Operator [FS_27]
+        Select Operator [SEL_26] (rows=139755 width=1436)
+          Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+        <-Reducer 5 [SIMPLE_EDGE]
+          SHUFFLE [RS_25]
+            Select Operator [SEL_23] (rows=139755 width=1436)
+              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+              PTF Operator [PTF_22] (rows=139755 width=1436)
+                Function 
definitions:[{},{"name:":"windowingtablefunction","order 
by:":"_col3","partition by:":"_col3"}]
+                Select Operator [SEL_21] (rows=139755 width=1436)
+                  Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                <-Reducer 4 [SIMPLE_EDGE]
+                  SHUFFLE [RS_20]
+                    PartitionCols:_col3
+                    Select Operator [SEL_19] (rows=139755 width=1436)
+                      Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                      Group By Operator [GBY_18] (rows=139755 width=1436)
+                        
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3, KEY._col4
+                      <-Reducer 3 [SIMPLE_EDGE]
+                        SHUFFLE [RS_17]
+                          PartitionCols:_col0, _col1, _col2, _col3, _col4
+                          Group By Operator [GBY_16] (rows=279510 width=1436)
+                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)"],keys:_col4,
 _col5, _col6, _col7, _col8
+                            Select Operator [SEL_15] (rows=279510 width=1436)
+                              
Output:["_col4","_col5","_col6","_col7","_col8","_col2"]
+                              Merge Join Operator [MERGEJOIN_37] (rows=279510 
width=1436)
+                                
Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col2","_col4","_col5","_col6","_col7","_col8"]
+                              <-Map 8 [SIMPLE_EDGE]
+                                SHUFFLE [RS_13]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_8] (rows=36524 
width=1119)
+                                    Output:["_col0"]
+                                    Filter Operator [FIL_35] (rows=36524 
width=1119)
+                                      predicate:(d_date BETWEEN 2001-01-12 AND 
2001-02-11 and d_date_sk is not null)
+                                      TableScan [TS_6] (rows=73049 width=1119)
+                                        
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
+                              <-Reducer 2 [SIMPLE_EDGE]
+                                SHUFFLE [RS_12]
+                                  PartitionCols:_col0
+                                  Merge Join Operator [MERGEJOIN_36] 
(rows=254100 width=1436)
+                                    
Conds:RS_9._col1=RS_10._col0(Inner),Output:["_col0","_col2","_col4","_col5","_col6","_col7","_col8"]
+                                  <-Map 1 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_9]
+                                      PartitionCols:_col1
+                                      Select Operator [SEL_2] (rows=1 width=0)
+                                        Output:["_col0","_col1","_col2"]
+                                        Filter Operator [FIL_33] (rows=1 
width=0)
+                                          predicate:(ss_item_sk is not null 
and ss_sold_date_sk is not null)
+                                          TableScan [TS_0] (rows=1 width=0)
+                                            
default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_ext_sales_price"]
+                                  <-Map 7 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_10]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_5] (rows=231000 
width=1436)
+                                        
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                        Filter Operator [FIL_34] (rows=231000 
width=1436)
+                                          predicate:((i_category) IN 
('Jewelry', 'Sports', 'Books') and i_item_sk is not null)
+                                          TableScan [TS_3] (rows=462000 
width=1436)
+                                            
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_id","i_item_desc","i_current_price","i_class","i_category"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/tez/acid_globallimit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/acid_globallimit.q.out 
b/ql/src/test/results/clientpositive/tez/acid_globallimit.q.out
index d4f8e34..e6b3686 100644
--- a/ql/src/test/results/clientpositive/tez/acid_globallimit.q.out
+++ b/ql/src/test/results/clientpositive/tez/acid_globallimit.q.out
@@ -33,24 +33,17 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Stage-0
-   Fetch Operator
-      limit:10
-      Stage-1
-         Map 1
-         File Output Operator [FS_3]
-            compressed:false
-            Statistics:Num rows: 10 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
-            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Limit [LIM_2]
-               Number of rows:10
-               Statistics:Num rows: 10 Data size: 100 Basic stats: COMPLETE 
Column stats: NONE
-               Select Operator [SEL_1]
-                  outputColumnNames:["_col0"]
-                  Statistics:Num rows: 9173 Data size: 100540 Basic stats: 
COMPLETE Column stats: NONE
-                  TableScan [TS_0]
-                     ACID table:true
-                     alias:acidtest1
-                     Statistics:Num rows: 9173 Data size: 100540 Basic stats: 
COMPLETE Column stats: NONE
+  Fetch Operator
+    limit:10
+    Stage-1
+      Map 1
+      File Output Operator [FS_3]
+        Limit [LIM_2] (rows=10 width=10)
+          Number of rows:10
+          Select Operator [SEL_1] (rows=9173 width=10)
+            Output:["_col0"]
+            TableScan [TS_0] (rows=9173 width=10)
+              default@acidtest1,acidtest1, ACID 
table,Tbl:COMPLETE,Col:NONE,Output:["c1"]
 
 PREHOOK: query: select cast (c1 as string) from acidtest1 limit 10
 PREHOOK: type: QUERY

Reply via email to