http://git-wip-us.apache.org/repos/asf/hive/blob/ab9e954d/ql/src/test/results/clientpositive/perf/tez/query24.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query24.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query24.q.out
index 9fcec42..349d429 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query24.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query24.q.out
@@ -1,4 +1,4 @@
-Warning: Shuffle Join MERGEJOIN[286][tables = [$hdt$_0, $hdt$_1]] in Stage 
'Reducer 8' is a cross product
+Warning: Shuffle Join MERGEJOIN[290][tables = [$hdt$_0, $hdt$_1]] in Stage 
'Reducer 8' is a cross product
 PREHOOK: query: explain
 with ssales as
 (select c_last_name
@@ -137,281 +137,281 @@ Stage-0
           Output:["_col0","_col1","_col2","_col3"]
           Filter Operator [FIL_89] (rows=77303902 width=321)
             predicate:(_col3 > _col4)
-            Merge Join Operator [MERGEJOIN_286] (rows=231911707 width=321)
+            Merge Join Operator [MERGEJOIN_290] (rows=231911707 width=321)
               Conds:(Inner),Output:["_col0","_col1","_col2","_col3","_col4"]
             <-Reducer 15 [CUSTOM_SIMPLE_EDGE] vectorized
-              PARTITION_ONLY_SHUFFLE [RS_376]
-                Select Operator [SEL_375] (rows=1 width=232)
+              PARTITION_ONLY_SHUFFLE [RS_380]
+                Select Operator [SEL_379] (rows=1 width=232)
                   Output:["_col0"]
-                  Group By Operator [GBY_374] (rows=1 width=232)
+                  Group By Operator [GBY_378] (rows=1 width=232)
                     
Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"]
                   <-Reducer 14 [CUSTOM_SIMPLE_EDGE] vectorized
-                    PARTITION_ONLY_SHUFFLE [RS_373]
-                      Group By Operator [GBY_372] (rows=1 width=232)
+                    PARTITION_ONLY_SHUFFLE [RS_377]
+                      Group By Operator [GBY_376] (rows=1 width=232)
                         
Output:["_col0","_col1"],aggregations:["sum(_col10)","count(_col10)"]
-                        Select Operator [SEL_371] (rows=463823414 width=88)
+                        Select Operator [SEL_375] (rows=463823414 width=88)
                           Output:["_col10"]
-                          Group By Operator [GBY_370] (rows=463823414 width=88)
+                          Group By Operator [GBY_374] (rows=463823414 width=88)
                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, 
KEY._col8, KEY._col9
                           <-Reducer 13 [SIMPLE_EDGE]
                             SHUFFLE [RS_78]
                               PartitionCols:_col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9
                               Group By Operator [GBY_77] (rows=927646829 
width=88)
                                 
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"],aggregations:["sum(_col4)"],keys:_col11,
 _col12, _col6, _col8, _col15, _col16, _col17, _col18, _col19, _col22
-                                Merge Join Operator [MERGEJOIN_285] 
(rows=927646829 width=88)
-                                  Conds:RS_73._col9, _col13=RS_351._col1, 
upper(_col2)(Inner),Output:["_col4","_col6","_col8","_col11","_col12","_col15","_col16","_col17","_col18","_col19","_col22"]
+                                Merge Join Operator [MERGEJOIN_289] 
(rows=927646829 width=88)
+                                  Conds:RS_73._col9, _col13=RS_355._col1, 
upper(_col2)(Inner),Output:["_col4","_col6","_col8","_col11","_col12","_col15","_col16","_col17","_col18","_col19","_col22"]
                                 <-Map 30 [SIMPLE_EDGE] vectorized
-                                  SHUFFLE [RS_351]
+                                  SHUFFLE [RS_355]
                                     PartitionCols:_col1, upper(_col2)
-                                    Select Operator [SEL_349] (rows=40000000 
width=1014)
+                                    Select Operator [SEL_353] (rows=40000000 
width=1014)
                                       Output:["_col0","_col1","_col2"]
-                                      Filter Operator [FIL_348] (rows=40000000 
width=1014)
+                                      Filter Operator [FIL_352] (rows=40000000 
width=1014)
                                         predicate:(ca_zip is not null and 
upper(ca_country) is not null)
                                         TableScan [TS_15] (rows=40000000 
width=1014)
                                           
default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_state","ca_zip","ca_country"]
                                 <-Reducer 12 [SIMPLE_EDGE]
                                   SHUFFLE [RS_73]
                                     PartitionCols:_col9, _col13
-                                    Merge Join Operator [MERGEJOIN_284] 
(rows=843315281 width=88)
-                                      Conds:RS_70._col0, _col3=RS_330._col0, 
_col1(Inner),Output:["_col4","_col6","_col8","_col9","_col11","_col12","_col13","_col15","_col16","_col17","_col18","_col19"]
+                                    Merge Join Operator [MERGEJOIN_288] 
(rows=843315281 width=88)
+                                      Conds:RS_70._col0, _col3=RS_334._col0, 
_col1(Inner),Output:["_col4","_col6","_col8","_col9","_col11","_col12","_col13","_col15","_col16","_col17","_col18","_col19"]
                                     <-Map 25 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_330]
+                                      SHUFFLE [RS_334]
                                         PartitionCols:_col0, _col1
-                                        Select Operator [SEL_326] 
(rows=57591150 width=77)
+                                        Select Operator [SEL_330] 
(rows=57591150 width=77)
                                           Output:["_col0","_col1"]
-                                          Filter Operator [FIL_325] 
(rows=57591150 width=77)
+                                          Filter Operator [FIL_329] 
(rows=57591150 width=77)
                                             predicate:(sr_item_sk is not null 
and sr_ticket_number is not null)
                                             TableScan [TS_12] (rows=57591150 
width=77)
                                               
default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number"]
                                     <-Reducer 11 [SIMPLE_EDGE]
                                       SHUFFLE [RS_70]
                                         PartitionCols:_col0, _col3
