http://git-wip-us.apache.org/repos/asf/hive/blob/f2c4f319/ql/src/test/results/clientpositive/perf/tez/query53.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query53.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query53.q.out
index 51c956d..3567534 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query53.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query53.q.out
@@ -55,21 +55,25 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
+Map 1 <- Reducer 10 (BROADCAST_EDGE), Reducer 12 (BROADCAST_EDGE), Reducer 8 
(BROADCAST_EDGE)
+Reducer 10 <- Map 9 (CUSTOM_SIMPLE_EDGE)
+Reducer 12 <- Map 11 (CUSTOM_SIMPLE_EDGE)
 Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
-Reducer 3 <- Map 8 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 9 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
+Reducer 3 <- Map 9 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 4 <- Map 11 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
 Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
 Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
+Reducer 8 <- Map 7 (CUSTOM_SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
       Reducer 6 vectorized
-      File Output Operator [FS_71]
-        Limit [LIM_70] (rows=100 width=88)
+      File Output Operator [FS_116]
+        Limit [LIM_115] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_69] (rows=191662559 width=88)
+          Select Operator [SEL_114] (rows=191662559 width=88)
             Output:["_col0","_col1","_col2"]
           <-Reducer 5 [SIMPLE_EDGE]
             SHUFFLE [RS_33]
@@ -90,52 +94,85 @@ Stage-0
                             PartitionCols:_col0
                             Group By Operator [GBY_22] (rows=766650239 
width=88)
                               
Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col8, _col11
-                              Merge Join Operator [MERGEJOIN_54] 
(rows=766650239 width=88)
-                                
Conds:RS_18._col2=RS_66._col0(Inner),Output:["_col3","_col8","_col11"]
-                              <-Map 9 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_66]
+                              Merge Join Operator [MERGEJOIN_84] 
(rows=766650239 width=88)
+                                
Conds:RS_18._col2=RS_103._col0(Inner),Output:["_col3","_col8","_col11"]
+                              <-Map 11 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_103]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_65] (rows=1704 
width=1910)
+                                  Select Operator [SEL_102] (rows=1704 
width=1910)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_64] (rows=1704 
width=1910)
+                                    Filter Operator [FIL_101] (rows=1704 
width=1910)
                                       predicate:s_store_sk is not null
                                       TableScan [TS_9] (rows=1704 width=1910)
                                         
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk"]
                               <-Reducer 3 [SIMPLE_EDGE]
                                 SHUFFLE [RS_18]
                                   PartitionCols:_col2
-                                  Merge Join Operator [MERGEJOIN_53] 
(rows=696954748 width=88)
-                                    
Conds:RS_15._col0=RS_63._col0(Inner),Output:["_col2","_col3","_col8","_col11"]
-                                  <-Map 8 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_63]
+                                  Merge Join Operator [MERGEJOIN_83] 
(rows=696954748 width=88)
+                                    
Conds:RS_15._col0=RS_95._col0(Inner),Output:["_col2","_col3","_col8","_col11"]
+                                  <-Map 9 [SIMPLE_EDGE] vectorized
+                                    SHUFFLE [RS_95]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_62] (rows=36525 
width=1119)
+                                      Select Operator [SEL_94] (rows=36525 
width=1119)
                                         Output:["_col0","_col2"]
-                                        Filter Operator [FIL_61] (rows=36525 
width=1119)
+                                        Filter Operator [FIL_93] (rows=36525 
width=1119)
                                           predicate:((d_month_seq) IN (1212, 
1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223) and d_date_sk 
is not null)
                                           TableScan [TS_6] (rows=73049 
width=1119)
                                             
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq","d_qoy"]
                                   <-Reducer 2 [SIMPLE_EDGE]
                                     SHUFFLE [RS_15]
                                       PartitionCols:_col0
-                                      Merge Join Operator [MERGEJOIN_52] 
(rows=633595212 width=88)
-                                        
Conds:RS_57._col1=RS_60._col0(Inner),Output:["_col0","_col2","_col3","_col8"]
-                                      <-Map 1 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_57]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_56] 
(rows=575995635 width=88)
-                                            
Output:["_col0","_col1","_col2","_col3"]
-                                            Filter Operator [FIL_55] 
(rows=575995635 width=88)
-                                              predicate:(ss_item_sk is not 
null and ss_sold_date_sk is not null and ss_store_sk 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_store_sk","ss_sales_price"]
+                                      Merge Join Operator [MERGEJOIN_82] 
(rows=633595212 width=88)
+                                        
Conds:RS_111._col1=RS_87._col0(Inner),Output:["_col0","_col2","_col3","_col8"]
                                       <-Map 7 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_60]
+                                        PARTITION_ONLY_SHUFFLE [RS_87]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_59] 
(rows=115500 width=1436)
+                                          Select Operator [SEL_86] 
(rows=115500 width=1436)
                                             Output:["_col0","_col4"]
