http://git-wip-us.apache.org/repos/asf/hive/blob/6f44fc81/ql/src/test/results/clientpositive/perf/query76.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query76.q.out 
b/ql/src/test/results/clientpositive/perf/query76.q.out
index 0b974ef..e540ee7 100644
--- a/ql/src/test/results/clientpositive/perf/query76.q.out
+++ b/ql/src/test/results/clientpositive/perf/query76.q.out
@@ -19,210 +19,210 @@ Stage-0
       limit:100
       Stage-1
          Reducer 6
-         File Output Operator [FS_71]
+         File Output Operator [FS_59]
             compressed:false
             Statistics:Num rows: 100 Data size: 143600 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_70]
+            Limit [LIM_58]
                Number of rows:100
                Statistics:Num rows: 100 Data size: 143600 Basic stats: 
COMPLETE Column stats: NONE
-               Select Operator [SEL_69]
+               Select Operator [SEL_57]
                |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                |  Statistics:Num rows: 838530 Data size: 1204362280 Basic 
stats: COMPLETE Column stats: NONE
                |<-Reducer 5 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_68]
+                  Reduce Output Operator [RS_56]
                      key expressions:_col0 (type: string), _col1 (type: 
string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                      sort order:+++++
                      Statistics:Num rows: 838530 Data size: 1204362280 Basic 
stats: COMPLETE Column stats: NONE
                      value expressions:_col5 (type: bigint), _col6 (type: 
decimal(17,2))
-                     Group By Operator [GBY_66]
+                     Group By Operator [GBY_54]
                      |  aggregations:["count(VALUE._col0)","sum(VALUE._col1)"]
                      |  keys:KEY._col0 (type: string), KEY._col1 (type: 
string), KEY._col2 (type: int), KEY._col3 (type: int), KEY._col4 (type: string)
                      |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                      |  Statistics:Num rows: 838530 Data size: 1204362280 
Basic stats: COMPLETE Column stats: NONE
                      |<-Union 4 [SIMPLE_EDGE]
                         |<-Reducer 11 [CONTAINS]
-                        |  Reduce Output Operator [RS_65]
+                        |  Reduce Output Operator [RS_53]
                         |     key expressions:_col0 (type: string), _col1 
(type: string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                         |     Map-reduce partition columns:_col0 (type: 
string), _col1 (type: string), _col2 (type: int), _col3 (type: int), _col4 
(type: string)
                         |     sort order:+++++
                         |     Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
                         |     value expressions:_col5 (type: bigint), _col6 
(type: decimal(17,2))
-                        |     Group By Operator [GBY_64]
+                        |     Group By Operator [GBY_52]
                         |        aggregations:["count()","sum(_col5)"]
                         |        keys:_col0 (type: string), _col1 (type: 
string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                         |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                         |        Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
-                        |        Select Operator [SEL_39]
+                        |        Select Operator [SEL_31]
                         |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                         |           Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
-                        |           Merge Join Operator [MERGEJOIN_99]
+                        |           Merge Join Operator [MERGEJOIN_87]
                         |           |  condition map:[{"":"Inner Join 0 to 1"}]
                         |           |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
                         |           |  
outputColumnNames:["_col3","_col5","_col7","_col8"]
                         |           |  Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
                         |           |<-Map 13 [SIMPLE_EDGE]
-                        |           |  Reduce Output Operator [RS_37]
+                        |           |  Reduce Output Operator [RS_29]
                         |           |     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
                         |           |     value expressions:_col1 (type: int), 
_col2 (type: int)
-                        |           |     Select Operator [SEL_28]
+                        |           |     Select Operator [SEL_24]
                         |           |        
outputColumnNames:["_col0","_col1","_col2"]
                         |           |        Statistics:Num rows: 73049 Data 
size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                        |           |        Filter Operator [FIL_92]
+                        |           |        Filter Operator [FIL_80]
                         |           |           predicate:d_date_sk is not 
null (type: boolean)
                         |           |           Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                        |           |           TableScan [TS_26]
+                        |           |           TableScan [TS_22]
                         |           |              alias:date_dim
                         |           |              Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
                         |           |<-Reducer 10 [SIMPLE_EDGE]
-                        |              Reduce Output Operator [RS_35]
+                        |              Reduce Output Operator [RS_28]
                         |                 key expressions:_col0 (type: int)
                         |                 Map-reduce partition columns:_col0 
(type: int)
                         |                 sort order:+
                         |                 Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                         |                 value expressions:_col3 (type: 
decimal(7,2)), _col5 (type: string)
-                        |                 Merge Join Operator [MERGEJOIN_98]
+                        |                 Merge Join Operator [MERGEJOIN_86]
                         |                 |  condition map:[{"":"Inner Join 0 
to 1"}]
                         |                 |  keys:{"0":"_col1 (type: 
int)","1":"_col0 (type: int)"}
                         |                 |  
outputColumnNames:["_col0","_col3","_col5"]
                         |                 |  Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                         |                 |<-Map 12 [SIMPLE_EDGE]
-                        |                 |  Reduce Output Operator [RS_32]
+                        |                 |  Reduce Output Operator [RS_26]
                         |                 |     key expressions:_col0 (type: 
int)
                         |                 |     Map-reduce partition 
columns:_col0 (type: int)
                         |                 |     sort order:+
                         |                 |     Statistics:Num rows: 462000 
Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
                         |                 |     value expressions:_col1 (type: 
string)
-                        |                 |     Select Operator [SEL_25]
+                        |                 |     Select Operator [SEL_21]
                         |                 |        
outputColumnNames:["_col0","_col1"]
                         |                 |        Statistics:Num rows: 462000 
Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                        |                 |        Filter Operator [FIL_91]
+                        |                 |        Filter Operator [FIL_79]
                         |                 |           predicate:i_item_sk is 
not null (type: boolean)
                         |                 |           Statistics:Num rows: 
462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                        |                 |           TableScan [TS_23]
+                        |                 |           TableScan [TS_19]
                         |                 |              alias:item
                         |                 |              Statistics:Num rows: 
462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
                         |                 |<-Map 9 [SIMPLE_EDGE]
-                        |                    Reduce Output Operator [RS_30]
+                        |                    Reduce Output Operator [RS_25]
                         |                       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), _col3 (type: decimal(7,2))
-                        |                       Select Operator [SEL_22]
+                        |                       Select Operator [SEL_18]
                         |                          
outputColumnNames:["_col0","_col1","_col3"]
                         |                          Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                        |                          Filter Operator [FIL_90]
+                        |                          Filter Operator [FIL_78]
                         |                             predicate:((ws_item_sk 
is not null and ws_web_page_sk is null) and ws_sold_date_sk is not null) (type: 
boolean)
                         |                             Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                        |                             TableScan [TS_20]
+                        |                             TableScan [TS_16]
                         |                                alias:web_sales
                         |                                Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
                         |<-Reducer 16 [CONTAINS]
-                        |  Reduce Output Operator [RS_65]
+                        |  Reduce Output Operator [RS_53]
                         |     key expressions:_col0 (type: string), _col1 
(type: string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                         |     Map-reduce partition columns:_col0 (type: 
string), _col1 (type: string), _col2 (type: int), _col3 (type: int), _col4 
(type: string)
                         |     sort order:+++++
                         |     Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
                         |     value expressions:_col5 (type: bigint), _col6 
(type: decimal(17,2))
-                        |     Group By Operator [GBY_64]
+                        |     Group By Operator [GBY_52]
                         |        aggregations:["count()","sum(_col5)"]
                         |        keys:_col0 (type: string), _col1 (type: 
string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                         |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                         |        Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
-                        |        Select Operator [SEL_61]
+                        |        Select Operator [SEL_49]
                         |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                         |           Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
-                        |           Merge Join Operator [MERGEJOIN_101]
+                        |           Merge Join Operator [MERGEJOIN_89]
                         |           |  condition map:[{"":"Inner Join 0 to 1"}]
                         |           |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
                         |           |  
outputColumnNames:["_col3","_col5","_col7","_col8"]
                         |           |  Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
                         |           |<-Map 18 [SIMPLE_EDGE]
-                        |           |  Reduce Output Operator [RS_59]
+                        |           |  Reduce Output Operator [RS_47]
                         |           |     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
                         |           |     value expressions:_col1 (type: int), 
_col2 (type: int)
-                        |           |     Select Operator [SEL_50]
+                        |           |     Select Operator [SEL_42]
                         |           |        
outputColumnNames:["_col0","_col1","_col2"]
                         |           |        Statistics:Num rows: 73049 Data 
size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                        |           |        Filter Operator [FIL_95]
+                        |           |        Filter Operator [FIL_83]
                         |           |           predicate:d_date_sk is not 
null (type: boolean)
                         |           |           Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                        |           |           TableScan [TS_48]
+                        |           |           TableScan [TS_40]
                         |           |              alias:date_dim
                         |           |              Statistics:Num rows: 73049 
Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
                         |           |<-Reducer 15 [SIMPLE_EDGE]
-                        |              Reduce Output Operator [RS_57]
+                        |              Reduce Output Operator [RS_46]
                         |                 key expressions:_col0 (type: int)
                         |                 Map-reduce partition columns:_col0 
(type: int)
                         |                 sort order:+
                         |                 Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                         |                 value expressions:_col3 (type: 
decimal(7,2)), _col5 (type: string)
-                        |                 Merge Join Operator [MERGEJOIN_100]
+                        |                 Merge Join Operator [MERGEJOIN_88]
                         |                 |  condition map:[{"":"Inner Join 0 
to 1"}]
                         |                 |  keys:{"0":"_col2 (type: 
int)","1":"_col0 (type: int)"}
                         |                 |  
outputColumnNames:["_col0","_col3","_col5"]
                         |                 |  Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                         |                 |<-Map 14 [SIMPLE_EDGE]
-                        |                 |  Reduce Output Operator [RS_52]
+                        |                 |  Reduce Output Operator [RS_43]
                         |                 |     key expressions:_col2 (type: 
int)
                         |                 |     Map-reduce partition 
columns:_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: decimal(7,2))
-                        |                 |     Select Operator [SEL_44]
+                        |                 |     Select Operator [SEL_36]
                         |                 |        
outputColumnNames:["_col0","_col2","_col3"]
                         |                 |        Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                        |                 |        Filter Operator [FIL_93]
+                        |                 |        Filter Operator [FIL_81]
                         |                 |           predicate:((cs_item_sk 
is not null and cs_warehouse_sk is null) and cs_sold_date_sk is not null) 
(type: boolean)
                         |                 |           Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                        |                 |           TableScan [TS_42]
+                        |                 |           TableScan [TS_34]
                         |                 |              alias:catalog_sales
                         |                 |              Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
                         |                 |<-Map 17 [SIMPLE_EDGE]
-                        |                    Reduce Output Operator [RS_54]
+                        |                    Reduce Output Operator [RS_44]
                         |                       key expressions:_col0 (type: 
int)
                         |                       Map-reduce partition 
columns:_col0 (type: int)
                         |                       sort order:+
                         |                       Statistics:Num rows: 462000 
Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
                         |                       value expressions:_col1 (type: 
string)
-                        |                       Select Operator [SEL_47]
+                        |                       Select Operator [SEL_39]
                         |                          
outputColumnNames:["_col0","_col1"]
                         |                          Statistics:Num rows: 462000 
Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                        |                          Filter Operator [FIL_94]
+                        |                          Filter Operator [FIL_82]
                         |                             predicate:i_item_sk is 
not null (type: boolean)
                         |                             Statistics:Num rows: 
462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                        |                             TableScan [TS_45]
+                        |                             TableScan [TS_37]
                         |                                alias:item
                         |                                Statistics:Num rows: 
462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
                         |<-Reducer 3 [CONTAINS]
-                           Reduce Output Operator [RS_65]
+                           Reduce Output Operator [RS_53]
                               key expressions:_col0 (type: string), _col1 
(type: string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                               Map-reduce partition columns:_col0 (type: 
string), _col1 (type: string), _col2 (type: int), _col3 (type: int), _col4 
(type: string)
                               sort order:+++++
                               Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
                               value expressions:_col5 (type: bigint), _col6 
(type: decimal(17,2))
-                              Group By Operator [GBY_64]
+                              Group By Operator [GBY_52]
                                  aggregations:["count()","sum(_col5)"]
                                  keys:_col0 (type: string), _col1 (type: 
string), _col2 (type: int), _col3 (type: int), _col4 (type: string)
                                  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                                  Statistics:Num rows: 1677060 Data size: 
2408724561 Basic stats: COMPLETE Column stats: NONE
-                                 Select Operator [SEL_19]
+                                 Select Operator [SEL_15]
                                     
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                                     Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
-                                    Merge Join Operator [MERGEJOIN_97]
+                                    Merge Join Operator [MERGEJOIN_85]
                                     |  condition map:[{"":"Inner Join 0 to 1"}]
                                     |  keys:{"0":"_col0 (type: 
int)","1":"_col0 (type: int)"}
                                     |  
outputColumnNames:["_col3","_col5","_col7","_col8"]
                                     |  Statistics:Num rows: 559020 Data size: 
802908187 Basic stats: COMPLETE Column stats: NONE
                                     |<-Map 8 [SIMPLE_EDGE]
-                                    |  Reduce Output Operator [RS_17]
+                                    |  Reduce Output Operator [RS_13]
                                     |     key expressions:_col0 (type: int)
                                     |     Map-reduce partition columns:_col0 
(type: int)
                                     |     sort order:+
@@ -231,26 +231,26 @@ Stage-0
                                     |     Select Operator [SEL_8]
                                     |        
outputColumnNames:["_col0","_col1","_col2"]
                                     |        Statistics:Num rows: 73049 Data 
size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                    |        Filter Operator [FIL_89]
+                                    |        Filter Operator [FIL_77]
                                     |           predicate:d_date_sk is not 
null (type: boolean)
                                     |           Statistics:Num rows: 73049 
Data size: 81741831 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_15]
+                                       Reduce Output Operator [RS_12]
                                           key expressions:_col0 (type: int)
                                           Map-reduce partition columns:_col0 
(type: int)
                                           sort order:+
                                           Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                                           value expressions:_col3 (type: 
decimal(7,2)), _col5 (type: string)
-                                          Merge Join Operator [MERGEJOIN_96]
+                                          Merge Join Operator [MERGEJOIN_84]
                                           |  condition map:[{"":"Inner Join 0 
to 1"}]
                                           |  keys:{"0":"_col1 (type: 
int)","1":"_col0 (type: int)"}
                                           |  
outputColumnNames:["_col0","_col3","_col5"]
                                           |  Statistics:Num rows: 508200 Data 
size: 729916518 Basic stats: COMPLETE Column stats: NONE
                                           |<-Map 1 [SIMPLE_EDGE]
-                                          |  Reduce Output Operator [RS_10]
+                                          |  Reduce Output Operator [RS_9]
                                           |     key expressions:_col1 (type: 
int)
                                           |     Map-reduce partition 
columns:_col1 (type: int)
                                           |     sort order:+
@@ -259,14 +259,14 @@ Stage-0
                                           |     Select Operator [SEL_2]
                                           |        
outputColumnNames:["_col0","_col1","_col3"]
                                           |        Statistics:Num rows: 1 Data 
size: 0 Basic stats: PARTIAL Column stats: NONE
-                                          |        Filter Operator [FIL_87]
+                                          |        Filter Operator [FIL_75]
                                           |           predicate:((ss_addr_sk 
is null and 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_12]
+                                             Reduce Output Operator [RS_10]
                                                 key expressions:_col0 (type: 
int)
                                                 Map-reduce partition 
columns:_col0 (type: int)
                                                 sort order:+
@@ -275,7 +275,7 @@ Stage-0
                                                 Select Operator [SEL_5]
                                                    
outputColumnNames:["_col0","_col1"]
                                                    Statistics:Num rows: 462000 
Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                                                   Filter Operator [FIL_88]
+                                                   Filter Operator [FIL_76]
                                                       predicate:i_item_sk is 
not null (type: boolean)
                                                       Statistics:Num rows: 
462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
                                                       TableScan [TS_3]

http://git-wip-us.apache.org/repos/asf/hive/blob/6f44fc81/ql/src/test/results/clientpositive/perf/query79.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query79.q.out 
b/ql/src/test/results/clientpositive/perf/query79.q.out
index a69f717..a0d5a51 100644
--- a/ql/src/test/results/clientpositive/perf/query79.q.out
+++ b/ql/src/test/results/clientpositive/perf/query79.q.out
@@ -17,83 +17,83 @@ Stage-0
       limit:100
       Stage-1
          Reducer 7
-         File Output Operator [FS_45]
+         File Output Operator [FS_37]
             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_44]
+            Limit [LIM_36]
                Number of rows:100
                Statistics:Num rows: 100 Data size: 86000 Basic stats: COMPLETE 
Column stats: NONE
-               Select Operator [SEL_43]
+               Select Operator [SEL_35]
                |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                |  Statistics:Num rows: 88000001 Data size: 75681779077 Basic 
stats: COMPLETE Column stats: NONE
                |<-Reducer 6 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_42]
+                  Reduce Output Operator [RS_34]
                      key expressions:_col0 (type: string), _col1 (type: 
string), _col2 (type: string), _col5 (type: decimal(17,2))
                      sort order:++++
                      Statistics:Num rows: 88000001 Data size: 75681779077 
Basic stats: COMPLETE Column stats: NONE
                      value expressions:_col3 (type: int), _col4 (type: 
decimal(17,2))
-                     Select Operator [SEL_41]
+                     Select Operator [SEL_33]
                         
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                         Statistics:Num rows: 88000001 Data size: 75681779077 
Basic stats: COMPLETE Column stats: NONE
-                        Merge Join Operator [MERGEJOIN_68]
+                        Merge Join Operator [MERGEJOIN_60]
                         |  condition map:[{"":"Inner Join 0 to 1"}]
                         |  keys:{"0":"_col1 (type: int)","1":"_col0 (type: 
int)"}
                         |  
outputColumnNames:["_col0","_col2","_col3","_col4","_col6","_col7"]
                         |  Statistics:Num rows: 88000001 Data size: 
75681779077 Basic stats: COMPLETE Column stats: NONE
                         |<-Map 11 [SIMPLE_EDGE]
-                        |  Reduce Output Operator [RS_39]
+                        |  Reduce Output Operator [RS_31]
                         |     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: string), _col2 
(type: string)
-                        |     Select Operator [SEL_35]
+                        |     Select Operator [SEL_29]
                         |        outputColumnNames:["_col0","_col1","_col2"]
                         |        Statistics:Num rows: 80000000 Data size: 
68801615852 Basic stats: COMPLETE Column stats: NONE
-                        |        Filter Operator [FIL_64]
+                        |        Filter Operator [FIL_56]
                         |           predicate:c_customer_sk is not null (type: 
boolean)
                         |           Statistics:Num rows: 80000000 Data size: 
68801615852 Basic stats: COMPLETE Column stats: NONE
-                        |           TableScan [TS_33]
+                        |           TableScan [TS_27]
                         |              alias:customer
                         |              Statistics:Num rows: 80000000 Data 
size: 68801615852 Basic stats: COMPLETE Column stats: NONE
                         |<-Reducer 5 [SIMPLE_EDGE]
-                           Reduce Output Operator [RS_37]
+                           Reduce Output Operator [RS_30]
                               key expressions:_col1 (type: int)
                               Map-reduce partition columns:_col1 (type: int)
                               sort order:+
                               Statistics:Num rows: 12152 Data size: 13599051 
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]
+                              Select Operator [SEL_25]
                                  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
                                  Statistics:Num rows: 12152 Data size: 
13599051 Basic stats: COMPLETE Column stats: NONE
-                                 Group By Operator [GBY_30]
+                                 Group By Operator [GBY_24]
                                  |  
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: 12152 Data size: 
13599051 Basic stats: COMPLETE Column stats: NONE
                                  |<-Reducer 4 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_29]
+                                    Reduce Output Operator [RS_23]
                                        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: 24305 Data size: 
27199223 Basic stats: COMPLETE Column stats: NONE
                                        value expressions:_col4 (type: 
decimal(17,2)), _col5 (type: decimal(17,2))
-                                       Group By Operator [GBY_28]
+                                       Group By Operator [GBY_22]
                                           
aggregations:["sum(_col6)","sum(_col7)"]
                                           keys:_col1 (type: int), _col3 (type: 
int), _col5 (type: int), _col13 (type: string)
                                           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
                                           Statistics:Num rows: 24305 Data 
size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                          Select Operator [SEL_27]
+                                          Select Operator [SEL_21]
                                              
outputColumnNames:["_col1","_col3","_col5","_col13","_col6","_col7"]
                                              Statistics:Num rows: 24305 Data 
size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                             Merge Join Operator [MERGEJOIN_67]
+                                             Merge Join Operator [MERGEJOIN_59]
                                              |  condition map:[{"":"Inner Join 
0 to 1"}]
                                              |  keys:{"0":"_col2 (type: 
int)","1":"_col0 (type: int)"}
                                              |  
outputColumnNames:["_col1","_col3","_col5","_col6","_col7","_col13"]
                                              |  Statistics:Num rows: 24305 
Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
                                              |<-Map 10 [SIMPLE_EDGE]
-                                             |  Reduce Output Operator [RS_25]
+                                             |  Reduce Output Operator [RS_19]
                                              |     key expressions:_col0 
(type: int)
                                              |     Map-reduce partition 
columns:_col0 (type: int)
                                              |     sort order:+
@@ -101,26 +101,26 @@ Stage-0
                                              |     Select Operator [SEL_11]
                                              |        
outputColumnNames:["_col0"]
                                              |        Statistics:Num rows: 
6000 Data size: 642000 Basic stats: COMPLETE Column stats: NONE
-                                             |        Filter Operator [FIL_63]
+                                             |        Filter Operator [FIL_55]
                                              |           
predicate:(((hd_dep_count = 8) or (hd_vehicle_count > 0)) and hd_demo_sk is not 
null) (type: boolean)
                                              |           Statistics:Num rows: 
6000 Data size: 642000 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_23]
+                                                Reduce Output Operator [RS_18]
                                                    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)), _col13 (type: string)
-                                                   Merge Join Operator 
[MERGEJOIN_66]
+                                                   Merge Join Operator 
[MERGEJOIN_58]
                                                    |  condition 
map:[{"":"Inner Join 0 to 1"}]
                                                    |  keys:{"0":"_col4 (type: 
int)","1":"_col0 (type: int)"}
                                                    |  
outputColumnNames:["_col1","_col2","_col3","_col5","_col6","_col7","_col13"]
                                                    |  Statistics:Num rows: 
22096 Data size: 24726566 Basic stats: COMPLETE Column stats: NONE
                                                    |<-Map 9 [SIMPLE_EDGE]
-                                                   |  Reduce Output Operator 
[RS_20]
+                                                   |  Reduce Output Operator 
[RS_16]
                                                    |     key expressions:_col0 
(type: int)
                                                    |     Map-reduce partition 
columns:_col0 (type: int)
                                                    |     sort order:+
@@ -129,26 +129,26 @@ Stage-0
                                                    |     Select Operator 
[SEL_8]
                                                    |        
outputColumnNames:["_col0","_col2"]
                                                    |        Statistics:Num 
rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: NONE
-                                                   |        Filter Operator 
[FIL_62]
+                                                   |        Filter Operator 
[FIL_54]
                                                    |           
predicate:(s_number_employees BETWEEN 200 AND 295 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]
+                                                      Reduce Output Operator 
[RS_15]
                                                          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_65]
+                                                         Merge Join Operator 
[MERGEJOIN_57]
                                                          |  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_13]
+                                                         |  Reduce Output 
Operator [RS_12]
                                                          |     key 
expressions:_col0 (type: int)
                                                          |     Map-reduce 
partition columns:_col0 (type: int)
                                                          |     sort order:+
@@ -157,14 +157,14 @@ Stage-0
                                                          |     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_60]
+                                                         |        Filter 
Operator [FIL_52]
                                                          |           
predicate:(((ss_sold_date_sk is not null and ss_store_sk is not null) and 
ss_hdemo_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 8 [SIMPLE_EDGE]
-                                                            Reduce Output 
Operator [RS_15]
+                                                            Reduce Output 
Operator [RS_13]
                                                                key 
expressions:_col0 (type: int)
                                                                Map-reduce 
partition columns:_col0 (type: int)
                                                                sort order:+
@@ -172,7 +172,7 @@ Stage-0
                                                                Select Operator 
[SEL_5]
                                                                   
outputColumnNames:["_col0"]
                                                                   
Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column 
stats: NONE
-                                                                  Filter 
Operator [FIL_61]
+                                                                  Filter 
Operator [FIL_53]
                                                                      
predicate:(((d_dow = 1) 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]

Reply via email to