-                                        Merge Join Operator [MERGEJOIN_283] 
(rows=766650239 width=88)
-                                          
Conds:RS_67._col0=RS_293._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col8","_col9","_col11","_col12","_col13","_col15","_col16","_col17","_col18","_col19"]
+                                        Merge Join Operator [MERGEJOIN_287] 
(rows=766650239 width=88)
+                                          
Conds:RS_67._col0=RS_297._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col8","_col9","_col11","_col12","_col13","_col15","_col16","_col17","_col18","_col19"]
                                         <-Map 9 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_293]
+                                          SHUFFLE [RS_297]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_290] 
(rows=462000 width=1436)
+                                            Select Operator [SEL_294] 
(rows=462000 width=1436)
                                               
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                              Filter Operator [FIL_288] 
(rows=462000 width=1436)
+                                              Filter Operator [FIL_292] 
(rows=462000 width=1436)
                                                 predicate:i_item_sk is not null
                                                 TableScan [TS_3] (rows=462000 
width=1436)
                                                   
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price","i_size","i_color","i_units","i_manager_id"]
                                         <-Reducer 20 [SIMPLE_EDGE]
                                           SHUFFLE [RS_67]
                                             PartitionCols:_col0
-                                            Merge Join Operator 
[MERGEJOIN_282] (rows=696954748 width=88)
-                                              
Conds:RS_64._col1=RS_317._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col8","_col9","_col11","_col12","_col13"]
+                                            Merge Join Operator 
[MERGEJOIN_286] (rows=696954748 width=88)
+                                              
Conds:RS_64._col1=RS_321._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col8","_col9","_col11","_col12","_col13"]
                                             <-Map 22 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_317]
+                                              SHUFFLE [RS_321]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_314] 
(rows=80000000 width=860)
+                                                Select Operator [SEL_318] 
(rows=80000000 width=860)
                                                   
Output:["_col0","_col1","_col2","_col3"]
-                                                  Filter Operator [FIL_313] 
(rows=80000000 width=860)
+                                                  Filter Operator [FIL_317] 
(rows=80000000 width=860)
                                                     predicate:(c_birth_country 
is not null and c_customer_sk is not null)
                                                     TableScan [TS_9] 
(rows=80000000 width=860)
                                                       
default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_first_name","c_last_name","c_birth_country"]
                                             <-Reducer 19 [SIMPLE_EDGE]
                                               SHUFFLE [RS_64]
                                                 PartitionCols:_col1
-                                                Merge Join Operator 
[MERGEJOIN_281] (rows=633595212 width=88)
-                                                  
Conds:RS_369._col2=RS_305._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col6","_col8","_col9"]
+                                                Merge Join Operator 
[MERGEJOIN_285] (rows=633595212 width=88)
+                                                  
Conds:RS_373._col2=RS_309._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col6","_col8","_col9"]
                                                 <-Map 17 [SIMPLE_EDGE] 
vectorized
-                                                  SHUFFLE [RS_305]
+                                                  SHUFFLE [RS_309]
                                                     PartitionCols:_col0
-                                                    Select Operator [SEL_302] 
(rows=852 width=1910)
+                                                    Select Operator [SEL_306] 
(rows=852 width=1910)
                                                       
Output:["_col0","_col1","_col3","_col4"]
-                                                      Filter Operator 
[FIL_301] (rows=852 width=1910)
+                                                      Filter Operator 
[FIL_305] (rows=852 width=1910)
                                                         
predicate:((s_market_id = 7) and s_store_sk is not null and s_zip 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_market_id","s_state","s_zip"]
                                                 <-Map 31 [SIMPLE_EDGE] 
vectorized
-                                                  SHUFFLE [RS_369]
+                                                  SHUFFLE [RS_373]
                                                     PartitionCols:_col2
-                                                    Select Operator [SEL_368] 
(rows=575995635 width=88)
+                                                    Select Operator [SEL_372] 
(rows=575995635 width=88)
                                                       
Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                      Filter Operator 
[FIL_367] (rows=575995635 width=88)
+                                                      Filter Operator 
[FIL_371] (rows=575995635 width=88)
                                                         
predicate:((ss_customer_sk BETWEEN 
DynamicValue(RS_65_customer_c_customer_sk_min) AND 
DynamicValue(RS_65_customer_c_customer_sk_max) and 
in_bloom_filter(ss_customer_sk, 
DynamicValue(RS_65_customer_c_customer_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_68_item_i_item_sk_min) AND 
DynamicValue(RS_68_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_68_item_i_item_sk_bloom_filter))) and (ss_item_sk BETWEEN 
DynamicValue(RS_71_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_71_store_returns_sr_item_sk_max) and 
in_bloom_filter(ss_item_sk, 
DynamicValue(RS_71_store_returns_sr_item_sk_bloom_filter))) and (ss_store_sk 
BETWEEN DynamicValue(RS_62_store_s_store_sk_min) AND 
DynamicValue(RS_62_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_62_store_s_store_sk_bloom_filter))) and (ss_ticket_number 
BETWEEN DynamicValue(RS_71_store_returns_sr_ticket_number_min) AND 
DynamicValue(RS_71_stor
 e_returns_sr_ticket_number_max) and in_bloom_filter(ss_ticket_number, 
DynamicValue(RS_71_store_returns_sr_ticket_number_bloom_filter))) and 
ss_customer_sk is not null and ss_item_sk is not null and ss_store_sk is not 
null and ss_ticket_number is not null)
                                                         TableScan [TS_43] 
(rows=575995635 width=88)
                                                           
default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_item_sk","ss_customer_sk","ss_store_sk","ss_ticket_number","ss_sales_price"]
                                                         <-Reducer 16 
[BROADCAST_EDGE] vectorized
-                                                          BROADCAST [RS_362]
-                                                            Group By Operator 
[GBY_361] (rows=1 width=12)
+                                                          BROADCAST [RS_366]
+                                                            Group By Operator 
[GBY_365] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                                             <-Map 9 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_298]
-                                                                Group By 
Operator [GBY_296] (rows=1 width=12)
+                                                              SHUFFLE [RS_302]
+                                                                Group By 
Operator [GBY_300] (rows=1 width=12)
                                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                                  Select 