-                                            Filter Operator [FIL_58] 
(rows=115500 width=1436)
+                                            Filter Operator [FIL_85] 
(rows=115500 width=1436)
                                               predicate:((((i_category) IN 
('Books', 'Children', 'Electronics') and (i_class) IN ('personal', 'portable', 
'reference', 'self-help') and (i_brand) IN ('scholaramalgamalg #14', 
'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) or 
((i_category) IN ('Women', 'Music', 'Men') and (i_class) IN ('accessories', 
'classical', 'fragrances', 'pants') and (i_brand) IN ('amalgimporto #1', 'edu 
packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) and ((i_brand) IN 
('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 
'scholaramalgamalg #9') or (i_brand) IN ('amalgimporto #1', 'edu packscholar 
#1', 'exportiimporto #1', 'importoamalg #1')) and ((i_category) IN ('Books', 
'Children', 'Electronics') or (i_category) IN ('Women', 'Music', 'Men')) and 
((i_class) IN ('personal', 'portable', 'reference', 'self-help') or (i_class) 
IN ('accessories', 'classical', 'fragrances', 'pants')) and i_item_sk is not 
null)
                                               TableScan [TS_3] (rows=462000 
width=1436)
                                                 
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand","i_class","i_category","i_manufact_id"]
+                                      <-Map 1 [SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_111]
+                                          PartitionCols:_col1
+                                          Select Operator [SEL_110] 
(rows=575995635 width=88)
+                                            
Output:["_col0","_col1","_col2","_col3"]
+                                            Filter Operator [FIL_109] 
(rows=575995635 width=88)
+                                              predicate:((ss_item_sk BETWEEN 
DynamicValue(RS_13_item_i_item_sk_min) AND 
DynamicValue(RS_13_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_13_item_i_item_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN 
DynamicValue(RS_16_date_dim_d_date_sk_min) AND 
DynamicValue(RS_16_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_16_date_dim_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_19_store_s_store_sk_min) AND 
DynamicValue(RS_19_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_19_store_s_store_sk_bloom_filter))) and ss_item_sk is not null 
and ss_sold_date_sk is not null and ss_store_sk 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_store_sk","ss_sales_price"]
+                                              <-Reducer 10 [BROADCAST_EDGE] 
vectorized
+                                                BROADCAST [RS_100]
+                                                  Group By Operator [GBY_99] 
(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_98]
+                                                      Group By Operator 
[GBY_97] (rows=1 width=12)
+                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                        Select Operator 
[SEL_96] (rows=36525 width=1119)
+                                                          Output:["_col0"]
+                                                           Please refer to the 
previous Select Operator [SEL_94]
+                                              <-Reducer 12 [BROADCAST_EDGE] 
vectorized
+                                                BROADCAST [RS_108]
+                                                  Group By Operator [GBY_107] 
(rows=1 width=12)
+                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                  <-Map 11 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                    SHUFFLE [RS_106]
+                                                      Group By Operator 
[GBY_105] (rows=1 width=12)
+                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                        Select Operator 
[SEL_104] (rows=1704 width=1910)
+                                                          Output:["_col0"]
+                                                           Please refer to the 
previous Select Operator [SEL_102]
+                                              <-Reducer 8 [BROADCAST_EDGE] 
vectorized
+                                                BROADCAST [RS_92]
+                                                  Group By Operator [GBY_91] 
(rows=1 width=12)
+                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                  <-Map 7 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                                    PARTITION_ONLY_SHUFFLE 
[RS_90]
+                                                      Group By Operator 
[GBY_89] (rows=1 width=12)
+                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                        Select Operator 
[SEL_88] (rows=115500 width=1436)
+                                                          Output:["_col0"]
+                                                           Please refer to the 
previous Select Operator [SEL_86]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/f2c4f319/ql/src/test/results/clientpositive/perf/tez/query54.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query54.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query54.q.out
index 386ea4b..8ab239c 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query54.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query54.q.out
@@ -1,7 +1,7 @@
-Warning: Shuffle Join MERGEJOIN[184][tables = [$hdt$_0, $hdt$_1, $hdt$_2, 
$hdt$_3]] in Stage 'Reducer 4' is a cross product
-Warning: Shuffle Join MERGEJOIN[185][tables = [$hdt$_0, $hdt$_1, $hdt$_2, 
$hdt$_3, $hdt$_4]] in Stage 'Reducer 5' is a cross product
-Warning: Shuffle Join MERGEJOIN[183][tables = [$hdt$_1, $hdt$_2]] in Stage 
'Reducer 29' is a cross product
-Warning: Shuffle Join MERGEJOIN[186][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in 
Stage 'Reducer 6' is a cross product
+Warning: Shuffle Join MERGEJOIN[269][tables = [$hdt$_0, $hdt$_1, $hdt$_2, 
$hdt$_3]] in Stage 'Reducer 4' is a cross product
+Warning: Shuffle Join MERGEJOIN[270][tables = [$hdt$_0, $hdt$_1, $hdt$_2, 
$hdt$_3, $hdt$_4]] in Stage 'Reducer 5' is a cross product
+Warning: Shuffle Join MERGEJOIN[268][tables = [$hdt$_1, $hdt$_2]] in Stage 
'Reducer 33' is a cross product
+Warning: Shuffle Join MERGEJOIN[271][tables = [$hdt$_1, $hdt$_2, $hdt$_0]] in 
Stage 'Reducer 6' is a cross product
 PREHOOK: query: explain
 with my_customers as (
  select distinct c_customer_sk
@@ -115,25 +115,30 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Map 15 <- Union 16 (CONTAINS)
-Map 21 <- Union 16 (CONTAINS)
-Reducer 12 <- Map 11 (SIMPLE_EDGE), Map 14 (SIMPLE_EDGE)
-Reducer 13 <- Reducer 12 (SIMPLE_EDGE), Reducer 20 (SIMPLE_EDGE)
-Reducer 17 <- Map 22 (SIMPLE_EDGE), Union 16 (SIMPLE_EDGE)
-Reducer 18 <- Map 23 (SIMPLE_EDGE), Reducer 17 (SIMPLE_EDGE)
-Reducer 19 <- Map 24 (SIMPLE_EDGE), Reducer 18 (SIMPLE_EDGE)
+Map 1 <- Reducer 11 (BROADCAST_EDGE)
+Map 16 <- Reducer 24 (BROADCAST_EDGE), Reducer 26 (BROADCAST_EDGE), Reducer 28 
(BROADCAST_EDGE), Union 17 (CONTAINS)
+Map 22 <- Reducer 24 (BROADCAST_EDGE), Reducer 26 (BROADCAST_EDGE), Union 17 
(CONTAINS)
+Reducer 11 <- Map 10 (CUSTOM_SIMPLE_EDGE)
+Reducer 13 <- Map 12 (SIMPLE_EDGE), Map 15 (SIMPLE_EDGE)
+Reducer 14 <- Reducer 13 (SIMPLE_EDGE), Reducer 21 (SIMPLE_EDGE)
+Reducer 18 <- Map 23 (SIMPLE_EDGE), Union 17 (SIMPLE_EDGE)
+Reducer 19 <- Map 25 (SIMPLE_EDGE), Reducer 18 (SIMPLE_EDGE)
 Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 10 (SIMPLE_EDGE)
-Reducer 20 <- Reducer 19 (SIMPLE_EDGE)
-Reducer 26 <- Map 25 (SIMPLE_EDGE)
-Reducer 27 <- Reducer 26 (CUSTOM_SIMPLE_EDGE)
-Reducer 28 <- Map 25 (SIMPLE_EDGE)
-Reducer 29 <- Reducer 28 (CUSTOM_SIMPLE_EDGE), Reducer 31 (CUSTOM_SIMPLE_EDGE)
-Reducer 3 <- Reducer 13 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 30 <- Map 25 (SIMPLE_EDGE)
+Reducer 20 <- Map 27 (SIMPLE_EDGE), Reducer 19 (SIMPLE_EDGE)
+Reducer 21 <- Reducer 20 (SIMPLE_EDGE)
+Reducer 24 <- Map 23 (CUSTOM_SIMPLE_EDGE)
+Reducer 26 <- Map 25 (CUSTOM_SIMPLE_EDGE)
+Reducer 28 <- Map 27 (CUSTOM_SIMPLE_EDGE)
+Reducer 3 <- Reducer 14 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 30 <- Map 29 (SIMPLE_EDGE)
 Reducer 31 <- Reducer 30 (CUSTOM_SIMPLE_EDGE)
-Reducer 4 <- Reducer 27 (CUSTOM_SIMPLE_EDGE), Reducer 3 (CUSTOM_SIMPLE_EDGE)
-Reducer 5 <- Reducer 26 (CUSTOM_SIMPLE_EDGE), Reducer 4 (CUSTOM_SIMPLE_EDGE)
-Reducer 6 <- Reducer 29 (CUSTOM_SIMPLE_EDGE), Reducer 5 (CUSTOM_SIMPLE_EDGE)
+Reducer 32 <- Map 29 (SIMPLE_EDGE)
+Reducer 33 <- Reducer 32 (CUSTOM_SIMPLE_EDGE), Reducer 35 (CUSTOM_SIMPLE_EDGE)
+Reducer 34 <- Map 29 (SIMPLE_EDGE)
+Reducer 35 <- Reducer 34 (CUSTOM_SIMPLE_EDGE)
+Reducer 4 <- Reducer 3 (CUSTOM_SIMPLE_EDGE), Reducer 31 (CUSTOM_SIMPLE_EDGE)
+Reducer 5 <- Reducer 30 (CUSTOM_SIMPLE_EDGE), Reducer 4 (CUSTOM_SIMPLE_EDGE)
+Reducer 6 <- Reducer 33 (CUSTOM_SIMPLE_EDGE), Reducer 5 (CUSTOM_SIMPLE_EDGE)
 Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
 Reducer 8 <- Reducer 7 (SIMPLE_EDGE)
 Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
@@ -143,25 +148,25 @@ Stage-0
     limit:100
     Stage-1
       Reducer 9 vectorized
-      File Output Operator [FS_259]
-        Limit [LIM_258] (rows=100 width=158)
+      File Output Operator [FS_358]
+        Limit [LIM_357] (rows=100 width=158)
           Number of rows:100
-          Select Operator [SEL_257] (rows=1614130953450400 width=158)
+          Select Operator [SEL_356] (rows=1614130953450400 width=158)
             Output:["_col0","_col1","_col2"]
           <-Reducer 8 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_256]
-              Select Operator [SEL_255] (rows=1614130953450400 width=158)
+            SHUFFLE [RS_355]
+              Select Operator [SEL_354] (rows=1614130953450400 width=158)
                 Output:["_col0","_col1","_col2"]
-                Group By Operator [GBY_254] (rows=1614130953450400 width=158)
+                Group By Operator [GBY_353] (rows=1614130953450400 width=158)
                   
Output:["_col0","_col1"],aggregations:["count(VALUE._col0)"],keys:KEY._col0
                 <-Reducer 7 [SIMPLE_EDGE] vectorized
-                  SHUFFLE [RS_253]
+                  SHUFFLE [RS_352]
                     PartitionCols:_col0
-                    Group By Operator [GBY_252] (rows=3228261906900801 
width=158)
+                    Group By Operator [GBY_351] (rows=3228261906900801 
width=158)
                       
Output:["_col0","_col1"],aggregations:["count()"],keys:_col0
-                      Select Operator [SEL_251] (rows=3228261906900801 
width=158)
+                      Select Operator [SEL_350] (rows=3228261906900801 
width=158)
                         Output:["_col0"]
-                        Group By Operator [GBY_250] (rows=3228261906900801 
width=158)
+                        Group By Operator [GBY_349] (rows=3228261906900801 
width=158)
                           
Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                         <-Reducer 6 [SIMPLE_EDGE]
                           SHUFFLE [RS_119]
@@ -174,207 +179,257 @@ Stage-0
                                   predicate:_col11 BETWEEN _col13 AND _col15
                                   Select Operator [SEL_115] 
(rows=58108714324214428 width=158)
                                     
Output:["_col0","_col4","_col11","_col13","_col15"]
-                                    Merge Join Operator [MERGEJOIN_186] 
(rows=58108714324214428 width=158)
+                                    Merge Join Operator [MERGEJOIN_271] 
(rows=58108714324214428 width=158)
                                       
Conds:(Inner),Output:["_col0","_col2","_col6","_col13","_col15"]
-                                    <-Reducer 29 [CUSTOM_SIMPLE_EDGE]
+                                    <-Reducer 33 [CUSTOM_SIMPLE_EDGE]
                                       PARTITION_ONLY_SHUFFLE [RS_112]
-                                        Merge Join Operator [MERGEJOIN_183] 
(rows=9131 width=1128)
+                                        Merge Join Operator [MERGEJOIN_268] 
(rows=9131 width=1128)
                                           Conds:(Right Outer),Output:["_col0"]
-                                        <-Reducer 28 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                          PARTITION_ONLY_SHUFFLE [RS_241]
-                                            Group By Operator [GBY_240] 
(rows=9131 width=1119)
+                                        <-Reducer 32 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                          PARTITION_ONLY_SHUFFLE [RS_340]
+                                            Group By Operator [GBY_339] 
(rows=9131 width=1119)
                                               Output:["_col0"],keys:KEY._col0
-                                            <-Map 25 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_229]
+                                            <-Map 29 [SIMPLE_EDGE] vectorized
+                                              SHUFFLE [RS_328]
                                                 PartitionCols:_col0
-                                                Group By Operator [GBY_226] 
(rows=18262 width=1119)
+                                                Group By Operator [GBY_325] 
(rows=18262 width=1119)
                                                   Output:["_col0"],keys:_col0
-                                                  Select Operator [SEL_223] 
(rows=18262 width=1119)
+                                                  Select Operator [SEL_322] 
(rows=18262 width=1119)
                                                     Output:["_col0"]
-                                                    Filter Operator [FIL_221] 
(rows=18262 width=1119)
+                                                    Filter Operator [FIL_320] 
(rows=18262 width=1119)
                                                       predicate:((d_moy = 3) 
and (d_year = 1999))
                                                       TableScan [TS_73] 
(rows=73049 width=1119)
                                                         
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_month_seq","d_year","d_moy"]
-                                        <-Reducer 31 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                          PARTITION_ONLY_SHUFFLE [RS_249]
-                                            Select Operator [SEL_248] (rows=1 
width=8)
-                                              Filter Operator [FIL_247] 
(rows=1 width=8)
+                                        <-Reducer 35 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                          PARTITION_ONLY_SHUFFLE [RS_348]
+                                            Select Operator [SEL_347] (rows=1 
width=8)
+                                              Filter Operator [FIL_346] 
(rows=1 width=8)
                                                 
predicate:(sq_count_check(_col0) <= 1)
-                                                Group By Operator [GBY_246] 
(rows=1 width=8)
+                                                Group By Operator [GBY_345] 
(rows=1 width=8)
                                                   
Output:["_col0"],aggregations:["count(VALUE._col0)"]
-                                                <-Reducer 30 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                  PARTITION_ONLY_SHUFFLE 
[RS_245]
-                                                    Group By Operator 
[GBY_244] (rows=1 width=8)
+                                                <-Reducer 34 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                  PARTITION_ONLY_SHUFFLE 
[RS_344]
+                                                    Group By Operator 
[GBY_343] (rows=1 width=8)
                                                       
Output:["_col0"],aggregations:["count()"]
-                                                      Select Operator 
[SEL_243] (rows=9131 width=1119)
-                                                        Group By Operator 
[GBY_242] (rows=9131 width=1119)
+                                                      Select Operator 
[SEL_342] (rows=9131 width=1119)
+                                                        Group By Operator 
[GBY_341] (rows=9131 width=1119)
                                                           
Output:["_col0"],keys:KEY._col0
-                                                        <-Map 25 [SIMPLE_EDGE] 
vectorized
-                                                          SHUFFLE [RS_230]
+                                                        <-Map 29 [SIMPLE_EDGE] 
vectorized
+                                                          SHUFFLE [RS_329]
                                                             PartitionCols:_col0
-                                                            Group By Operator 
[GBY_227] (rows=18262 width=1119)
+                                                            Group By Operator 
[GBY_326] (rows=18262 width=1119)
                                                               
Output:["_col0"],keys:_col0
-                                                              Select Operator 
[SEL_224] (rows=18262 width=1119)
+                                                              Select Operator 
[SEL_323] (rows=18262 width=1119)
                                                                 
Output:["_col0"]
-                                                                 Please refer 
to the previous Filter Operator [FIL_221]
+                                                                 Please refer 
to the previous Filter Operator [FIL_320]
                                     <-Reducer 5 [CUSTOM_SIMPLE_EDGE]
                                       PARTITION_ONLY_SHUFFLE [RS_113]
                                         Select Operator [SEL_108] 
(rows=6363893803988 width=1217)
                                           
Output:["_col0","_col4","_col11","_col13"]
-                                          Merge Join Operator [MERGEJOIN_185] 
(rows=6363893803988 width=1217)
+                                          Merge Join Operator [MERGEJOIN_270] 
(rows=6363893803988 width=1217)
                                             Conds:(Left 
Outer),Output:["_col2","_col4","_col10","_col13"]
-                                          <-Reducer 26 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                            PARTITION_ONLY_SHUFFLE [RS_233]
-                                              Group By Operator [GBY_231] 
(rows=9131 width=1119)
+                                          <-Reducer 30 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                            PARTITION_ONLY_SHUFFLE [RS_332]
+                                              Group By Operator [GBY_330] 
(rows=9131 width=1119)
                                                 Output:["_col0"],keys:KEY._col0
-                                              <-Map 25 [SIMPLE_EDGE] vectorized
-                                                SHUFFLE [RS_228]
+                                              <-Map 29 [SIMPLE_EDGE] vectorized
+                                                SHUFFLE [RS_327]
                                                   PartitionCols:_col0
-                                                  Group By Operator [GBY_225] 
(rows=18262 width=1119)
+                                                  Group By Operator [GBY_324] 
(rows=18262 width=1119)
                                                     Output:["_col0"],keys:_col0
-                                                    Select Operator [SEL_222] 
(rows=18262 width=1119)
+                                                    Select Operator [SEL_321] 
(rows=18262 width=1119)
                                                       Output:["_col0"]
-                                                       Please refer to the 
previous Filter Operator [FIL_221]
+                                                       Please refer to the 
previous Filter Operator [FIL_320]
                                           <-Reducer 4 [CUSTOM_SIMPLE_EDGE]
                                             PARTITION_ONLY_SHUFFLE [RS_105]
-                                              Merge Join Operator 
[MERGEJOIN_184] (rows=696954748 width=97)
+                                              Merge Join Operator 
[MERGEJOIN_269] (rows=696954748 width=97)
                                                 
Conds:(Inner),Output:["_col2","_col4","_col10"]
-                                              <-Reducer 27 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                PARTITION_ONLY_SHUFFLE [RS_239]
-                                                  Select Operator [SEL_238] 
(rows=1 width=8)
-                                                    Filter Operator [FIL_237] 
(rows=1 width=8)
-                                                      
predicate:(sq_count_check(_col0) <= 1)
-                                                      Group By Operator 
[GBY_236] (rows=1 width=8)
-                                                        
Output:["_col0"],aggregations:["count(VALUE._col0)"]
-                                                      <-Reducer 26 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                        PARTITION_ONLY_SHUFFLE 
[RS_235]
-                                                          Group By Operator 
[GBY_234] (rows=1 width=8)
-                                                            
Output:["_col0"],aggregations:["count()"]
-                                                            Select Operator 
[SEL_232] (rows=9131 width=1119)
-                                                               Please refer to 
the previous Group By Operator [GBY_231]
                                               <-Reducer 3 [CUSTOM_SIMPLE_EDGE]
                                                 PARTITION_ONLY_SHUFFLE [RS_102]
-                                                  Merge Join Operator 
[MERGEJOIN_182] (rows=696954748 width=88)
+                                                  Merge Join Operator 
[MERGEJOIN_267] (rows=696954748 width=88)
                                                     
Conds:RS_99._col1=RS_100._col5(Inner),Output:["_col2","_col4","_col10"]
-                                                  <-Reducer 13 [SIMPLE_EDGE]
+                                                  <-Reducer 14 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_100]
                                                       PartitionCols:_col5
-                                                      Merge Join Operator 
[MERGEJOIN_181] (rows=316240138 width=135)
-                                                        
Conds:RS_69._col0=RS_220._col1(Inner),Output:["_col5"]
-                                                      <-Reducer 12 
[SIMPLE_EDGE]
+                                                      Merge Join Operator 
[MERGEJOIN_266] (rows=316240138 width=135)
+                                                        
Conds:RS_69._col0=RS_319._col1(Inner),Output:["_col5"]
+                                                      <-Reducer 13 
[SIMPLE_EDGE]
                                                         SHUFFLE [RS_69]
                                                           PartitionCols:_col0
-                                                          Merge Join Operator 
[MERGEJOIN_177] (rows=44000000 width=1014)
-                                                            
Conds:RS_205._col1, _col2=RS_208._col0, _col1(Inner),Output:["_col0"]
-                                                          <-Map 11 
[SIMPLE_EDGE] vectorized
-                                                            SHUFFLE [RS_205]
+                                                          Merge Join Operator 
[MERGEJOIN_262] (rows=44000000 width=1014)
+                                                            
Conds:RS_295._col1, _col2=RS_298._col0, _col1(Inner),Output:["_col0"]
+                                                          <-Map 12 
[SIMPLE_EDGE] vectorized
+                                                            SHUFFLE [RS_295]
                                                               
PartitionCols:_col1, _col2
-                                                              Select Operator 
[SEL_204] (rows=40000000 width=1014)
+                                                              Select Operator 
[SEL_294] (rows=40000000 width=1014)
                                                                 
Output:["_col0","_col1","_col2"]
-                                                                Filter 
Operator [FIL_203] (rows=40000000 width=1014)
+                                                                Filter 
Operator [FIL_293] (rows=40000000 width=1014)
                                                                   
predicate:(ca_address_sk is not null and ca_county is not null and ca_state is 
not null)
                                                                   TableScan 
[TS_29] (rows=40000000 width=1014)
                                                                     
default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_county","ca_state"]
-                                                          <-Map 14 
[SIMPLE_EDGE] vectorized
-                                                            SHUFFLE [RS_208]
+                                                          <-Map 15 
[SIMPLE_EDGE] vectorized
+                                                            SHUFFLE [RS_298]
                                                               
PartitionCols:_col0, _col1
-                                                              Select Operator 
[SEL_207] (rows=1704 width=1910)
+                                                              Select Operator 
[SEL_297] (rows=1704 width=1910)
                                                                 
Output:["_col0","_col1"]
-                                                                Filter 
Operator [FIL_206] (rows=1704 width=1910)
+                                                                Filter 
Operator [FIL_296] (rows=1704 width=1910)
                                                                   
predicate:(s_county is not null and s_state is not null)
                                                                   TableScan 
[TS_32] (rows=1704 width=1910)
                                                                     
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_county","s_state"]
-                                                      <-Reducer 20 
[SIMPLE_EDGE] vectorized
-                                                        SHUFFLE [RS_220]
+                                                      <-Reducer 21 
[SIMPLE_EDGE] vectorized
+                                                        SHUFFLE [RS_319]
                                                           PartitionCols:_col1
-                                                          Select Operator 
[SEL_219] (rows=287491029 width=135)
+                                                          Select Operator 
[SEL_318] (rows=287491029 width=135)
                                                             
Output:["_col0","_col1"]
-                                                            Group By Operator 
[GBY_218] (rows=287491029 width=135)
+                                                            Group By Operator 
[GBY_317] (rows=287491029 width=135)
                                                               
Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
-                                                            <-Reducer 19 
[SIMPLE_EDGE]
+                                                            <-Reducer 20 
[SIMPLE_EDGE]
                                                               SHUFFLE [RS_63]
                                                                 
PartitionCols:_col0, _col1
                                                                 Group By 
Operator [GBY_62] (rows=574982058 width=135)
                                                                   
Output:["_col0","_col1"],keys:_col10, _col9
-                                                                  Merge Join 
Operator [MERGEJOIN_180] (rows=574982058 width=135)
-                                                                    
Conds:RS_58._col1=RS_217._col0(Inner),Output:["_col9","_col10"]
-                                                                  <-Map 24 
[SIMPLE_EDGE] vectorized
-                                                                    SHUFFLE 
[RS_217]
+                                                                  Merge Join 
Operator [MERGEJOIN_265] (rows=574982058 width=135)
+                                                                    
Conds:RS_58._col1=RS_313._col0(Inner),Output:["_col9","_col10"]
+                                                                  <-Map 27 
[SIMPLE_EDGE] vectorized
+                                                                    
PARTITION_ONLY_SHUFFLE [RS_313]
                                                                       
PartitionCols:_col0
-                                                                      Select 
Operator [SEL_216] (rows=80000000 width=860)
+                                                                      Select 
Operator [SEL_312] (rows=80000000 width=860)
                                                                         
Output:["_col0","_col1"]
-                                                                        Filter 
Operator [FIL_215] (rows=80000000 width=860)
+                                                                        Filter 
Operator [FIL_311] (rows=80000000 width=860)
                                                                           
predicate:(c_current_addr_sk is not null and c_customer_sk is not null)
                                                                           
TableScan [TS_49] (rows=80000000 width=860)
                                                                             
default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_current_addr_sk"]
-                                                                  <-Reducer 18 
[SIMPLE_EDGE]
+                                                                  <-Reducer 19 
[SIMPLE_EDGE]
                                                                     SHUFFLE 
[RS_58]
                                                                       
PartitionCols:_col1
-                                                                      Merge 
Join Operator [MERGEJOIN_179] (rows=522710951 width=135)
-                                                                        
Conds:RS_55._col2=RS_214._col0(Inner),Output:["_col1"]
-                                                                      <-Map 23 
[SIMPLE_EDGE] vectorized
-                                                                        
SHUFFLE [RS_214]
+                                                                      Merge 
Join Operator [MERGEJOIN_264] (rows=522710951 width=135)
+                                                                        
Conds:RS_55._col2=RS_307._col0(Inner),Output:["_col1"]
+                                                                      <-Map 25 
[SIMPLE_EDGE] vectorized
+                                                                        
PARTITION_ONLY_SHUFFLE [RS_307]
                                                                           
PartitionCols:_col0
-                                                                          
Select Operator [SEL_213] (rows=115500 width=1436)
+                                                                          
Select Operator [SEL_306] (rows=115500 width=1436)
                                                                             
Output:["_col0"]
-                                                                            
Filter Operator [FIL_212] (rows=115500 width=1436)
+                                                                            
Filter Operator [FIL_305] (rows=115500 width=1436)
                                                                               
predicate:((i_category = 'Jewelry') and (i_class = 'consignment') and i_item_sk 
is not null)
                                                                               
TableScan [TS_46] (rows=462000 width=1436)
                                                                                
 
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_class","i_category"]
-                                                                      
<-Reducer 17 [SIMPLE_EDGE]
+                                                                      
<-Reducer 18 [SIMPLE_EDGE]
                                                                         
SHUFFLE [RS_55]
                                                                           
PartitionCols:_col2
-                                                                          
Merge Join Operator [MERGEJOIN_178] (rows=475191764 width=135)
-                                                                            
Conds:Union 16._col0=RS_211._col0(Inner),Output:["_col1","_col2"]
-                                                                          
<-Map 22 [SIMPLE_EDGE] vectorized
-                                                                            
SHUFFLE [RS_211]
+                                                                          
Merge Join Operator [MERGEJOIN_263] (rows=475191764 width=135)
+                                                                            
Conds:Union 17._col0=RS_301._col0(Inner),Output:["_col1","_col2"]
+                                                                          
<-Map 23 [SIMPLE_EDGE] vectorized
+                                                                            
PARTITION_ONLY_SHUFFLE [RS_301]
                                                                               
PartitionCols:_col0
-                                                                              
Select Operator [SEL_210] (rows=18262 width=1119)
+                                                                              
Select Operator [SEL_300] (rows=18262 width=1119)
                                                                                
 Output:["_col0"]
-                                                                               
 Filter Operator [FIL_209] (rows=18262 width=1119)
+                                                                               
 Filter Operator [FIL_299] (rows=18262 width=1119)
                                                                                
   predicate:((d_moy = 3) and (d_year = 1999) and d_date_sk is not null)
                                                                                
   TableScan [TS_43] (rows=73049 width=1119)
                                                                                
     
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
-                                                                          
<-Union 16 [SIMPLE_EDGE]
-                                                                            
<-Map 15 [CONTAINS] vectorized
-                                                                              
Reduce Output Operator [RS_262]
+                                                                          
<-Union 17 [SIMPLE_EDGE]
+                                                                            
<-Map 16 [CONTAINS] vectorized
+                                                                              
Reduce Output Operator [RS_369]
                                                                                
 PartitionCols:_col0
-                                                                               
 Select Operator [SEL_261] (rows=287989836 width=135)
+                                                                               
 Select Operator [SEL_368] (rows=287989836 width=135)
                                                                                
   Output:["_col0","_col1","_col2"]
-                                                                               
   Filter Operator [FIL_260] (rows=287989836 width=135)
-                                                                               
     predicate:(cs_bill_customer_sk is not null and cs_item_sk is not null and 
cs_sold_date_sk is not null)
-                                                                               
     TableScan [TS_187] (rows=287989836 width=135)
+                                                                               
   Filter Operator [FIL_367] (rows=287989836 width=135)
+                                                                               
     predicate:((cs_bill_customer_sk BETWEEN 
DynamicValue(RS_59_customer_c_customer_sk_min) AND 
DynamicValue(RS_59_customer_c_customer_sk_max) and 
in_bloom_filter(cs_bill_customer_sk, 
DynamicValue(RS_59_customer_c_customer_sk_bloom_filter))) and (cs_item_sk 
BETWEEN DynamicValue(RS_56_item_i_item_sk_min) AND 
DynamicValue(RS_56_item_i_item_sk_max) and in_bloom_filter(cs_item_sk, 
DynamicValue(RS_56_item_i_item_sk_bloom_filter))) and (cs_sold_date_sk BETWEEN 
DynamicValue(RS_53_date_dim_d_date_sk_min) AND 
DynamicValue(RS_53_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, 
DynamicValue(RS_53_date_dim_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_272] (rows=287989836 width=135)
                                                                                
       Output:["cs_sold_date_sk","cs_bill_customer_sk","cs_item_sk"]
-                                                                            
<-Map 21 [CONTAINS] vectorized
-                                                                              
Reduce Output Operator [RS_265]
+                                                                               
     <-Reducer 24 [BROADCAST_EDGE] vectorized
+                                                                               
       BROADCAST [RS_360]
+                                                                               
         Group By Operator [GBY_359] (rows=1 width=12)
+                                                                               
           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                                               
         <-Map 23 [CUSTOM_SIMPLE_EDGE] vectorized
+                                                                               
           PARTITION_ONLY_SHUFFLE [RS_304]
+                                                                               
             Group By Operator [GBY_303] (rows=1 width=12)
+                                                                               
               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                                               
               Select Operator [SEL_302] (rows=18262 width=1119)
+                                                                               
                 Output:["_col0"]
+                                                                               
                  Please refer to the previous Select Operator [SEL_300]
+                                                                               
     <-Reducer 26 [BROADCAST_EDGE] vectorized
+                                                                               
       BROADCAST [RS_363]
+                                                                               
         Group By Operator [GBY_362] (rows=1 width=12)
+                                                                               
           
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                                               
         <-Map 25 [CUSTOM_SIMPLE_EDGE] vectorized
+                                                                               
           PARTITION_ONLY_SHUFFLE [RS_310]
+                                                                               
             Group By Operator [GBY_309] (rows=1 width=12)
+                                                                               
               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                                               
               Select Operator [SEL_308] (rows=115500 width=1436)
+                                                                               
                 Output:["_col0"]
+                                                                               
                  Please refer to the previous Select Operator [SEL_306]
+                                                                               
     <-Reducer 28 [BROADCAST_EDGE] vectorized
+                                                                               
       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=80000000)"]
+                                                                               
         <-Map 27 [CUSTOM_SIMPLE_EDGE] vectorized
+                                                                               
           PARTITION_ONLY_SHUFFLE [RS_316]
+                                                                               
             Group By Operator [GBY_315] (rows=1 width=12)
+                                                                               
               
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=80000000)"]
+                                                                               
               Select Operator [SEL_314] (rows=80000000 width=860)
+                                                                               
                 Output:["_col0"]
+                                                                               
                  Please refer to the previous Select Operator [SEL_312]
+                                                                            
<-Map 22 [CONTAINS] vectorized
+                                                                              
Reduce Output Operator [RS_372]
                                                                                
 PartitionCols:_col0
-                                                                               
 Select Operator [SEL_264] (rows=144002668 width=135)
+                                                                               
 Select Operator [SEL_371] (rows=144002668 width=135)
                                                                                
   Output:["_col0","_col1","_col2"]
-                                                                               
   Filter Operator [FIL_263] (rows=144002668 width=135)
-                                                                               
     predicate:(ws_bill_customer_sk is not null and ws_item_sk is not null and 
ws_sold_date_sk is not null)
-                                                                               
     TableScan [TS_192] (rows=144002668 width=135)
+                                                                               
   Filter Operator [FIL_370] (rows=144002668 width=135)
+                                                                               
     predicate:((ws_item_sk BETWEEN DynamicValue(RS_56_item_i_item_sk_min) AND 
DynamicValue(RS_56_item_i_item_sk_max) and in_bloom_filter(ws_item_sk, 
DynamicValue(RS_56_item_i_item_sk_bloom_filter))) and (ws_sold_date_sk BETWEEN 
DynamicValue(RS_53_date_dim_d_date_sk_min) AND 
DynamicValue(RS_53_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, 
DynamicValue(RS_53_date_dim_d_date_sk_bloom_filter))) and ws_bill_customer_sk 
is not null and ws_item_sk is not null and ws_sold_date_sk is not null)
+                                                                               
     TableScan [TS_277] (rows=144002668 width=135)
                                                                                
       Output:["ws_sold_date_sk","ws_item_sk","ws_bill_customer_sk"]
+                                                                               
     <-Reducer 24 [BROADCAST_EDGE] vectorized
+                                                                               
       BROADCAST [RS_361]
+                                                                               
          Please refer to the previous Group By Operator [GBY_359]
+                                                                               
     <-Reducer 26 [BROADCAST_EDGE] vectorized
+                                                                               
       BROADCAST [RS_364]
+                                                                               
          Please refer to the previous Group By Operator [GBY_362]
                                                   <-Reducer 2 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_99]
                                                       PartitionCols:_col1
-                                                      Merge Join Operator 
[MERGEJOIN_176] (rows=633595212 width=88)
-                                                        
Conds:RS_199._col0=RS_202._col0(Inner),Output:["_col1","_col2","_col4"]
-                                                      <-Map 1 [SIMPLE_EDGE] 
vectorized
-                                                        SHUFFLE [RS_199]
-                                                          PartitionCols:_col0
-                                                          Select Operator 
[SEL_198] (rows=575995635 width=88)
-                                                            
Output:["_col0","_col1","_col2"]
-                                                            Filter Operator 
[FIL_197] (rows=575995635 width=88)
-                                                              
predicate:(ss_customer_sk is not null and ss_sold_date_sk is not null)
-                                                              TableScan 
[TS_23] (rows=575995635 width=88)
-                                                                
default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_ext_sales_price"]
+                                                      Merge Join Operator 
[MERGEJOIN_261] (rows=633595212 width=88)
+                                                        
Conds:RS_292._col0=RS_284._col0(Inner),Output:["_col1","_col2","_col4"]
                                                       <-Map 10 [SIMPLE_EDGE] 
vectorized
-                                                        SHUFFLE [RS_202]
+                                                        SHUFFLE [RS_284]
                                                           PartitionCols:_col0
-                                                          Select Operator 
[SEL_201] (rows=73049 width=1119)
+                                                          Select Operator 
[SEL_283] (rows=73049 width=1119)
                                                             
Output:["_col0","_col1"]
-                                                            Filter Operator 
[FIL_200] (rows=73049 width=1119)
+                                                            Filter Operator 
[FIL_282] (rows=73049 width=1119)
                                                               
predicate:d_date_sk is not null
                                                               TableScan 
[TS_26] (rows=73049 width=1119)
                                                                 
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
+                                                      <-Map 1 [SIMPLE_EDGE] 
vectorized
+                                                        SHUFFLE [RS_292]
+                                                          PartitionCols:_col0
+                                                          Select Operator 
[SEL_291] (rows=575995635 width=88)
+                                                            
Output:["_col0","_col1","_col2"]
+                                                            Filter Operator 
[FIL_290] (rows=575995635 width=88)
+                                                              
predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_97_date_dim_d_date_sk_min) 
AND DynamicValue(RS_97_date_dim_d_date_sk_max) and 
in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_97_date_dim_d_date_sk_bloom_filter))) and ss_customer_sk is not 
null and ss_sold_date_sk is not null)
+                                                              TableScan 
[TS_23] (rows=575995635 width=88)
+                                                                
default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_ext_sales_price"]
+                                                              <-Reducer 11 
[BROADCAST_EDGE] vectorized
+                                                                BROADCAST 
[RS_289]
+                                                                  Group By 
Operator [GBY_288] (rows=1 width=12)
+                                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                                  <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                                    SHUFFLE 
[RS_287]
+                                                                      Group By 
Operator [GBY_286] (rows=1 width=12)
+                                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                                        Select 
Operator [SEL_285] (rows=73049 width=1119)
+                                                                          
Output:["_col0"]
+                                                                           
Please refer to the previous Select Operator [SEL_283]
+                                              <-Reducer 31 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                PARTITION_ONLY_SHUFFLE [RS_338]
+                                                  Select Operator [SEL_337] 
(rows=1 width=8)
+                                                    Filter Operator [FIL_336] 
(rows=1 width=8)
+                                                      
predicate:(sq_count_check(_col0) <= 1)
+                                                      Group By Operator 
[GBY_335] (rows=1 width=8)
+                                                        
Output:["_col0"],aggregations:["count(VALUE._col0)"]
+                                                      <-Reducer 30 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                        PARTITION_ONLY_SHUFFLE 
[RS_334]
+                                                          Group By Operator 
[GBY_333] (rows=1 width=8)
+                                                            
Output:["_col0"],aggregations:["count()"]
+                                                            Select Operator 
[SEL_331] (rows=9131 width=1119)
+                                                               Please refer to 
the previous Group By Operator [GBY_330]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/f2c4f319/ql/src/test/results/clientpositive/perf/tez/query55.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query55.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query55.q.out
index 2f27227..8693539 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query55.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query55.q.out
@@ -27,64 +27,89 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
+Map 1 <- Reducer 7 (BROADCAST_EDGE), Reducer 9 (BROADCAST_EDGE)
 Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
