http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query46.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query46.q.out 
b/ql/src/test/results/clientpositive/perf/query46.q.out
index 16f1606..62d7e21 100644
--- a/ql/src/test/results/clientpositive/perf/query46.q.out
+++ b/ql/src/test/results/clientpositive/perf/query46.q.out
@@ -15,227 +15,120 @@ Reducer 8 <- Map 15 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
 Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:100
-      Stage-1
-         Reducer 9
-         File Output Operator [FS_50]
-            compressed:false
-            Statistics:Num rows: 100 Data size: 86000 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_49]
-               Number of rows:100
-               Statistics:Num rows: 100 Data size: 86000 Basic stats: COMPLETE 
Column stats: NONE
-               Select Operator [SEL_48]
-               |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-               |  Statistics:Num rows: 96800003 Data size: 83249958789 Basic 
stats: COMPLETE Column stats: NONE
-               |<-Reducer 8 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_47]
-                     key expressions:_col0 (type: string), _col1 (type: 
string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
-                     sort order:+++++
-                     Statistics:Num rows: 96800003 Data size: 83249958789 
Basic stats: COMPLETE Column stats: NONE
-                     value expressions:_col5 (type: decimal(17,2)), _col6 
(type: decimal(17,2))
-                     Select Operator [SEL_46]
-                        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                        Statistics:Num rows: 96800003 Data size: 83249958789 
Basic stats: COMPLETE Column stats: NONE
-                        Filter Operator [FIL_45]
-                           predicate:(_col10 <> _col2) (type: boolean)
-                           Statistics:Num rows: 96800003 Data size: 
83249958789 Basic stats: COMPLETE Column stats: NONE
-                           Merge Join Operator [MERGEJOIN_90]
-                           |  condition map:[{"":"Inner Join 0 to 1"}]
-                           |  keys:{"0":"_col6 (type: int)","1":"_col0 (type: 
int)"}
-                           |  
outputColumnNames:["_col0","_col2","_col3","_col4","_col7","_col8","_col10"]
-                           |  Statistics:Num rows: 96800003 Data size: 
83249958789 Basic stats: COMPLETE Column stats: NONE
-                           |<-Map 15 [SIMPLE_EDGE]
-                           |  Reduce Output Operator [RS_43]
-                           |     key expressions:_col0 (type: int)
-                           |     Map-reduce partition columns:_col0 (type: int)
-                           |     sort order:+
-                           |     Statistics:Num rows: 40000000 Data size: 
40595195284 Basic stats: COMPLETE Column stats: NONE
-                           |     value expressions:_col1 (type: string)
-                           |     Select Operator [SEL_38]
-                           |        outputColumnNames:["_col0","_col1"]
-                           |        Statistics:Num rows: 40000000 Data size: 
40595195284 Basic stats: COMPLETE Column stats: NONE
-                           |        Filter Operator [FIL_84]
-                           |           predicate:ca_address_sk is not null 
(type: boolean)
-                           |           Statistics:Num rows: 40000000 Data 
size: 40595195284 Basic stats: COMPLETE Column stats: NONE
-                           |           TableScan [TS_36]
-                           |              alias:customer_address
-                           |              Statistics:Num rows: 40000000 Data 
size: 40595195284 Basic stats: COMPLETE Column stats: NONE
-                           |<-Reducer 7 [SIMPLE_EDGE]
-                              Reduce Output Operator [RS_42]
-                                 key expressions:_col6 (type: int)
-                                 Map-reduce partition columns:_col6 (type: int)
-                                 sort order:+
-                                 Statistics:Num rows: 88000001 Data size: 
75681779077 Basic stats: COMPLETE Column stats: NONE
-                                 value expressions:_col0 (type: int), _col2 
(type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2)), _col7 
(type: string), _col8 (type: string)
-                                 Merge Join Operator [MERGEJOIN_89]
-                                 |  condition map:[{"":"Inner Join 0 to 1"}]
-                                 |  keys:{"0":"_col1 (type: int)","1":"_col0 
(type: int)"}
-                                 |  
outputColumnNames:["_col0","_col2","_col3","_col4","_col6","_col7","_col8"]
-                                 |  Statistics:Num rows: 88000001 Data size: 
75681779077 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Map 14 [SIMPLE_EDGE]
-                                 |  Reduce Output Operator [RS_40]
-                                 |     key expressions:_col0 (type: int)
-                                 |     Map-reduce partition columns:_col0 
(type: int)
-                                 |     sort order:+
-                                 |     Statistics:Num rows: 80000000 Data 
size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                                 |     value expressions:_col1 (type: int), 
_col2 (type: string), _col3 (type: string)
-                                 |     Select Operator [SEL_35]
-                                 |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
-                                 |        Statistics:Num rows: 80000000 Data 
size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                                 |        Filter Operator [FIL_83]
-                                 |           predicate:(c_customer_sk is not 
null and c_current_addr_sk is not null) (type: boolean)
-                                 |           Statistics:Num rows: 80000000 
Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                                 |           TableScan [TS_33]
-                                 |              alias:customer
-                                 |              Statistics:Num rows: 80000000 
Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 6 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_39]
-                                       key expressions:_col1 (type: int)
-                                       Map-reduce partition columns:_col1 
(type: int)
-                                       sort order:+
-                                       Statistics:Num rows: 22000000 Data 
size: 22327357890 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col0 (type: int), 
_col2 (type: string), _col3 (type: decimal(17,2)), _col4 (type: decimal(17,2))
-                                       Select Operator [SEL_31]
-                                          
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
-                                          Statistics:Num rows: 22000000 Data 
size: 22327357890 Basic stats: COMPLETE Column stats: NONE
-                                          Group By Operator [GBY_30]
-                                          |  
aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"]
-                                          |  keys:KEY._col0 (type: int), 
KEY._col1 (type: int), KEY._col2 (type: int), KEY._col3 (type: string)
-                                          |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                          |  Statistics:Num rows: 22000000 
Data size: 22327357890 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Reducer 5 [SIMPLE_EDGE]
-                                             Reduce Output Operator [RS_29]
-                                                key expressions:_col0 (type: 
int), _col1 (type: int), _col2 (type: int), _col3 (type: string)
-                                                Map-reduce partition 
columns:_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: 
string)
-                                                sort order:++++
-                                                Statistics:Num rows: 44000000 
Data size: 44654715780 Basic stats: COMPLETE Column stats: NONE
-                                                value expressions:_col4 (type: 
decimal(17,2)), _col5 (type: decimal(17,2))
-                                                Group By Operator [GBY_28]
-                                                   
aggregations:["sum(_col6)","sum(_col7)"]
-                                                   keys:_col1 (type: int), 
_col3 (type: int), _col5 (type: int), _col17 (type: string)
-                                                   
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                                   Statistics:Num rows: 
44000000 Data size: 44654715780 Basic stats: COMPLETE Column stats: NONE
-                                                   Select Operator [SEL_27]
-                                                      
outputColumnNames:["_col1","_col3","_col5","_col17","_col6","_col7"]
-                                                      Statistics:Num rows: 
44000000 Data size: 44654715780 Basic stats: COMPLETE Column stats: NONE
-                                                      Merge Join Operator 
[MERGEJOIN_88]
-                                                      |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                      |  keys:{"0":"_col3 
(type: int)","1":"_col0 (type: int)"}
-                                                      |  
outputColumnNames:["_col1","_col3","_col5","_col6","_col7","_col17"]
-                                                      |  Statistics:Num rows: 
44000000 Data size: 44654715780 Basic stats: COMPLETE Column stats: NONE
-                                                      |<-Map 13 [SIMPLE_EDGE]
-                                                      |  Reduce Output 
Operator [RS_25]
-                                                      |     key 
expressions:_col0 (type: int)
-                                                      |     Map-reduce 
partition columns:_col0 (type: int)
-                                                      |     sort order:+
-                                                      |     Statistics:Num 
rows: 40000000 Data size: 40595195284 Basic stats: COMPLETE Column stats: NONE
-                                                      |     value 
expressions:_col1 (type: string)
-                                                      |     Select Operator 
[SEL_14]
-                                                      |        
outputColumnNames:["_col0","_col1"]
-                                                      |        Statistics:Num 
rows: 40000000 Data size: 40595195284 Basic stats: COMPLETE Column stats: NONE
-                                                      |        Filter Operator 
[FIL_82]
-                                                      |           
predicate:ca_address_sk is not null (type: boolean)
-                                                      |           
Statistics:Num rows: 40000000 Data size: 40595195284 Basic stats: COMPLETE 
Column stats: NONE
-                                                      |           TableScan 
[TS_12]
-                                                      |              
alias:customer_address
-                                                      |              
Statistics:Num rows: 40000000 Data size: 40595195284 Basic stats: COMPLETE 
Column stats: NONE
-                                                      |<-Reducer 4 
[SIMPLE_EDGE]
-                                                         Reduce Output 
Operator [RS_24]
-                                                            key 
expressions:_col3 (type: int)
-                                                            Map-reduce 
partition columns:_col3 (type: int)
-                                                            sort order:+
-                                                            Statistics:Num 
rows: 24305 Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                                            value 
expressions:_col1 (type: int), _col5 (type: int), _col6 (type: decimal(7,2)), 
_col7 (type: decimal(7,2))
-                                                            Merge Join 
Operator [MERGEJOIN_87]
-                                                            |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                            |  
keys:{"0":"_col2 (type: int)","1":"_col0 (type: int)"}
-                                                            |  
outputColumnNames:["_col1","_col3","_col5","_col6","_col7"]
-                                                            |  Statistics:Num 
rows: 24305 Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                                            |<-Map 12 
[SIMPLE_EDGE]
-                                                            |  Reduce Output 
Operator [RS_22]
-                                                            |     key 
expressions:_col0 (type: int)
-                                                            |     Map-reduce 
partition columns:_col0 (type: int)
-                                                            |     sort order:+
-                                                            |     
Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: 
NONE
-                                                            |     Select 
Operator [SEL_11]
-                                                            |        
outputColumnNames:["_col0"]
-                                                            |        
Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: 
NONE
-                                                            |        Filter 
Operator [FIL_81]
-                                                            |           
predicate:(((hd_dep_count = 4) or (hd_vehicle_count = 2)) and hd_demo_sk is not 
null) (type: boolean)
-                                                            |           
Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: 
NONE
-                                                            |           
TableScan [TS_9]
-                                                            |              
alias:household_demographics
-                                                            |              
Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: 
NONE
-                                                            |<-Reducer 3 
[SIMPLE_EDGE]
-                                                               Reduce Output 
Operator [RS_21]
-                                                                  key 
expressions:_col2 (type: int)
-                                                                  Map-reduce 
partition columns:_col2 (type: int)
-                                                                  sort order:+
-                                                                  
Statistics:Num rows: 22096 Data size: 24726566 Basic stats: COMPLETE Column 
stats: NONE
-                                                                  value 
expressions:_col1 (type: int), _col3 (type: int), _col5 (type: int), _col6 
(type: decimal(7,2)), _col7 (type: decimal(7,2))
-                                                                  Merge Join 
Operator [MERGEJOIN_86]
-                                                                  |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                                  |  
keys:{"0":"_col4 (type: int)","1":"_col0 (type: int)"}
-                                                                  |  
outputColumnNames:["_col1","_col2","_col3","_col5","_col6","_col7"]
-                                                                  |  
Statistics:Num rows: 22096 Data size: 24726566 Basic stats: COMPLETE Column 
stats: NONE
-                                                                  |<-Map 11 
[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_8]
-                                                                  |        
outputColumnNames:["_col0"]
-                                                                  |        
Statistics:Num rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: 
NONE
-                                                                  |        
Filter Operator [FIL_80]
-                                                                  |           
predicate:((s_city) IN ('Rosedale', 'Bethlehem', 'Clinton', 'Clifton', 
'Springfield') and s_store_sk is not null) (type: boolean)
-                                                                  |           
Statistics:Num rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: 
NONE
-                                                                  |           
TableScan [TS_6]
-                                                                  |            
  alias:store
-                                                                  |            
  Statistics:Num rows: 1704 Data size: 3256276 Basic stats: COMPLETE Column 
stats: NONE
-                                                                  |<-Reducer 2 
[SIMPLE_EDGE]
-                                                                     Reduce 
Output Operator [RS_18]
-                                                                        key 
expressions:_col4 (type: int)
-                                                                        
Map-reduce partition columns:_col4 (type: int)
-                                                                        sort 
order:+
-                                                                        
Statistics:Num rows: 20088 Data size: 22478696 Basic stats: COMPLETE Column 
stats: NONE
-                                                                        value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int), _col6 (type: decimal(7,2)), _col7 (type: decimal(7,2))
-                                                                        Merge 
Join Operator [MERGEJOIN_85]
-                                                                        |  
condition map:[{"":"Inner Join 0 to 1"}]
-                                                                        |  
keys:{"0":"_col0 (type: int)","1":"_col0 (type: int)"}
-                                                                        |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                                                        |  
Statistics:Num rows: 20088 Data size: 22478696 Basic stats: COMPLETE Column 
stats: NONE
-                                                                        |<-Map 
1 [SIMPLE_EDGE]
-                                                                        |  
Reduce Output Operator [RS_15]
-                                                                        |     
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), _col3 (type: int), 
_col4 (type: int), _col5 (type: int), _col6 (type: decimal(7,2)), _col7 (type: 
decimal(7,2))
-                                                                        |     
Select Operator [SEL_2]
-                                                                        |      
  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                                                        |      
  Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                        |      
  Filter Operator [FIL_78]