Operator [SEL_294] (rows=462000 width=1436)
+                                                                  Select 
Operator [SEL_298] (rows=462000 width=1436)
                                                                     
Output:["_col0"]
-                                                                     Please 
refer to the previous Select Operator [SEL_290]
+                                                                     Please 
refer to the previous Select Operator [SEL_294]
                                                         <-Reducer 21 
[BROADCAST_EDGE] vectorized
-                                                          BROADCAST [RS_358]
-                                                            Group By Operator 
[GBY_357] (rows=1 width=12)
+                                                          BROADCAST [RS_362]
+                                                            Group By Operator 
[GBY_361] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                                             <-Map 17 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_310]
-                                                                Group By 
Operator [GBY_308] (rows=1 width=12)
+                                                              SHUFFLE [RS_314]
+                                                                Group By 
Operator [GBY_312] (rows=1 width=12)
                                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                                  Select 
Operator [SEL_306] (rows=852 width=1910)
+                                                                  Select 
Operator [SEL_310] (rows=852 width=1910)
                                                                     
Output:["_col0"]
-                                                                     Please 
refer to the previous Select Operator [SEL_302]
+                                                                     Please 
refer to the previous Select Operator [SEL_306]
                                                         <-Reducer 24 
[BROADCAST_EDGE] vectorized
-                                                          BROADCAST [RS_360]
-                                                            Group By Operator 
[GBY_359] (rows=1 width=12)
+                                                          BROADCAST [RS_364]
+                                                            Group By Operator 
[GBY_363] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=80000000)"]
                                                             <-Map 22 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_322]
-                                                                Group By 
Operator [GBY_320] (rows=1 width=12)
+                                                              SHUFFLE [RS_326]
+                                                                Group By 
Operator [GBY_324] (rows=1 width=12)
                                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=80000000)"]
-                                                                  Select 
Operator [SEL_318] (rows=80000000 width=860)
+                                                                  Select 
Operator [SEL_322] (rows=80000000 width=860)
                                                                     
Output:["_col0"]
-                                                                     Please 
refer to the previous Select Operator [SEL_314]
+                                                                     Please 
refer to the previous Select Operator [SEL_318]
                                                         <-Reducer 28 
[BROADCAST_EDGE] vectorized
-                                                          BROADCAST [RS_364]
-                                                            Group By Operator 
[GBY_363] (rows=1 width=12)
+                                                          BROADCAST [RS_368]
+                                                            Group By Operator 
[GBY_367] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=57591152)"]
                                                             <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_339]
-                                                                Group By 
Operator [GBY_335] (rows=1 width=12)
+                                                              SHUFFLE [RS_343]
+                                                                Group By 
Operator [GBY_339] (rows=1 width=12)
                                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=57591152)"]
-                                                                  Select 
Operator [SEL_331] (rows=57591150 width=77)
+                                                                  Select 
Operator [SEL_335] (rows=57591150 width=77)
                                                                     
Output:["_col0"]
-                                                                     Please 
refer to the previous Select Operator [SEL_326]
+                                                                     Please 
refer to the previous Select Operator [SEL_330]
                                                         <-Reducer 29 
[BROADCAST_EDGE] vectorized
-                                                          BROADCAST [RS_366]
-                                                            Group By Operator 
[GBY_365] (rows=1 width=12)
+                                                          BROADCAST [RS_370]
+                                                            Group By Operator 
[GBY_369] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=57591152)"]
                                                             <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_340]
-                                                                Group By 
Operator [GBY_336] (rows=1 width=12)
+                                                              SHUFFLE [RS_344]
+                                                                Group By 
Operator [GBY_340] (rows=1 width=12)
                                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=57591152)"]
-                                                                  Select 
Operator [SEL_332] (rows=57591150 width=77)
+                                                                  Select 
Operator [SEL_336] (rows=57591150 width=77)
                                                                     
Output:["_col0"]
-                                                                     Please 
refer to the previous Select Operator [SEL_326]
+                                                                     Please 
refer to the previous Select Operator [SEL_330]
             <-Reducer 7 [CUSTOM_SIMPLE_EDGE] vectorized
-              PARTITION_ONLY_SHUFFLE [RS_356]
-                Select Operator [SEL_355] (rows=231911707 width=88)
+              PARTITION_ONLY_SHUFFLE [RS_360]
+                Select Operator [SEL_359] (rows=231911707 width=88)
                   Output:["_col0","_col1","_col2","_col3"]
-                  Group By Operator [GBY_354] (rows=231911707 width=88)
+                  Group By Operator [GBY_358] (rows=231911707 width=88)
                     
Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col9)"],keys:_col1,
 _col2, _col7
-                    Select Operator [SEL_353] (rows=463823414 width=88)
+                    Select Operator [SEL_357] (rows=463823414 width=88)
                       Output:["_col1","_col2","_col7","_col9"]
-                      Group By Operator [GBY_352] (rows=463823414 width=88)
+                      Group By Operator [GBY_356] (rows=463823414 width=88)
                         
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, 
KEY._col8
                       <-Reducer 6 [SIMPLE_EDGE]
                         SHUFFLE [RS_35]
                           PartitionCols:_col0, _col1, _col2
                           Group By Operator [GBY_34] (rows=927646829 width=88)
                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"],aggregations:["sum(_col4)"],keys:_col17,
 _col18, _col12, _col22, _col6, _col7, _col9, _col10, _col14
-                            Merge Join Operator [MERGEJOIN_280] 
(rows=927646829 width=88)
-                              Conds:RS_30._col15, _col19=RS_350._col1, 
upper(_col2)(Inner),Output:["_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col17","_col18","_col22"]
+                            Merge Join Operator [MERGEJOIN_284] 
(rows=927646829 width=88)
+                              Conds:RS_30._col15, _col19=RS_354._col1, 
upper(_col2)(Inner),Output:["_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col17","_col18","_col22"]
                             <-Map 30 [SIMPLE_EDGE] vectorized
-                              SHUFFLE [RS_350]
+                              SHUFFLE [RS_354]
                                 PartitionCols:_col1, upper(_col2)