-Reducer 3 <- Map 7 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 3 <- Map 8 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
 Reducer 4 <- Reducer 3 (SIMPLE_EDGE)
 Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
+Reducer 7 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 9 <- Map 8 (CUSTOM_SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:-1
     Stage-1
       Reducer 5 vectorized
-      File Output Operator [FS_49]
-        Limit [LIM_48] (rows=100 width=88)
+      File Output Operator [FS_79]
+        Limit [LIM_78] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_47] (rows=348477374 width=88)
+          Select Operator [SEL_77] (rows=348477374 width=88)
             Output:["_col0","_col1","_col2"]
           <-Reducer 4 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_46]
-              Select Operator [SEL_45] (rows=348477374 width=88)
+            SHUFFLE [RS_76]
+              Select Operator [SEL_75] (rows=348477374 width=88)
                 Output:["_col1","_col2","_col3"]
-                Group By Operator [GBY_44] (rows=348477374 width=88)
+                Group By Operator [GBY_74] (rows=348477374 width=88)
                   
Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1
                 <-Reducer 3 [SIMPLE_EDGE]
                   SHUFFLE [RS_17]
                     PartitionCols:_col0, _col1
                     Group By Operator [GBY_16] (rows=696954748 width=88)
                       
Output:["_col0","_col1","_col2"],aggregations:["sum(_col2)"],keys:_col7, _col8
-                      Merge Join Operator [MERGEJOIN_34] (rows=696954748 
width=88)
-                        
Conds:RS_12._col1=RS_43._col0(Inner),Output:["_col2","_col7","_col8"]
-                      <-Map 7 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_43]
+                      Merge Join Operator [MERGEJOIN_54] (rows=696954748 
width=88)
+                        
Conds:RS_12._col1=RS_65._col0(Inner),Output:["_col2","_col7","_col8"]
+                      <-Map 8 [SIMPLE_EDGE] vectorized
+                        PARTITION_ONLY_SHUFFLE [RS_65]
                           PartitionCols:_col0