-                                                                        |      
     predicate:((((ss_sold_date_sk is not null and ss_store_sk is not null) and 
ss_hdemo_sk is not null) and ss_addr_sk is not null) and ss_customer_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 
10 [SIMPLE_EDGE]
-                                                                           
Reduce Output Operator [RS_16]
-                                                                              
key expressions:_col0 (type: int)
-                                                                              
Map-reduce partition columns:_col0 (type: int)
-                                                                              
sort order:+
-                                                                              
Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column 
stats: NONE
-                                                                              
Select Operator [SEL_5]
-                                                                               
  outputColumnNames:["_col0"]
-                                                                               
  Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column 
stats: NONE
-                                                                               
  Filter Operator [FIL_79]
-                                                                               
     predicate:(((d_dow) IN (6, 0) and (d_year) IN (1998, 1999, 2000)) and 
d_date_sk is not null) (type: boolean)
-                                                                               
     Statistics:Num rows: 18262 Data size: 20435178 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
+  Fetch Operator
+    limit:100
+    Stage-1
+      Reducer 9
+      File Output Operator [FS_50]
+        Limit [LIM_49] (rows=100 width=860)
+          Number of rows:100
+          Select Operator [SEL_48] (rows=96800003 width=860)
+            Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+          <-Reducer 8 [SIMPLE_EDGE]
+            SHUFFLE [RS_47]
+              Select Operator [SEL_46] (rows=96800003 width=860)
+                
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                Filter Operator [FIL_45] (rows=96800003 width=860)
+                  predicate:(_col10 <> _col2)
+                  Merge Join Operator [MERGEJOIN_90] (rows=96800003 width=860)
+                    
Conds:RS_42._col6=RS_43._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col7","_col8","_col10"]
+                  <-Map 15 [SIMPLE_EDGE]
+                    SHUFFLE [RS_43]
+                      PartitionCols:_col0
+                      Select Operator [SEL_38] (rows=40000000 width=1014)
+                        Output:["_col0","_col1"]
+                        Filter Operator [FIL_84] (rows=40000000 width=1014)
+                          predicate:ca_address_sk is not null
+                          TableScan [TS_36] (rows=40000000 width=1014)
+                            
default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_city"]
+                  <-Reducer 7 [SIMPLE_EDGE]
+                    SHUFFLE [RS_42]
+                      PartitionCols:_col6
+                      Merge Join Operator [MERGEJOIN_89] (rows=88000001 
width=860)
+                        
Conds:RS_39._col1=RS_40._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col6","_col7","_col8"]
+                      <-Map 14 [SIMPLE_EDGE]
+                        SHUFFLE [RS_40]
+                          PartitionCols:_col0
+                          Select Operator [SEL_35] (rows=80000000 width=860)
+                            Output:["_col0","_col1","_col2","_col3"]
+                            Filter Operator [FIL_83] (rows=80000000 width=860)
+                              predicate:(c_customer_sk is not null and 
c_current_addr_sk is not null)
+                              TableScan [TS_33] (rows=80000000 width=860)
+                                
default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_current_addr_sk","c_first_name","c_last_name"]
+                      <-Reducer 6 [SIMPLE_EDGE]
+                        SHUFFLE [RS_39]
+                          PartitionCols:_col1
+                          Select Operator [SEL_31] (rows=22000000 width=1014)
+                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                            Group By Operator [GBY_30] (rows=22000000 
width=1014)
+                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3
+                            <-Reducer 5 [SIMPLE_EDGE]
+                              SHUFFLE [RS_29]
+                                PartitionCols:_col0, _col1, _col2, _col3
+                                Group By Operator [GBY_28] (rows=44000000 
width=1014)
+                                  
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col6)","sum(_col7)"],keys:_col1,
 _col3, _col5, _col17