-                                 Please refer to the previous Select Operator 
[SEL_349]
+                                 Please refer to the previous Select Operator 
[SEL_353]
                             <-Reducer 5 [SIMPLE_EDGE]
                               SHUFFLE [RS_30]
                                 PartitionCols:_col15, _col19
-                                Merge Join Operator [MERGEJOIN_279] 
(rows=843315281 width=88)
-                                  Conds:RS_27._col0, _col3=RS_327._col0, 
_col1(Inner),Output:["_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15","_col17","_col18","_col19"]
+                                Merge Join Operator [MERGEJOIN_283] 
(rows=843315281 width=88)
+                                  Conds:RS_27._col0, _col3=RS_331._col0, 
_col1(Inner),Output:["_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15","_col17","_col18","_col19"]
                                 <-Map 25 [SIMPLE_EDGE] vectorized
-                                  SHUFFLE [RS_327]
+                                  SHUFFLE [RS_331]
                                     PartitionCols:_col0, _col1
-                                     Please refer to the previous Select 
Operator [SEL_326]
+                                     Please refer to the previous Select 
Operator [SEL_330]
                                 <-Reducer 4 [SIMPLE_EDGE]
                                   SHUFFLE [RS_27]
                                     PartitionCols:_col0, _col3
-                                    Merge Join Operator [MERGEJOIN_278] 
(rows=766650239 width=88)
-                                      
Conds:RS_24._col1=RS_315._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15","_col17","_col18","_col19"]
+                                    Merge Join Operator [MERGEJOIN_282] 
(rows=766650239 width=88)
+                                      
Conds:RS_24._col1=RS_319._col0(Inner),Output:["_col0","_col3","_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15","_col17","_col18","_col19"]
                                     <-Map 22 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_315]
+                                      SHUFFLE [RS_319]
                                         PartitionCols:_col0
-                                         Please refer to the previous Select 
Operator [SEL_314]
+                                         Please refer to the previous Select 
Operator [SEL_318]
                                     <-Reducer 3 [SIMPLE_EDGE]
                                       SHUFFLE [RS_24]
                                         PartitionCols:_col1
-                                        Merge Join Operator [MERGEJOIN_277] 
(rows=696954748 width=88)
-                                          
Conds:RS_21._col2=RS_303._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15"]
+                                        Merge Join Operator [MERGEJOIN_281] 
(rows=696954748 width=88)
+                                          
Conds:RS_21._col2=RS_307._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col6","_col7","_col9","_col10","_col12","_col14","_col15"]
                                         <-Map 17 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_303]
+                                          SHUFFLE [RS_307]
                                             PartitionCols:_col0
-                                             Please refer to the previous 
Select Operator [SEL_302]
+                                             Please refer to the previous 
Select Operator [SEL_306]
                                         <-Reducer 2 [SIMPLE_EDGE]
                                           SHUFFLE [RS_21]
                                             PartitionCols:_col2
-                                            Merge Join Operator 
[MERGEJOIN_276] (rows=633595212 width=88)
-                                              
Conds:RS_347._col0=RS_291._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col9","_col10"]
+                                            Merge Join Operator 
[MERGEJOIN_280] (rows=633595212 width=88)
+                                              
Conds:RS_351._col0=RS_295._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col9","_col10"]
                                             <-Map 9 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_291]
+                                              SHUFFLE [RS_295]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_289] 
(rows=231000 width=1436)
+                                                Select Operator [SEL_293] 
(rows=231000 width=1436)
                                                   
Output:["_col0","_col1","_col2","_col4","_col5"]
-                                                  Filter Operator [FIL_287] 
(rows=231000 width=1436)
+                                                  Filter Operator [FIL_291] 
(rows=231000 width=1436)
                                                     predicate:((i_color = 
'orchid') and i_item_sk is not null)
                                                      Please refer to the 
previous TableScan [TS_3]
                                             <-Map 1 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_347]
+                                              SHUFFLE [RS_351]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_346] 
(rows=575995635 width=88)
+                                                Select Operator [SEL_350] 
(rows=575995635 width=88)
                                                   
Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_345] 
(rows=575995635 width=88)
+                                                  Filter Operator [FIL_349] 
(rows=575995635 width=88)
                                                     predicate:((ss_customer_sk 
BETWEEN DynamicValue(RS_25_customer_c_customer_sk_min) AND 
DynamicValue(RS_25_customer_c_customer_sk_max) and 
in_bloom_filter(ss_customer_sk, 
DynamicValue(RS_25_customer_c_customer_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_19_item_i_item_sk_min) AND 
DynamicValue(RS_19_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_19_item_i_item_sk_bloom_filter))) and (ss_item_sk BETWEEN 
DynamicValue(RS_28_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_28_store_returns_sr_item_sk_max) and 
in_bloom_filter(ss_item_sk, 
DynamicValue(RS_28_store_returns_sr_item_sk_bloom_filter))) and (ss_store_sk 
BETWEEN DynamicValue(RS_22_store_s_store_sk_min) AND 
DynamicValue(RS_22_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_22_store_s_store_sk_bloom_filter))) and (ss_ticket_number 
BETWEEN DynamicValue(RS_28_store_returns_sr_ticket_number_min) AND 
DynamicValue(RS_28_store_re
 turns_sr_ticket_number_max) and in_bloom_filter(ss_ticket_number, 
DynamicValue(RS_28_store_returns_sr_ticket_number_bloom_filter))) and 
ss_customer_sk is not null and ss_item_sk is not null and ss_store_sk is not 
null and ss_ticket_number is not null)
                                                     TableScan [TS_0] 
(rows=575995635 width=88)
                                                       
default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_item_sk","ss_customer_sk","ss_store_sk","ss_ticket_number","ss_sales_price"]
                                                     <-Reducer 10 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_300]
-                                                        Group By Operator 
[GBY_299] (rows=1 width=12)
+                                                      BROADCAST [RS_304]
+                                                        Group By Operator 
[GBY_303] (rows=1 width=12)
                                                           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                                         <-Map 9 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_297]