-                          Select Operator [SEL_42] (rows=231000 width=1436)
+                          Select Operator [SEL_64] (rows=231000 width=1436)
                             Output:["_col0","_col1","_col2"]
-                            Filter Operator [FIL_41] (rows=231000 width=1436)
+                            Filter Operator [FIL_63] (rows=231000 width=1436)
                               predicate:((i_manager_id = 36) and i_item_sk is 
not null)
                               TableScan [TS_6] (rows=462000 width=1436)
                                 
default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_brand","i_manager_id"]
                       <-Reducer 2 [SIMPLE_EDGE]
                         SHUFFLE [RS_12]
                           PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_33] (rows=633595212 
width=88)
-                            
Conds:RS_37._col0=RS_40._col0(Inner),Output:["_col1","_col2"]
-                          <-Map 1 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_37]
-                              PartitionCols:_col0
-                              Select Operator [SEL_36] (rows=575995635 
width=88)
-                                Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_35] (rows=575995635 
width=88)
-                                  predicate:(ss_item_sk is not null and 
ss_sold_date_sk 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_ext_sales_price"]
+                          Merge Join Operator [MERGEJOIN_53] (rows=633595212 
width=88)
+                            
Conds:RS_73._col0=RS_57._col0(Inner),Output:["_col1","_col2"]
                           <-Map 6 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_40]