+                                  Select Operator [SEL_27] (rows=44000000 
width=1014)
+                                    
Output:["_col1","_col3","_col5","_col17","_col6","_col7"]
+                                    Merge Join Operator [MERGEJOIN_88] 
(rows=44000000 width=1014)
+                                      
Conds:RS_24._col3=RS_25._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7","_col17"]
+                                    <-Map 13 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_25]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_14] 
(rows=40000000 width=1014)
+                                          Output:["_col0","_col1"]
+                                          Filter Operator [FIL_82] 
(rows=40000000 width=1014)
+                                            predicate:ca_address_sk is not null
+                                            TableScan [TS_12] (rows=40000000 
width=1014)
+                                              
default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_city"]
+                                    <-Reducer 4 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_24]
+                                        PartitionCols:_col3
+                                        Merge Join Operator [MERGEJOIN_87] 
(rows=24305 width=1119)
+                                          
Conds:RS_21._col2=RS_22._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7"]
+                                        <-Map 12 [SIMPLE_EDGE]
+                                          SHUFFLE [RS_22]
+                                            PartitionCols:_col0
+                                            Select Operator [SEL_11] 
(rows=7200 width=107)
+                                              Output:["_col0"]
+                                              Filter Operator [FIL_81] 
(rows=7200 width=107)
+                                                predicate:(((hd_dep_count = 4) 
or (hd_vehicle_count = 2)) and hd_demo_sk is not null)
+                                                TableScan [TS_9] (rows=7200 
width=107)
+                                                  
default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_dep_count","hd_vehicle_count"]
+                                        <-Reducer 3 [SIMPLE_EDGE]
+                                          SHUFFLE [RS_21]
+                                            PartitionCols:_col2
+                                            Merge Join Operator [MERGEJOIN_86] 
(rows=22096 width=1119)
+                                              
Conds:RS_18._col4=RS_19._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7"]
+                                            <-Map 11 [SIMPLE_EDGE]
+                                              SHUFFLE [RS_19]
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_8] 
(rows=852 width=1910)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_80] 
(rows=852 width=1910)
+                                                    predicate:((s_city) IN 
('Rosedale', 'Bethlehem', 'Clinton', 'Clifton', 'Springfield') and s_store_sk 
is not null)
+                                                    TableScan [TS_6] 
(rows=1704 width=1910)
+                                                      
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_city"]
+                                            <-Reducer 2 [SIMPLE_EDGE]
+                                              SHUFFLE [RS_18]
+                                                PartitionCols:_col4
+                                                Merge Join Operator 
[MERGEJOIN_85] (rows=20088 width=1119)
+                                                  
Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                                                <-Map 1 [SIMPLE_EDGE]
+                                                  SHUFFLE [RS_15]
+                                                    PartitionCols:_col0
+                                                    Select Operator [SEL_2] 
(rows=1 width=0)
+                                                      
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                                                      Filter Operator [FIL_78] 
(rows=1 width=0)
+                                                        
predicate:((((ss_sold_date_sk is not null and ss_store_sk is not null) and 
ss_hdemo_sk is not null) and ss_addr_sk is not null) and ss_customer_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_customer_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_ticket_number","ss_coupon_amt","ss_net_profit"]
+                                                <-Map 10 [SIMPLE_EDGE]
+                                                  SHUFFLE [RS_16]
+                                                    PartitionCols:_col0
+                                                    Select Operator [SEL_5] 
(rows=18262 width=1119)
+                                                      Output:["_col0"]
+                                                      Filter Operator [FIL_79] 
(rows=18262 width=1119)
+                                                        predicate:(((d_dow) IN 
(6, 0) and (d_year) IN (1998, 1999, 2000)) and d_date_sk is not null)
+                                                        TableScan [TS_3] 
(rows=73049 width=1119)
+                                                          
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_dow"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query48.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query48.q.out 
b/ql/src/test/results/clientpositive/perf/query48.q.out
index b923cfa..691f5ad 100644
--- a/ql/src/test/results/clientpositive/perf/query48.q.out
+++ b/ql/src/test/results/clientpositive/perf/query48.q.out
@@ -12,149 +12,81 @@ Reducer 5 <- Map 10 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
 Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:-1
-      Stage-1
-         Reducer 6
-         File Output Operator [FS_34]
-            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"}
-            Group By Operator [GBY_32]
-            |  aggregations:["sum(VALUE._col0)"]
-            |  outputColumnNames:["_col0"]
-            |  Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-            |<-Reducer 5 [SIMPLE_EDGE]
-               Reduce Output Operator [RS_31]
-                  sort order:
-                  Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-                  value expressions:_col0 (type: bigint)
-                  Group By Operator [GBY_30]
-                     aggregations:["sum(_col4)"]
-                     outputColumnNames:["_col0"]
-                     Statistics:Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
-                     Merge Join Operator [MERGEJOIN_57]
-                     |  condition map:[{"":"Inner Join 0 to 1"}]
-                     |  keys:{"0":"_col0 (type: int)","1":"_col0 (type: int)"}
-                     |  outputColumnNames:["_col4"]
-                     |  Statistics:Num rows: 18150000 Data size: 18420070657 
Basic stats: COMPLETE Column stats: NONE
-                     |<-Map 10 [SIMPLE_EDGE]
-                     |  Reduce Output Operator [RS_27]
-                     |     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_25]
-                     |        outputColumnNames:["_col0"]
-                     |        Statistics:Num rows: 36524 Data size: 40870356 
Basic stats: COMPLETE Column stats: NONE
-                     |        Filter Operator [FIL_53]
-                     |           predicate:((d_year = 1998) and d_date_sk is 
not null) (type: boolean)
-                     |           Statistics:Num rows: 36524 Data size: 
40870356 Basic stats: COMPLETE Column stats: NONE
-                     |           TableScan [TS_23]
-                     |              alias:date_dim
-                     |              Statistics:Num rows: 73049 Data size: 
81741831 Basic stats: COMPLETE Column stats: NONE
-                     |<-Reducer 4 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_26]
-                           key expressions:_col0 (type: int)
-                           Map-reduce partition columns:_col0 (type: int)
-                           sort order:+
-                           Statistics:Num rows: 16500000 Data size: 
16745518417 Basic stats: COMPLETE Column stats: NONE
-                           value expressions:_col4 (type: int)
-                           Select Operator [SEL_22]
-                              outputColumnNames:["_col0","_col4"]
-                              Statistics:Num rows: 16500000 Data size: 
16745518417 Basic stats: COMPLETE Column stats: NONE
-                              Filter Operator [FIL_21]
-                                 predicate:(((_col12) IN ('KY', 'GA', 'NM') 
and _col6 BETWEEN 0 AND 2000) or ((_col12) IN ('MT', 'OR', 'IN') and _col6 
BETWEEN 150 AND 3000) or ((_col12) IN ('WI', 'MO', 'WV') and _col6 BETWEEN 50 
AND 25000)) (type: boolean)
-                                 Statistics:Num rows: 16500000 Data size: 
16745518417 Basic stats: COMPLETE Column stats: NONE
-                                 Merge Join Operator [MERGEJOIN_56]
-                                 |  condition map:[{"":"Inner Join 0 to 1"}]
-                                 |  keys:{"0":"_col2 (type: int)","1":"_col0 
(type: int)"}
-                                 |  
outputColumnNames:["_col0","_col4","_col6","_col12"]
-                                 |  Statistics:Num rows: 22000000 Data size: 
22327357890 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: 20000000 Data 
size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |     value expressions:_col1 (type: string)
-                                 |     Select Operator [SEL_11]
-                                 |        outputColumnNames:["_col0","_col1"]
-                                 |        Statistics:Num rows: 20000000 Data 
size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |        Filter Operator [FIL_52]
-                                 |           predicate:((((ca_state) IN ('KY', 
'GA', 'NM') or (ca_state) IN ('MT', 'OR', 'IN') or (ca_state) IN ('WI', 'MO', 
'WV')) and (ca_country = 'United States')) and ca_address_sk is not null) 
(type: boolean)
-                                 |           Statistics:Num rows: 20000000 
Data size: 20297597642 Basic stats: COMPLETE Column stats: NONE
-                                 |           TableScan [TS_9]
-                                 |              alias:customer_address
-                                 |              Statistics:Num rows: 40000000 
Data size: 40595195284 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: 5445 Data size: 
1972040 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col0 (type: int), 
_col4 (type: int), _col6 (type: decimal(7,2))
-                                       Merge Join Operator [MERGEJOIN_55]
-                                       |  condition map:[{"":"Inner Join 0 to 
1"}]
-                                       |  keys:{"0":"_col1 (type: 
int)","1":"_col0 (type: int)"}
-                                       |  
outputColumnNames:["_col0","_col2","_col4","_col6"]
-                                       |  Statistics:Num rows: 5445 Data size: 
1972040 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: 4950 Data 
size: 1792764 Basic stats: COMPLETE Column stats: NONE
-                                       |     Select Operator [SEL_8]
-                                       |        outputColumnNames:["_col0"]
-                                       |        Statistics:Num rows: 4950 Data 
size: 1792764 Basic stats: COMPLETE Column stats: NONE
-                                       |        Filter Operator [FIL_51]
-                                       |           
predicate:(((cd_marital_status = 'M') and (cd_education_status = '4 yr 
Degree')) and cd_demo_sk is not null) (type: boolean)
-                                       |           Statistics:Num rows: 4950 
Data size: 1792764 Basic stats: COMPLETE Column stats: NONE
-                                       |           TableScan [TS_6]
-                                       |              
alias:customer_demographics
-                                       |              Statistics:Num rows: 
19800 Data size: 7171059 Basic stats: COMPLETE Column stats: NONE
-                                       |<-Reducer 2 [SIMPLE_EDGE]
-                                          Reduce Output Operator [RS_15]
-                                             key expressions:_col1 (type: int)
-                                             Map-reduce partition 
columns:_col1 (type: int)
-                                             sort order:+
-                                             Statistics:Num rows: 1874 Data 
size: 3581903 Basic stats: COMPLETE Column stats: NONE
-                                             value expressions:_col0 (type: 
int), _col2 (type: int), _col4 (type: int), _col6 (type: decimal(7,2))
-                                             Merge Join Operator [MERGEJOIN_54]
-                                             |  condition map:[{"":"Inner Join 
0 to 1"}]
-                                             |  keys:{"0":"_col3 (type: 
int)","1":"_col0 (type: int)"}
-                                             |  
outputColumnNames:["_col0","_col1","_col2","_col4","_col6"]
-                                             |  Statistics:Num rows: 1874 Data 
size: 3581903 Basic stats: COMPLETE Column stats: NONE
-                                             |<-Map 1 [SIMPLE_EDGE]
-                                             |  Reduce Output Operator [RS_12]
-                                             |     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: int), _col6 
(type: decimal(7,2))
-                                             |     Select Operator [SEL_2]
-                                             |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6"]
-                                             |        Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                             |        Filter Operator [FIL_49]
-                                             |           
predicate:((((((ss_sales_price BETWEEN 100.0 AND 150.0 or ss_sales_price 
BETWEEN 50.0 AND 100.0 or ss_sales_price BETWEEN 150.0 AND 200.0) and 
(ss_net_profit BETWEEN 0 AND 2000 or ss_net_profit BETWEEN 150 AND 3000 or 
ss_net_profit BETWEEN 50 AND 25000)) and ss_store_sk is not null) and 
ss_cdemo_sk is not null) and ss_addr_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_13]
-                                                   key expressions:_col0 
(type: int)
-                                                   Map-reduce partition 
columns:_col0 (type: int)
-                                                   sort order:+
-                                                   Statistics:Num rows: 1704 
Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                                   Select Operator [SEL_5]
-                                                      
outputColumnNames:["_col0"]
-                                                      Statistics:Num rows: 
1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                                      Filter Operator [FIL_50]
-                                                         predicate:s_store_sk 
is not null (type: boolean)
-                                                         Statistics:Num rows: 
1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                                         TableScan [TS_3]
-                                                            alias:store
-                                                            Statistics:Num 
rows: 1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
+  Fetch Operator
+    limit:-1
+    Stage-1
+      Reducer 6
+      File Output Operator [FS_34]
+        Group By Operator [GBY_32] (rows=1 width=8)
+          Output:["_col0"],aggregations:["sum(VALUE._col0)"]
+        <-Reducer 5 [SIMPLE_EDGE]
+          SHUFFLE [RS_31]
+            Group By Operator [GBY_30] (rows=1 width=8)
+              Output:["_col0"],aggregations:["sum(_col4)"]
+              Merge Join Operator [MERGEJOIN_57] (rows=18150000 width=1014)
+                Conds:RS_26._col0=RS_27._col0(Inner),Output:["_col4"]
+              <-Map 10 [SIMPLE_EDGE]
+                SHUFFLE [RS_27]
+                  PartitionCols:_col0
+                  Select Operator [SEL_25] (rows=36524 width=1119)
+                    Output:["_col0"]
+                    Filter Operator [FIL_53] (rows=36524 width=1119)
+                      predicate:((d_year = 1998) and d_date_sk is not null)
+                      TableScan [TS_23] (rows=73049 width=1119)
+                        
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+              <-Reducer 4 [SIMPLE_EDGE]
+                SHUFFLE [RS_26]
+                  PartitionCols:_col0
+                  Select Operator [SEL_22] (rows=16500000 width=1014)
+                    Output:["_col0","_col4"]
+                    Filter Operator [FIL_21] (rows=16500000 width=1014)
+                      predicate:(((_col12) IN ('KY', 'GA', 'NM') and _col6 
BETWEEN 0 AND 2000) or ((_col12) IN ('MT', 'OR', 'IN') and _col6 BETWEEN 150 
AND 3000) or ((_col12) IN ('WI', 'MO', 'WV') and _col6 BETWEEN 50 AND 25000))
+                      Merge Join Operator [MERGEJOIN_56] (rows=22000000 
width=1014)
+                        
Conds:RS_18._col2=RS_19._col0(Inner),Output:["_col0","_col4","_col6","_col12"]
+                      <-Map 9 [SIMPLE_EDGE]
+                        SHUFFLE [RS_19]
+                          PartitionCols:_col0
+                          Select Operator [SEL_11] (rows=20000000 width=1014)
+                            Output:["_col0","_col1"]
+                            Filter Operator [FIL_52] (rows=20000000 width=1014)
+                              predicate:((((ca_state) IN ('KY', 'GA', 'NM') or 
(ca_state) IN ('MT', 'OR', 'IN') or (ca_state) IN ('WI', 'MO', 'WV')) and 
(ca_country = 'United States')) and ca_address_sk is not null)
+                              TableScan [TS_9] (rows=40000000 width=1014)
+                                
default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state","ca_country"]
+                      <-Reducer 3 [SIMPLE_EDGE]
+                        SHUFFLE [RS_18]
+                          PartitionCols:_col2
+                          Merge Join Operator [MERGEJOIN_55] (rows=5445 
width=362)
+                            
Conds:RS_15._col1=RS_16._col0(Inner),Output:["_col0","_col2","_col4","_col6"]
+                          <-Map 8 [SIMPLE_EDGE]
+                            SHUFFLE [RS_16]
+                              PartitionCols:_col0
+                              Select Operator [SEL_8] (rows=4950 width=362)
+                                Output:["_col0"]
+                                Filter Operator [FIL_51] (rows=4950 width=362)
+                                  predicate:(((cd_marital_status = 'M') and 
(cd_education_status = '4 yr Degree')) and cd_demo_sk is not null)
+                                  TableScan [TS_6] (rows=19800 width=362)
+                                    
default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
+                          <-Reducer 2 [SIMPLE_EDGE]
+                            SHUFFLE [RS_15]
+                              PartitionCols:_col1
+                              Merge Join Operator [MERGEJOIN_54] (rows=1874 
width=1911)
+                                
Conds:RS_12._col3=RS_13._col0(Inner),Output:["_col0","_col1","_col2","_col4","_col6"]
+                              <-Map 1 [SIMPLE_EDGE]
+                                SHUFFLE [RS_12]
+                                  PartitionCols:_col3
+                                  Select Operator [SEL_2] (rows=1 width=0)
+                                    
Output:["_col0","_col1","_col2","_col3","_col4","_col6"]
+                                    Filter Operator [FIL_49] (rows=1 width=0)
+                                      predicate:((((((ss_sales_price BETWEEN 
100.0 AND 150.0 or ss_sales_price BETWEEN 50.0 AND 100.0 or ss_sales_price 
BETWEEN 150.0 AND 200.0) and (ss_net_profit BETWEEN 0 AND 2000 or ss_net_profit 
BETWEEN 150 AND 3000 or ss_net_profit BETWEEN 50 AND 25000)) and ss_store_sk is 
not null) and ss_cdemo_sk is not null) and ss_addr_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_cdemo_sk","ss_addr_sk","ss_store_sk","ss_quantity","ss_sales_price","ss_net_profit"]
+                              <-Map 7 [SIMPLE_EDGE]
+                                SHUFFLE [RS_13]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_5] (rows=1704 
width=1910)
+                                    Output:["_col0"]
+                                    Filter Operator [FIL_50] (rows=1704 
width=1910)
+                                      predicate:s_store_sk is not null
+                                      TableScan [TS_3] (rows=1704 width=1910)
+                                        
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query50.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query50.q.out 
b/ql/src/test/results/clientpositive/perf/query50.q.out
index f652b48..4445e98 100644
--- a/ql/src/test/results/clientpositive/perf/query50.q.out
+++ b/ql/src/test/results/clientpositive/perf/query50.q.out
@@ -125,163 +125,86 @@ Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:100
-      Stage-1
-         Reducer 7
-         File Output Operator [FS_36]
-            compressed:false
-            Statistics:Num rows: 100 Data size: 111900 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_35]
-               Number of rows:100
-               Statistics:Num rows: 100 Data size: 111900 Basic stats: 
COMPLETE Column stats: NONE
-               Select Operator [SEL_34]
-               |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
-               |  Statistics:Num rows: 44194 Data size: 49453809 Basic stats: 
COMPLETE Column stats: NONE
-               |<-Reducer 6 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_33]
-                     key expressions:_col0 (type: string), _col1 (type: int), 
_col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: 
string), _col6 (type: string), _col7 (type: string), _col8 (type: string), 
_col9 (type: string)
-                     sort order:++++++++++
-                     Statistics:Num rows: 44194 Data size: 49453809 Basic 
stats: COMPLETE Column stats: NONE
-                     value expressions:_col10 (type: bigint), _col11 (type: 
bigint), _col12 (type: bigint), _col13 (type: bigint), _col14 (type: bigint)
-                     Group By Operator [GBY_31]
-                     |  
aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)"]
-                     |  keys:KEY._col0 (type: string), KEY._col1 (type: int), 
KEY._col2 (type: string), KEY._col3 (type: string), KEY._col4 (type: string), 
KEY._col5 (type: string), KEY._col6 (type: string), KEY._col7 (type: string), 
KEY._col8 (type: string), KEY._col9 (type: string)
-                     |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
-                     |  Statistics:Num rows: 44194 Data size: 49453809 Basic 
stats: COMPLETE Column stats: NONE
-                     |<-Reducer 5 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_30]
-                           key expressions:_col0 (type: string), _col1 (type: 
int), _col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 
(type: string), _col6 (type: string), _col7 (type: string), _col8 (type: 
string), _col9 (type: string)
-                           Map-reduce partition columns:_col0 (type: string), 
_col1 (type: int), _col2 (type: string), _col3 (type: string), _col4 (type: 
string), _col5 (type: string), _col6 (type: string), _col7 (type: string), 
_col8 (type: string), _col9 (type: string)
-                           sort order:++++++++++
-                           Statistics:Num rows: 88388 Data size: 98907619 
Basic stats: COMPLETE Column stats: NONE
-                           value expressions:_col10 (type: bigint), _col11 
(type: bigint), _col12 (type: bigint), _col13 (type: bigint), _col14 (type: 
bigint)
-                           Group By Operator [GBY_29]
-                              
aggregations:["sum(_col10)","sum(_col11)","sum(_col12)","sum(_col13)","sum(_col14)"]
-                              keys:_col0 (type: string), _col1 (type: int), 
_col2 (type: string), _col3 (type: string), _col4 (type: string), _col5 (type: 
string), _col6 (type: string), _col7 (type: string), _col8 (type: string), 
_col9 (type: string)
-                              
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
-                              Statistics:Num rows: 88388 Data size: 98907619 
Basic stats: COMPLETE Column stats: NONE
-                              Select Operator [SEL_27]
-                                 
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
-                                 Statistics:Num rows: 88388 Data size: 
98907619 Basic stats: COMPLETE Column stats: NONE
-                                 Merge Join Operator [MERGEJOIN_59]
-                                 |  condition map:[{"":"Inner Join 0 to 1"}]
-                                 |  keys:{"0":"_col5 (type: int)","1":"_col0 
(type: int)"}
-                                 |  
outputColumnNames:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
-                                 |  Statistics:Num rows: 88388 Data size: 
98907619 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Map 11 [SIMPLE_EDGE]
-                                 |  Reduce Output Operator [RS_25]
-                                 |     key expressions:_col0 (type: int)
-                                 |     Map-reduce partition columns:_col0 
(type: int)
-                                 |     sort order:+
-                                 |     Statistics:Num rows: 18262 Data size: 
20435178 Basic stats: COMPLETE Column stats: NONE
-                                 |     Select Operator [SEL_14]
-                                 |        outputColumnNames:["_col0"]
-                                 |        Statistics:Num rows: 18262 Data 
size: 20435178 Basic stats: COMPLETE Column stats: NONE
-                                 |        Filter Operator [FIL_55]
-                                 |           predicate:(((d_year = 2000) and 
(d_moy = 9)) and d_date_sk is not null) (type: boolean)
-                                 |           Statistics:Num rows: 18262 Data 
size: 20435178 Basic stats: COMPLETE Column stats: NONE
-                                 |           TableScan [TS_12]
-                                 |              alias:d1
-                                 |              Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 4 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_24]
-                                       key expressions:_col5 (type: int)
-                                       Map-reduce partition columns:_col5 
(type: int)
-                                       sort order:+
-                                       Statistics:Num rows: 80353 Data size: 
89916016 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col0 (type: int), 
_col10 (type: string), _col11 (type: int), _col12 (type: string), _col13 (type: 
string), _col14 (type: string), _col15 (type: string), _col16 (type: string), 
_col17 (type: string), _col18 (type: string), _col19 (type: string)
-                                       Merge Join Operator [MERGEJOIN_58]
-                                       |  condition map:[{"":"Inner Join 0 to 
1"}]
-                                       |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
-                                       |  
outputColumnNames:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
-                                       |  Statistics:Num rows: 80353 Data 
size: 89916016 Basic stats: COMPLETE Column stats: NONE
-                                       |<-Map 10 [SIMPLE_EDGE]
-                                       |  Reduce Output Operator [RS_22]
-                                       |     key expressions:_col0 (type: int)
-                                       |     Map-reduce partition 
columns:_col0 (type: int)
-                                       |     sort order:+
-                                       |     Statistics:Num rows: 73049 Data 
size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                       |     Select Operator [SEL_11]
-                                       |        outputColumnNames:["_col0"]
-                                       |        Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                       |        Filter Operator [FIL_54]
-                                       |           predicate:d_date_sk is not 
null (type: boolean)
-                                       |           Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                       |           TableScan [TS_9]
-                                       |              alias:d1
-                                       |              Statistics:Num rows: 
73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                       |<-Reducer 3 [SIMPLE_EDGE]
-                                          Reduce Output Operator [RS_21]
-                                             key expressions:_col0 (type: int)
-                                             Map-reduce partition 
columns:_col0 (type: int)
-                                             sort order:+
-                                             Statistics:Num rows: 1874 Data 
size: 3581903 Basic stats: COMPLETE Column stats: NONE
-                                             value expressions:_col5 (type: 
int), _col10 (type: string), _col11 (type: int), _col12 (type: string), _col13 
(type: string), _col14 (type: string), _col15 (type: string), _col16 (type: 
string), _col17 (type: string), _col18 (type: string), _col19 (type: string)
-                                             Merge Join Operator [MERGEJOIN_57]
-                                             |  condition map:[{"":"Inner Join 
0 to 1"}]
-                                             |  keys:{"0":"_col3 (type: 
int)","1":"_col0 (type: int)"}
-                                             |  
outputColumnNames:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
-                                             |  Statistics:Num rows: 1874 Data 
size: 3581903 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: 1704 
Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                             |     value expressions:_col1 
(type: string), _col2 (type: int), _col3 (type: string), _col4 (type: string), 
_col5 (type: string), _col6 (type: string), _col7 (type: string), _col8 (type: 
string), _col9 (type: string), _col10 (type: string)
-                                             |     Select Operator [SEL_8]
-                                             |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"]
-                                             |        Statistics:Num rows: 
1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                             |        Filter Operator [FIL_53]
-                                             |           predicate:s_store_sk 
is not null (type: boolean)
-                                             |           Statistics:Num rows: 
1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                             |           TableScan [TS_6]
-                                             |              alias:store
-                                             |              Statistics:Num 
rows: 1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                             |<-Reducer 2 [SIMPLE_EDGE]
-                                                Reduce Output Operator [RS_18]
-                                                   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), _col5 (type: int)
-                                                   Merge Join Operator 
[MERGEJOIN_56]
-                                                   |  condition 
map:[{"":"Inner Join 0 to 1"}]
-                                                   |  keys:{"0":"_col4 (type: 
int), _col1 (type: int), _col2 (type: int)","1":"_col3 (type: int), _col1 
(type: int), _col2 (type: int)"}
-                                                   |  
outputColumnNames:["_col0","_col3","_col5"]
-                                                   |  Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |<-Map 1 [SIMPLE_EDGE]
-                                                   |  Reduce Output Operator 
[RS_15]
-                                                   |     key expressions:_col4 
(type: int), _col1 (type: int), _col2 (type: int)
-                                                   |     Map-reduce partition 
columns:_col4 (type: int), _col1 (type: int), _col2 (type: int)
-                                                   |     sort order:+++
-                                                   |     Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |     value 
expressions:_col0 (type: int), _col3 (type: int)
-                                                   |     Select Operator 
[SEL_2]
-                                                   |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
-                                                   |        Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                   |        Filter Operator 
[FIL_51]
-                                                   |           
predicate:((((ss_item_sk is not null and ss_customer_sk is not null) and 
ss_ticket_number is not null) and ss_store_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 8 [SIMPLE_EDGE]
-                                                      Reduce Output Operator 
[RS_16]
-                                                         key expressions:_col3 
(type: int), _col1 (type: int), _col2 (type: int)
-                                                         Map-reduce partition 
columns:_col3 (type: int), _col1 (type: int), _col2 (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","_col2","_col3"]
-                                                            Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                            Filter Operator 
[FIL_52]
-                                                               
predicate:(((sr_item_sk is not null and sr_customer_sk is not null) and 
sr_ticket_number is not null) and sr_returned_date_sk is not null) (type: 
boolean)
-                                                               Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                               TableScan [TS_3]
-                                                                  
alias:store_returns
-                                                                  
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+  Fetch Operator
+    limit:100
+    Stage-1
+      Reducer 7
+      File Output Operator [FS_36]
+        Limit [LIM_35] (rows=100 width=1119)
+          Number of rows:100
+          Select Operator [SEL_34] (rows=44194 width=1119)
+            
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
+          <-Reducer 6 [SIMPLE_EDGE]
+            SHUFFLE [RS_33]
+              Group By Operator [GBY_31] (rows=44194 width=1119)
+                
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, 
KEY._col8, KEY._col9
+              <-Reducer 5 [SIMPLE_EDGE]
+                SHUFFLE [RS_30]
+                  PartitionCols:_col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9
+                  Group By Operator [GBY_29] (rows=88388 width=1119)
+                    
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"],aggregations:["sum(_col10)","sum(_col11)","sum(_col12)","sum(_col13)","sum(_col14)"],keys:_col0,
 _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9
+                    Select Operator [SEL_27] (rows=88388 width=1119)
+                      
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
+                      Merge Join Operator [MERGEJOIN_59] (rows=88388 
width=1119)
+                        
Conds:RS_24._col5=RS_25._col0(Inner),Output:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
+                      <-Map 11 [SIMPLE_EDGE]
+                        SHUFFLE [RS_25]
+                          PartitionCols:_col0
+                          Select Operator [SEL_14] (rows=18262 width=1119)
+                            Output:["_col0"]
+                            Filter Operator [FIL_55] (rows=18262 width=1119)
+                              predicate:(((d_year = 2000) and (d_moy = 9)) and 
d_date_sk is not null)
+                              TableScan [TS_12] (rows=73049 width=1119)
+                                
default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                      <-Reducer 4 [SIMPLE_EDGE]
+                        SHUFFLE [RS_24]
+                          PartitionCols:_col5
+                          Merge Join Operator [MERGEJOIN_58] (rows=80353 
width=1119)
+                            
Conds:RS_21._col0=RS_22._col0(Inner),Output:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
+                          <-Map 10 [SIMPLE_EDGE]
+                            SHUFFLE [RS_22]
+                              PartitionCols:_col0
+                              Select Operator [SEL_11] (rows=73049 width=1119)
+                                Output:["_col0"]
+                                Filter Operator [FIL_54] (rows=73049 
width=1119)
+                                  predicate:d_date_sk is not null
+                                  TableScan [TS_9] (rows=73049 width=1119)
+                                    
default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk"]
+                          <-Reducer 3 [SIMPLE_EDGE]
+                            SHUFFLE [RS_21]
+                              PartitionCols:_col0
+                              Merge Join Operator [MERGEJOIN_57] (rows=1874 
width=1911)
+                                
Conds:RS_18._col3=RS_19._col0(Inner),Output:["_col0","_col5","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19"]
+                              <-Map 9 [SIMPLE_EDGE]
+                                SHUFFLE [RS_19]
+                                  PartitionCols:_col0
+                                  Select Operator [SEL_8] (rows=1704 
width=1910)
+                                    
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"]
+                                    Filter Operator [FIL_53] (rows=1704 
width=1910)
+                                      predicate:s_store_sk is not null
+                                      TableScan [TS_6] (rows=1704 width=1910)
+                                        
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_company_id","s_street_number","s_street_name","s_street_type","s_suite_number","s_city","s_county","s_state","s_zip"]
+                              <-Reducer 2 [SIMPLE_EDGE]
+                                SHUFFLE [RS_18]
+                                  PartitionCols:_col3
+                                  Merge Join Operator [MERGEJOIN_56] (rows=1 
width=0)
+                                    Conds:RS_15._col4, _col1, 
_col2=RS_16._col3, _col1, _col2(Inner),Output:["_col0","_col3","_col5"]
+                                  <-Map 1 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_15]
+                                      PartitionCols:_col4, _col1, _col2
+                                      Select Operator [SEL_2] (rows=1 width=0)
+                                        
Output:["_col0","_col1","_col2","_col3","_col4"]
+                                        Filter Operator [FIL_51] (rows=1 
width=0)
+                                          predicate:((((ss_item_sk is not null 
and ss_customer_sk is not null) and ss_ticket_number is not null) and 
ss_store_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_customer_sk","ss_store_sk","ss_ticket_number"]
+                                  <-Map 8 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_16]
+                                      PartitionCols:_col3, _col1, _col2
+                                      Select Operator [SEL_5] (rows=1 width=0)
+                                        
Output:["_col0","_col1","_col2","_col3"]
+                                        Filter Operator [FIL_52] (rows=1 
width=0)
+                                          predicate:(((sr_item_sk is not null 
and sr_customer_sk is not null) and sr_ticket_number is not null) and 
sr_returned_date_sk is not null)
+                                          TableScan [TS_3] (rows=1 width=0)
+                                            
default@store_returns,store_returns,Tbl:PARTIAL,Col:NONE,Output:["sr_returned_date_sk","sr_item_sk","sr_customer_sk","sr_ticket_number"]
 

Reply via email to