-                                                            Group By Operator 
[GBY_295] (rows=1 width=12)
+                                                          SHUFFLE [RS_301]
+                                                            Group By Operator 
[GBY_299] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                              Select Operator 
[SEL_292] (rows=231000 width=1436)
+                                                              Select Operator 
[SEL_296] (rows=231000 width=1436)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_289]
+                                                                 Please refer 
to the previous Select Operator [SEL_293]
                                                     <-Reducer 18 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_312]
-                                                        Group By Operator 
[GBY_311] (rows=1 width=12)
+                                                      BROADCAST [RS_316]
+                                                        Group By Operator 
[GBY_315] (rows=1 width=12)
                                                           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                                         <-Map 17 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_309]
-                                                            Group By Operator 
[GBY_307] (rows=1 width=12)
+                                                          SHUFFLE [RS_313]
+                                                            Group By Operator 
[GBY_311] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                              Select Operator 
[SEL_304] (rows=852 width=1910)
+                                                              Select Operator 
[SEL_308] (rows=852 width=1910)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_302]
+                                                                 Please refer 
to the previous Select Operator [SEL_306]
                                                     <-Reducer 23 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_324]
-                                                        Group By Operator 
[GBY_323] (rows=1 width=12)
+                                                      BROADCAST [RS_328]
+                                                        Group By Operator 
[GBY_327] (rows=1 width=12)
                                                           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=80000000)"]
                                                         <-Map 22 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_321]
-                                                            Group By Operator 
[GBY_319] (rows=1 width=12)
+                                                          SHUFFLE [RS_325]
+                                                            Group By Operator 
[GBY_323] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=80000000)"]
-                                                              Select Operator 
[SEL_316] (rows=80000000 width=860)
+                                                              Select Operator 
[SEL_320] (rows=80000000 width=860)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_314]
+                                                                 Please refer 
to the previous Select Operator [SEL_318]
                                                     <-Reducer 26 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_342]
-                                                        Group By Operator 
[GBY_341] (rows=1 width=12)
+                                                      BROADCAST [RS_346]
+                                                        Group By Operator 
[GBY_345] (rows=1 width=12)
                                                           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=57591152)"]
                                                         <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_337]
-                                                            Group By Operator 
[GBY_333] (rows=1 width=12)
+                                                          SHUFFLE [RS_341]
+                                                            Group By Operator 
[GBY_337] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=57591152)"]
-                                                              Select Operator 
[SEL_328] (rows=57591150 width=77)
+                                                              Select Operator 
[SEL_332] (rows=57591150 width=77)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_326]
+                                                                 Please refer 
to the previous Select Operator [SEL_330]
                                                     <-Reducer 27 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_344]
-                                                        Group By Operator 
[GBY_343] (rows=1 width=12)
+                                                      BROADCAST [RS_348]
+                                                        Group By Operator 
[GBY_347] (rows=1 width=12)
                                                           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=57591152)"]
                                                         <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_338]
-                                                            Group By Operator 
[GBY_334] (rows=1 width=12)
+                                                          SHUFFLE [RS_342]
+                                                            Group By Operator 
[GBY_338] (rows=1 width=12)
                                                               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=57591152)"]
-                                                              Select Operator 
[SEL_329] (rows=57591150 width=77)
+                                                              Select Operator 
[SEL_333] (rows=57591150 width=77)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_326]
+                                                                 Please refer 
to the previous Select Operator [SEL_330]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/ab9e954d/ql/src/test/results/clientpositive/perf/tez/query25.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query25.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query25.q.out
index a885cf3..77a9a07 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query25.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query25.q.out
@@ -95,7 +95,7 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Map 1 <- Reducer 19 (BROADCAST_EDGE), Reducer 21 (BROADCAST_EDGE), Reducer 9 
(BROADCAST_EDGE)
+Map 1 <- Reducer 14 (BROADCAST_EDGE), Reducer 15 (BROADCAST_EDGE), Reducer 19 
(BROADCAST_EDGE), Reducer 21 (BROADCAST_EDGE), Reducer 9 (BROADCAST_EDGE)
 Map 16 <- Reducer 12 (BROADCAST_EDGE), Reducer 14 (BROADCAST_EDGE), Reducer 15 
(BROADCAST_EDGE), Reducer 19 (BROADCAST_EDGE)
 Reducer 10 <- Map 16 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
 Reducer 11 <- Reducer 10 (SIMPLE_EDGE), Reducer 13 (SIMPLE_EDGE)
@@ -118,189 +118,195 @@ Stage-0
     limit:100
     Stage-1
       Reducer 7 vectorized
-      File Output Operator [FS_259]
-        Limit [LIM_258] (rows=100 width=88)
+      File Output Operator [FS_269]
+        Limit [LIM_268] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_257] (rows=421657640 width=88)
+          Select Operator [SEL_267] (rows=421657640 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
           <-Reducer 6 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_256]
-              Group By Operator [GBY_255] (rows=421657640 width=88)
+            SHUFFLE [RS_266]
+              Group By Operator [GBY_265] (rows=421657640 width=88)
                 
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3
               <-Reducer 5 [SIMPLE_EDGE]
                 SHUFFLE [RS_49]
                   PartitionCols:_col0, _col1, _col2, _col3
                   Group By Operator [GBY_48] (rows=843315281 width=88)
                     
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col20)","sum(_col12)"],keys:_col25,
 _col26, _col28, _col29
-                    Merge Join Operator [MERGEJOIN_205] (rows=843315281 
width=88)
-                      
Conds:RS_44._col3=RS_234._col0(Inner),Output:["_col5","_col12","_col20","_col25","_col26","_col28","_col29"]
+                    Merge Join Operator [MERGEJOIN_213] (rows=843315281 
width=88)
+                      
Conds:RS_44._col3=RS_251._col0(Inner),Output:["_col5","_col12","_col20","_col25","_col26","_col28","_col29"]
                     <-Map 20 [SIMPLE_EDGE] vectorized
-                      SHUFFLE [RS_234]
+                      SHUFFLE [RS_251]
                         PartitionCols:_col0