+                            PARTITION_ONLY_SHUFFLE [RS_57]
                               PartitionCols:_col0
-                              Select Operator [SEL_39] (rows=18262 width=1119)
+                              Select Operator [SEL_56] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_38] (rows=18262 
width=1119)
+                                Filter Operator [FIL_55] (rows=18262 
width=1119)
                                   predicate:((d_moy = 12) and (d_year = 2001) 
and d_date_sk is not null)
                                   TableScan [TS_3] (rows=73049 width=1119)
                                     
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                          <-Map 1 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_73]
+                              PartitionCols:_col0
+                              Select Operator [SEL_72] (rows=575995635 
width=88)
+                                Output:["_col0","_col1","_col2"]
+                                Filter Operator [FIL_71] (rows=575995635 
width=88)
+                                  predicate:((ss_item_sk BETWEEN 
DynamicValue(RS_13_item_i_item_sk_min) AND 
DynamicValue(RS_13_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, 
DynamicValue(RS_13_item_i_item_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN 
DynamicValue(RS_10_date_dim_d_date_sk_min) AND 
DynamicValue(RS_10_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_10_date_dim_d_date_sk_bloom_filter))) and ss_item_sk is not 
null and ss_sold_date_sk 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_ext_sales_price"]
+                                  <-Reducer 7 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_62]
+                                      Group By Operator [GBY_61] (rows=1 
width=12)
+                                        
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                      <-Map 6 [CUSTOM_SIMPLE_EDGE] vectorized
+                                        PARTITION_ONLY_SHUFFLE [RS_60]
+                                          Group By Operator [GBY_59] (rows=1 
width=12)
+                                            
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                            Select Operator [SEL_58] 
(rows=18262 width=1119)
+                                              Output:["_col0"]
+                                               Please refer to the previous 
Select Operator [SEL_56]
+                                  <-Reducer 9 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_70]
+                                      Group By Operator [GBY_69] (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_68]
+                                          Group By Operator [GBY_67] (rows=1 
width=12)
+                                            
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                            Select Operator [SEL_66] 
(rows=231000 width=1436)
+                                              Output:["_col0"]
+                                               Please refer to the previous 
Select Operator [SEL_64]
 

Reply via email to