-                        Select Operator [SEL_233] (rows=1704 width=1910)
+                        Select Operator [SEL_250] (rows=1704 width=1910)
                           Output:["_col0","_col1","_col2"]
-                          Filter Operator [FIL_232] (rows=1704 width=1910)
+                          Filter Operator [FIL_249] (rows=1704 width=1910)
                             predicate:s_store_sk is not null
                             TableScan [TS_32] (rows=1704 width=1910)
                               
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id","s_store_name"]
                     <-Reducer 4 [SIMPLE_EDGE]
                       SHUFFLE [RS_44]
                         PartitionCols:_col3
-                        Merge Join Operator [MERGEJOIN_204] (rows=766650239 
width=88)
-                          
Conds:RS_41._col1=RS_225._col0(Inner),Output:["_col3","_col5","_col12","_col20","_col25","_col26"]
+                        Merge Join Operator [MERGEJOIN_212] (rows=766650239 
width=88)
+                          
Conds:RS_41._col1=RS_242._col0(Inner),Output:["_col3","_col5","_col12","_col20","_col25","_col26"]
                         <-Map 18 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_225]
+                          SHUFFLE [RS_242]
                             PartitionCols:_col0
-                            Select Operator [SEL_224] (rows=462000 width=1436)
+                            Select Operator [SEL_241] (rows=462000 width=1436)
                               Output:["_col0","_col1","_col2"]
-                              Filter Operator [FIL_223] (rows=462000 
width=1436)
+                              Filter Operator [FIL_240] (rows=462000 
width=1436)
                                 predicate:i_item_sk is not null
                                 TableScan [TS_29] (rows=462000 width=1436)
                                   
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_id","i_item_desc"]
                         <-Reducer 3 [SIMPLE_EDGE]
                           SHUFFLE [RS_41]
                             PartitionCols:_col1
-                            Merge Join Operator [MERGEJOIN_203] 
(rows=696954748 width=88)
+                            Merge Join Operator [MERGEJOIN_211] 
(rows=696954748 width=88)
                               Conds:RS_38._col1, _col2, _col4=RS_39._col8, 
_col9, _col10(Inner),Output:["_col1","_col3","_col5","_col12","_col20"]
                             <-Reducer 11 [SIMPLE_EDGE]
                               SHUFFLE [RS_39]
                                 PartitionCols:_col8, _col9, _col10
-                                Merge Join Operator [MERGEJOIN_202] 
(rows=348467716 width=135)
+                                Merge Join Operator [MERGEJOIN_210] 
(rows=348467716 width=135)
                                   Conds:RS_25._col2, _col1=RS_26._col1, 
_col2(Inner),Output:["_col3","_col8","_col9","_col10","_col11"]
                                 <-Reducer 13 [SIMPLE_EDGE]
                                   PARTITION_ONLY_SHUFFLE [RS_26]
                                     PartitionCols:_col1, _col2
-                                    Merge Join Operator [MERGEJOIN_201] 
(rows=63350266 width=77)
-                                      
Conds:RS_247._col0=RS_216._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
+                                    Merge Join Operator [MERGEJOIN_209] 
(rows=63350266 width=77)
+                                      
Conds:RS_233._col0=RS_224._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                     <-Map 8 [SIMPLE_EDGE] vectorized
-                                      PARTITION_ONLY_SHUFFLE [RS_216]
+                                      PARTITION_ONLY_SHUFFLE [RS_224]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_211] (rows=4058 
width=1119)
+                                        Select Operator [SEL_219] (rows=4058 
width=1119)
                                           Output:["_col0"]
-                                          Filter Operator [FIL_208] (rows=4058 
width=1119)
+                                          Filter Operator [FIL_216] (rows=4058 
width=1119)
                                             predicate:((d_year = 2000) and 
d_date_sk is not null and d_moy BETWEEN 4 AND 10)
                                             TableScan [TS_3] (rows=73049 
width=1119)
                                               
default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
                                     <-Map 17 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_247]
+                                      SHUFFLE [RS_233]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_246] 
(rows=57591150 width=77)
+                                        Select Operator [SEL_232] 
(rows=57591150 width=77)
                                           
Output:["_col0","_col1","_col2","_col3","_col4"]
-                                          Filter Operator [FIL_245] 
(rows=57591150 width=77)
+                                          Filter Operator [FIL_231] 
(rows=57591150 width=77)
                                             predicate:(sr_customer_sk is not 
null and sr_item_sk is not null and sr_returned_date_sk is not null and 
sr_ticket_number is not null)
                                             TableScan [TS_12] (rows=57591150 
width=77)
                                               
default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_returned_date_sk","sr_item_sk","sr_customer_sk","sr_ticket_number","sr_net_loss"]
                                 <-Reducer 10 [SIMPLE_EDGE]
                                   SHUFFLE [RS_25]
                                     PartitionCols:_col2, _col1
-                                    Merge Join Operator [MERGEJOIN_200] 
(rows=316788826 width=135)
-                                      
Conds:RS_254._col0=RS_214._col0(Inner),Output:["_col1","_col2","_col3"]
+                                    Merge Join Operator [MERGEJOIN_208] 
(rows=316788826 width=135)
+                                      
Conds:RS_264._col0=RS_222._col0(Inner),Output:["_col1","_col2","_col3"]
                                     <-Map 8 [SIMPLE_EDGE] vectorized
-                                      PARTITION_ONLY_SHUFFLE [RS_214]
+                                      PARTITION_ONLY_SHUFFLE [RS_222]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_210] (rows=4058 
width=1119)
+                                        Select Operator [SEL_218] (rows=4058 
width=1119)
                                           Output:["_col0"]
-                                          Filter Operator [FIL_207] (rows=4058 
width=1119)
+                                          Filter Operator [FIL_215] (rows=4058 
width=1119)
                                             predicate:((d_year = 2000) and 
d_date_sk is not null and d_moy BETWEEN 4 AND 10)
                                              Please refer to the previous 
TableScan [TS_3]
                                     <-Map 16 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_254]
+                                      SHUFFLE [RS_264]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_253] 
(rows=287989836 width=135)
+                                        Select Operator [SEL_263] 
(rows=287989836 width=135)
                                           
Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_252] 
(rows=287989836 width=135)
+                                          Filter Operator [FIL_262] 
(rows=287989836 width=135)
                                             predicate:((cs_bill_customer_sk 
BETWEEN DynamicValue(RS_26_store_returns_sr_customer_sk_min) AND 
DynamicValue(RS_26_store_returns_sr_customer_sk_max) and 
in_bloom_filter(cs_bill_customer_sk, 
DynamicValue(RS_26_store_returns_sr_customer_sk_bloom_filter))) and (cs_item_sk 
BETWEEN DynamicValue(RS_26_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_26_store_returns_sr_item_sk_max) and 
in_bloom_filter(cs_item_sk, 
DynamicValue(RS_26_store_returns_sr_item_sk_bloom_filter))) and (cs_item_sk 
BETWEEN DynamicValue(RS_42_item_i_item_sk_min) AND 
DynamicValue(RS_42_item_i_item_sk_max) and in_bloom_filter(cs_item_sk, 
DynamicValue(RS_42_item_i_item_sk_bloom_filter))) and (cs_sold_date_sk BETWEEN 
DynamicValue(RS_23_d3_d_date_sk_min) AND DynamicValue(RS_23_d3_d_date_sk_max) 
and in_bloom_filter(cs_sold_date_sk, 
DynamicValue(RS_23_d3_d_date_sk_bloom_filter))) and cs_bill_customer_sk is not 
null and cs_item_sk is not null and cs_sold_date_sk is not null)
                                             TableScan [TS_6] (rows=287989836 
width=135)
                                               
default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_bill_customer_sk","cs_item_sk","cs_net_profit"]
-                                            <-Reducer 19 [BROADCAST_EDGE] 
vectorized
-                                              BROADCAST [RS_231]
-                                                Group By Operator [GBY_229] 
(rows=1 width=12)
-                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                <-Map 18 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                                  SHUFFLE [RS_228]
-                                                    Group By Operator 
[GBY_227] (rows=1 width=12)
-                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                      Select Operator 
[SEL_226] (rows=462000 width=1436)
-                                                        Output:["_col0"]
-                                                         Please refer to the 
previous Select Operator [SEL_224]
-                                            <-Reducer 12 [BROADCAST_EDGE] 
vectorized
-                                              BROADCAST [RS_244]
-                                                Group By Operator [GBY_243] 
(rows=1 width=12)
-                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                <-Map 8 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                                  PARTITION_ONLY_SHUFFLE 
[RS_220]
-                                                    Group By Operator 
[GBY_218] (rows=1 width=12)
-                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                      Select Operator 
[SEL_215] (rows=4058 width=1119)
-                                                        Output:["_col0"]
-                                                         Please refer to the 
previous Select Operator [SEL_210]
                                             <-Reducer 14 [BROADCAST_EDGE] 
vectorized
-                                              BROADCAST [RS_249]
-                                                Group By Operator [GBY_248] 
(rows=1 width=12)
+                                              BROADCAST [RS_236]
+                                                Group By Operator [GBY_234] 
(rows=1 width=12)
                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
                                                 <-Reducer 13 
[CUSTOM_SIMPLE_EDGE]
-                                                  PARTITION_ONLY_SHUFFLE 
[RS_137]
-                                                    Group By Operator 
[GBY_136] (rows=1 width=12)
+                                                  PARTITION_ONLY_SHUFFLE 
[RS_107]
+                                                    Group By Operator 
[GBY_106] (rows=1 width=12)
                                                       
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
-                                                      Select Operator 
[SEL_135] (rows=63350266 width=77)
+                                                      Select Operator 
[SEL_105] (rows=63350266 width=77)
                                                         Output:["_col0"]
-                                                         Please refer to the 
previous Merge Join Operator [MERGEJOIN_201]
+                                                         Please refer to the 
previous Merge Join Operator [MERGEJOIN_209]
                                             <-Reducer 15 [BROADCAST_EDGE] 
vectorized
-                                              BROADCAST [RS_251]
-                                                Group By Operator [GBY_250] 
(rows=1 width=12)
+                                              BROADCAST [RS_239]
+                                                Group By Operator [GBY_237] 
(rows=1 width=12)
                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
                                                 <-Reducer 13 
[CUSTOM_SIMPLE_EDGE]
-                                                  PARTITION_ONLY_SHUFFLE 
[RS_142]
-                                                    Group By Operator 
[GBY_141] (rows=1 width=12)
+                                                  PARTITION_ONLY_SHUFFLE 
[RS_122]
+                                                    Group By Operator 
[GBY_121] (rows=1 width=12)
                                                       
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
-                                                      Select Operator 
[SEL_140] (rows=63350266 width=77)
+                                                      Select Operator 
[SEL_120] (rows=63350266 width=77)
+                                                        Output:["_col0"]
+                                                         Please refer to the 
previous Merge Join Operator [MERGEJOIN_209]
+                                            <-Reducer 19 [BROADCAST_EDGE] 
vectorized
+                                              BROADCAST [RS_248]
+                                                Group By Operator [GBY_246] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                <-Map 18 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                                  SHUFFLE [RS_245]
+                                                    Group By Operator 
[GBY_244] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                      Select Operator 
[SEL_243] (rows=462000 width=1436)
                                                         Output:["_col0"]
-                                                         Please refer to the 
previous Merge Join Operator [MERGEJOIN_201]
+                                                         Please refer to the 
previous Select Operator [SEL_241]
+                                            <-Reducer 12 [BROADCAST_EDGE] 
vectorized
+                                              BROADCAST [RS_261]
+                                                Group By Operator [GBY_260] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                <-Map 8 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                                  PARTITION_ONLY_SHUFFLE 
[RS_228]
+                                                    Group By Operator 
[GBY_226] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                      Select Operator 
[SEL_223] (rows=4058 width=1119)
+                                                        Output:["_col0"]
+                                                         Please refer to the 
previous Select Operator [SEL_218]
                             <-Reducer 2 [SIMPLE_EDGE]
                               SHUFFLE [RS_38]
                                 PartitionCols:_col1, _col2, _col4
-                                Merge Join Operator [MERGEJOIN_199] 
(rows=633595212 width=88)
-                                  
Conds:RS_242._col0=RS_212._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5"]
+                                Merge Join Operator [MERGEJOIN_207] 
(rows=633595212 width=88)
+                                  
Conds:RS_259._col0=RS_220._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5"]
                                 <-Map 8 [SIMPLE_EDGE] vectorized
-                                  PARTITION_ONLY_SHUFFLE [RS_212]
+                                  PARTITION_ONLY_SHUFFLE [RS_220]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_209] (rows=18262 
width=1119)
+                                    Select Operator [SEL_217] (rows=18262 
width=1119)
                                       Output:["_col0"]
-                                      Filter Operator [FIL_206] (rows=18262 
width=1119)
+                                      Filter Operator [FIL_214] (rows=18262 
width=1119)
                                         predicate:((d_moy = 4) and (d_year = 
2000) and d_date_sk is not null)
                                          Please refer to the previous 
TableScan [TS_3]
                                 <-Map 1 [SIMPLE_EDGE] vectorized
-                                  SHUFFLE [RS_242]
+                                  SHUFFLE [RS_259]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_241] (rows=575995635 
width=88)
+                                    Select Operator [SEL_258] (rows=575995635 
width=88)
                                       
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                      Filter Operator [FIL_240] 
(rows=575995635 width=88)
-                                        predicate:((ss_item_sk BETWEEN 
DynamicValue(RS_42_item_i_item_sk_min) AND 
DynamicValue(RS_42_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_42_item_i_item_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN 
DynamicValue(RS_36_d1_d_date_sk_min) AND DynamicValue(RS_36_d1_d_date_sk_max) 
and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_36_d1_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_45_store_s_store_sk_min) AND 
DynamicValue(RS_45_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_45_store_s_store_sk_bloom_filter))) and ss_customer_sk is not 
null and ss_item_sk is not null and ss_sold_date_sk is not null and ss_store_sk 
is not null and ss_ticket_number is not null)
+                                      Filter Operator [FIL_257] 
(rows=575995635 width=88)
+                                        predicate:((ss_customer_sk BETWEEN 
DynamicValue(RS_26_store_returns_sr_customer_sk_min) AND 
DynamicValue(RS_26_store_returns_sr_customer_sk_max) and 
in_bloom_filter(ss_customer_sk, 
DynamicValue(RS_26_store_returns_sr_customer_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_26_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_26_store_returns_sr_item_sk_max) and 
in_bloom_filter(ss_item_sk, 
DynamicValue(RS_26_store_returns_sr_item_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_42_item_i_item_sk_min) AND 
DynamicValue(RS_42_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_42_item_i_item_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN 
DynamicValue(RS_36_d1_d_date_sk_min) AND DynamicValue(RS_36_d1_d_date_sk_max) 
and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_36_d1_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_45_store_s_store_sk_min) AND 
DynamicValue(RS_45_store_s_store_sk_max) and
  in_bloom_filter(ss_store_sk, 
DynamicValue(RS_45_store_s_store_sk_bloom_filter))) and ss_customer_sk is not 
null and ss_item_sk is not null and ss_sold_date_sk is not null and ss_store_sk 
is not null and ss_ticket_number is not null)
                                         TableScan [TS_0] (rows=575995635 
width=88)
                                           
default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_customer_sk","ss_store_sk","ss_ticket_number","ss_net_profit"]
+                                        <-Reducer 14 [BROADCAST_EDGE] 
vectorized
+                                          BROADCAST [RS_235]
+                                             Please refer to the previous 
Group By Operator [GBY_234]
+                                        <-Reducer 15 [BROADCAST_EDGE] 
vectorized
+                                          BROADCAST [RS_238]
+                                             Please refer to the previous 
Group By Operator [GBY_237]
                                         <-Reducer 19 [BROADCAST_EDGE] 
vectorized
-                                          BROADCAST [RS_230]
-                                             Please refer to the previous 
Group By Operator [GBY_229]
+                                          BROADCAST [RS_247]
+                                             Please refer to the previous 
Group By Operator [GBY_246]
                                         <-Reducer 21 [BROADCAST_EDGE] 
vectorized
-                                          BROADCAST [RS_239]
-                                            Group By Operator [GBY_238] 
(rows=1 width=12)
+                                          BROADCAST [RS_256]
+                                            Group By Operator [GBY_255] 
(rows=1 width=12)
                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                             <-Map 20 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                              SHUFFLE [RS_237]
-                                                Group By Operator [GBY_236] 
(rows=1 width=12)
+                                              SHUFFLE [RS_254]
+                                                Group By Operator [GBY_253] 
(rows=1 width=12)
                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                  Select Operator [SEL_235] 
(rows=1704 width=1910)
+                                                  Select Operator [SEL_252] 
(rows=1704 width=1910)
                                                     Output:["_col0"]
-                                                     Please refer to the 
previous Select Operator [SEL_233]
+                                                     Please refer to the 
previous Select Operator [SEL_250]
                                         <-Reducer 9 [BROADCAST_EDGE] vectorized
-                                          BROADCAST [RS_222]
-                                            Group By Operator [GBY_221] 
(rows=1 width=12)
+                                          BROADCAST [RS_230]
+                                            Group By Operator [GBY_229] 
(rows=1 width=12)
                                               
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
                                             <-Map 8 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                              PARTITION_ONLY_SHUFFLE [RS_219]
-                                                Group By Operator [GBY_217] 
(rows=1 width=12)
+                                              PARTITION_ONLY_SHUFFLE [RS_227]
+                                                Group By Operator [GBY_225] 
(rows=1 width=12)
                                                   
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                  Select Operator [SEL_213] 
(rows=18262 width=1119)
+                                                  Select Operator [SEL_221] 
(rows=18262 width=1119)
                                                     Output:["_col0"]
-                                                     Please refer to the 
previous Select Operator [SEL_209]
+                                                     Please refer to the 
previous Select Operator [SEL_217]
 

Reply via email to