You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/06/25 16:04:14 UTC

[11/51] [partial] hive git commit: HIVE-12342 : Set default value of hive.optimize.index.filter to true (Igor Kryvenko via Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/f2c4f319/ql/src/test/results/clientpositive/perf/tez/query31.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query31.q.out b/ql/src/test/results/clientpositive/perf/tez/query31.q.out
index 789c68a..c4d717d 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query31.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query31.q.out
@@ -103,26 +103,44 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 10 <- Map 23 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE)
-Reducer 11 <- Reducer 10 (SIMPLE_EDGE)
-Reducer 13 <- Map 12 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE)
-Reducer 14 <- Map 23 (SIMPLE_EDGE), Reducer 13 (SIMPLE_EDGE)
-Reducer 15 <- Reducer 14 (SIMPLE_EDGE)
-Reducer 16 <- Reducer 15 (ONE_TO_ONE_EDGE), Reducer 19 (ONE_TO_ONE_EDGE), Reducer 22 (ONE_TO_ONE_EDGE)
-Reducer 17 <- Map 12 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE)
-Reducer 18 <- Map 23 (SIMPLE_EDGE), Reducer 17 (SIMPLE_EDGE)
-Reducer 19 <- Reducer 18 (SIMPLE_EDGE)
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE)
-Reducer 20 <- Map 12 (SIMPLE_EDGE), Map 24 (SIMPLE_EDGE)
-Reducer 21 <- Map 23 (SIMPLE_EDGE), Reducer 20 (SIMPLE_EDGE)
-Reducer 22 <- Reducer 21 (SIMPLE_EDGE)
-Reducer 3 <- Map 23 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Map 1 <- Reducer 30 (BROADCAST_EDGE), Reducer 7 (BROADCAST_EDGE)
+Map 36 <- Reducer 11 (BROADCAST_EDGE), Reducer 31 (BROADCAST_EDGE)
+Map 37 <- Reducer 15 (BROADCAST_EDGE), Reducer 32 (BROADCAST_EDGE)
+Map 38 <- Reducer 20 (BROADCAST_EDGE), Reducer 33 (BROADCAST_EDGE)
+Map 39 <- Reducer 24 (BROADCAST_EDGE), Reducer 34 (BROADCAST_EDGE)
+Map 40 <- Reducer 28 (BROADCAST_EDGE), Reducer 35 (BROADCAST_EDGE)
+Reducer 10 <- Reducer 9 (SIMPLE_EDGE)
+Reducer 11 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 12 <- Map 37 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 13 <- Map 29 (SIMPLE_EDGE), Reducer 12 (SIMPLE_EDGE)
+Reducer 14 <- Reducer 13 (SIMPLE_EDGE)
+Reducer 15 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 16 <- Map 38 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 17 <- Map 29 (SIMPLE_EDGE), Reducer 16 (SIMPLE_EDGE)
+Reducer 18 <- Reducer 17 (SIMPLE_EDGE)
+Reducer 19 <- Reducer 18 (ONE_TO_ONE_EDGE), Reducer 23 (ONE_TO_ONE_EDGE), Reducer 27 (ONE_TO_ONE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 20 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 21 <- Map 39 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 22 <- Map 29 (SIMPLE_EDGE), Reducer 21 (SIMPLE_EDGE)
+Reducer 23 <- Reducer 22 (SIMPLE_EDGE)
+Reducer 24 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 25 <- Map 40 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 26 <- Map 29 (SIMPLE_EDGE), Reducer 25 (SIMPLE_EDGE)
+Reducer 27 <- Reducer 26 (SIMPLE_EDGE)
+Reducer 28 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 3 <- Map 29 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 30 <- Map 29 (CUSTOM_SIMPLE_EDGE)
+Reducer 31 <- Map 29 (CUSTOM_SIMPLE_EDGE)
+Reducer 32 <- Map 29 (CUSTOM_SIMPLE_EDGE)
+Reducer 33 <- Map 29 (CUSTOM_SIMPLE_EDGE)
+Reducer 34 <- Map 29 (CUSTOM_SIMPLE_EDGE)
+Reducer 35 <- Map 29 (CUSTOM_SIMPLE_EDGE)
 Reducer 4 <- Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Reducer 11 (ONE_TO_ONE_EDGE), Reducer 16 (ONE_TO_ONE_EDGE), Reducer 4 (ONE_TO_ONE_EDGE), Reducer 8 (ONE_TO_ONE_EDGE)
-Reducer 6 <- Map 1 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE)
-Reducer 7 <- Map 23 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
-Reducer 8 <- Reducer 7 (SIMPLE_EDGE)
-Reducer 9 <- Map 1 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE)
+Reducer 5 <- Reducer 10 (ONE_TO_ONE_EDGE), Reducer 14 (ONE_TO_ONE_EDGE), Reducer 19 (ONE_TO_ONE_EDGE), Reducer 4 (ONE_TO_ONE_EDGE)
+Reducer 7 <- Map 6 (CUSTOM_SIMPLE_EDGE)
+Reducer 8 <- Map 36 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE)
+Reducer 9 <- Map 29 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
@@ -134,225 +152,377 @@ Stage-0
           Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
           Filter Operator [FIL_130] (rows=287493839 width=88)
             predicate:(CASE WHEN ((_col1 > 0)) THEN (CASE WHEN ((_col9 > 0)) THEN (((_col11 / _col9) > (_col5 / _col1))) ELSE ((null > (_col5 / _col1))) END) ELSE (CASE WHEN ((_col9 > 0)) THEN (((_col11 / _col9) > null)) ELSE (null) END) END and CASE WHEN ((_col3 > 0)) THEN (CASE WHEN ((_col7 > 0)) THEN (((_col9 / _col7) > (_col1 / _col3))) ELSE ((null > (_col1 / _col3))) END) ELSE (CASE WHEN ((_col7 > 0)) THEN (((_col9 / _col7) > null)) ELSE (null) END) END)
-            Merge Join Operator [MERGEJOIN_267] (rows=1149975359 width=88)
-              Conds:RS_300._col0=RS_302._col0(Inner),RS_300._col0=RS_304._col0(Inner),RS_300._col0=RS_128._col0(Inner),Output:["_col0","_col1","_col3","_col5","_col7","_col9","_col11"]
-            <-Reducer 11 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_304]
+            Merge Join Operator [MERGEJOIN_439] (rows=1149975359 width=88)
+              Conds:RS_510._col0=RS_519._col0(Inner),RS_510._col0=RS_528._col0(Inner),RS_510._col0=RS_128._col0(Inner),Output:["_col0","_col1","_col3","_col5","_col7","_col9","_col11"]
+            <-Reducer 10 [ONE_TO_ONE_EDGE] vectorized
+              FORWARD [RS_519]
                 PartitionCols:_col0
-                Group By Operator [GBY_303] (rows=348477374 width=88)
+                Group By Operator [GBY_518] (rows=348477374 width=88)
                   Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                <-Reducer 10 [SIMPLE_EDGE]
-                  SHUFFLE [RS_57]
+                <-Reducer 9 [SIMPLE_EDGE]
+                  SHUFFLE [RS_37]
                     PartitionCols:_col0
-                    Group By Operator [GBY_56] (rows=696954748 width=88)
+                    Group By Operator [GBY_36] (rows=696954748 width=88)
                       Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                      Merge Join Operator [MERGEJOIN_259] (rows=696954748 width=88)
-                        Conds:RS_52._col1=RS_295._col0(Inner),Output:["_col2","_col7"]
-                      <-Map 23 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_295]
+                      Merge Join Operator [MERGEJOIN_429] (rows=696954748 width=88)
+                        Conds:RS_32._col1=RS_482._col0(Inner),Output:["_col2","_col7"]
+                      <-Map 29 [SIMPLE_EDGE] vectorized
+                        SHUFFLE [RS_482]
                           PartitionCols:_col0
-                          Select Operator [SEL_292] (rows=40000000 width=1014)
+                          Select Operator [SEL_479] (rows=40000000 width=1014)
                             Output:["_col0","_col1"]
-                            Filter Operator [FIL_291] (rows=40000000 width=1014)
+                            Filter Operator [FIL_478] (rows=40000000 width=1014)
                               predicate:(ca_address_sk is not null and ca_county is not null)
                               TableScan [TS_6] (rows=40000000 width=1014)
                                 default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_county"]
-                      <-Reducer 9 [SIMPLE_EDGE]
-                        SHUFFLE [RS_52]
+                      <-Reducer 8 [SIMPLE_EDGE]
+                        SHUFFLE [RS_32]
                           PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_258] (rows=633595212 width=88)
-                            Conds:RS_272._col0=RS_287._col0(Inner),Output:["_col1","_col2"]
-                          <-Map 12 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_287]
+                          Merge Join Operator [MERGEJOIN_428] (rows=633595212 width=88)
+                            Conds:RS_517._col0=RS_454._col0(Inner),Output:["_col1","_col2"]
+                          <-Map 6 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_454]
                               PartitionCols:_col0
-                              Select Operator [SEL_281] (rows=18262 width=1119)
+                              Select Operator [SEL_447] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_275] (rows=18262 width=1119)
-                                  predicate:((d_qoy = 3) and (d_year = 2000) and d_date_sk is not null)
+                                Filter Operator [FIL_441] (rows=18262 width=1119)
+                                  predicate:((d_qoy = 1) and (d_year = 2000) and d_date_sk is not null)
                                   TableScan [TS_3] (rows=73049 width=1119)
                                     default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_qoy"]
-                          <-Map 1 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_272]
+                          <-Map 36 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_517]
                               PartitionCols:_col0
-                              Select Operator [SEL_269] (rows=575995635 width=88)
+                              Select Operator [SEL_516] (rows=575995635 width=88)
                                 Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_268] (rows=575995635 width=88)
-                                  predicate:(ss_addr_sk is not null and ss_sold_date_sk is not null)
-                                  TableScan [TS_0] (rows=575995635 width=88)
+                                Filter Operator [FIL_515] (rows=575995635 width=88)
+                                  predicate:((ss_addr_sk BETWEEN DynamicValue(RS_33_customer_address_ca_address_sk_min) AND DynamicValue(RS_33_customer_address_ca_address_sk_max) and in_bloom_filter(ss_addr_sk, DynamicValue(RS_33_customer_address_ca_address_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN DynamicValue(RS_30_date_dim_d_date_sk_min) AND DynamicValue(RS_30_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_30_date_dim_d_date_sk_bloom_filter))) and ss_addr_sk is not null and ss_sold_date_sk is not null)
+                                  TableScan [TS_20] (rows=575995635 width=88)
+                                    default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_addr_sk","ss_ext_sales_price"]
+                                  <-Reducer 11 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_512]
+                                      Group By Operator [GBY_511] (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
+                                        SHUFFLE [RS_471]
+                                          Group By Operator [GBY_465] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                            Select Operator [SEL_455] (rows=18262 width=1119)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_447]
+                                  <-Reducer 31 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_514]
+                                      Group By Operator [GBY_513] (rows=1 width=12)
+                                        Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                      <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_499]
+                                          Group By Operator [GBY_493] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                            Select Operator [SEL_483] (rows=40000000 width=1014)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_479]
+            <-Reducer 14 [ONE_TO_ONE_EDGE] vectorized
+              FORWARD [RS_528]
+                PartitionCols:_col0
+                Group By Operator [GBY_527] (rows=348477374 width=88)
+                  Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
+                <-Reducer 13 [SIMPLE_EDGE]
+                  SHUFFLE [RS_57]
+                    PartitionCols:_col0
+                    Group By Operator [GBY_56] (rows=696954748 width=88)
+                      Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
+                      Merge Join Operator [MERGEJOIN_431] (rows=696954748 width=88)
+                        Conds:RS_52._col1=RS_484._col0(Inner),Output:["_col2","_col7"]
+                      <-Map 29 [SIMPLE_EDGE] vectorized
+                        SHUFFLE [RS_484]
+                          PartitionCols:_col0
+                           Please refer to the previous Select Operator [SEL_479]
+                      <-Reducer 12 [SIMPLE_EDGE]
+                        SHUFFLE [RS_52]
+                          PartitionCols:_col1
+                          Merge Join Operator [MERGEJOIN_430] (rows=633595212 width=88)
+                            Conds:RS_526._col0=RS_456._col0(Inner),Output:["_col1","_col2"]
+                          <-Map 6 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_456]
+                              PartitionCols:_col0
+                              Select Operator [SEL_448] (rows=18262 width=1119)
+                                Output:["_col0"]
+                                Filter Operator [FIL_442] (rows=18262 width=1119)
+                                  predicate:((d_qoy = 3) and (d_year = 2000) and d_date_sk is not null)
+                                   Please refer to the previous TableScan [TS_3]
+                          <-Map 37 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_526]
+                              PartitionCols:_col0
+                              Select Operator [SEL_525] (rows=575995635 width=88)
+                                Output:["_col0","_col1","_col2"]
+                                Filter Operator [FIL_524] (rows=575995635 width=88)
+                                  predicate:((ss_addr_sk BETWEEN DynamicValue(RS_53_customer_address_ca_address_sk_min) AND DynamicValue(RS_53_customer_address_ca_address_sk_max) and in_bloom_filter(ss_addr_sk, DynamicValue(RS_53_customer_address_ca_address_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN DynamicValue(RS_50_date_dim_d_date_sk_min) AND DynamicValue(RS_50_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_50_date_dim_d_date_sk_bloom_filter))) and ss_addr_sk is not null and ss_sold_date_sk is not null)
+                                  TableScan [TS_40] (rows=575995635 width=88)
                                     default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_addr_sk","ss_ext_sales_price"]
-            <-Reducer 16 [ONE_TO_ONE_EDGE]
+                                  <-Reducer 15 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_521]
+                                      Group By Operator [GBY_520] (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
+                                        SHUFFLE [RS_472]
+                                          Group By Operator [GBY_466] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                            Select Operator [SEL_457] (rows=18262 width=1119)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_448]
+                                  <-Reducer 32 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_523]
+                                      Group By Operator [GBY_522] (rows=1 width=12)
+                                        Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                      <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_500]
+                                          Group By Operator [GBY_494] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                            Select Operator [SEL_485] (rows=40000000 width=1014)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_479]
+            <-Reducer 19 [ONE_TO_ONE_EDGE]
               FORWARD [RS_128]
                 PartitionCols:_col0
-                Merge Join Operator [MERGEJOIN_266] (rows=191667561 width=135)
-                  Conds:RS_311._col0=RS_313._col0(Inner),RS_311._col0=RS_315._col0(Inner),Output:["_col0","_col1","_col3","_col5"]
-                <-Reducer 15 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_311]
+                Merge Join Operator [MERGEJOIN_438] (rows=191667561 width=135)
+                  Conds:RS_537._col0=RS_546._col0(Inner),RS_537._col0=RS_555._col0(Inner),Output:["_col0","_col1","_col3","_col5"]
+                <-Reducer 18 [ONE_TO_ONE_EDGE] vectorized
+                  FORWARD [RS_537]
                     PartitionCols:_col0
-                    Group By Operator [GBY_310] (rows=87121617 width=135)
+                    Group By Operator [GBY_536] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                    <-Reducer 14 [SIMPLE_EDGE]
+                    <-Reducer 17 [SIMPLE_EDGE]
                       SHUFFLE [RS_77]
                         PartitionCols:_col0
                         Group By Operator [GBY_76] (rows=174243235 width=135)
                           Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                          Merge Join Operator [MERGEJOIN_261] (rows=174243235 width=135)
-                            Conds:RS_72._col1=RS_296._col0(Inner),Output:["_col2","_col7"]
-                          <-Map 23 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_296]
+                          Merge Join Operator [MERGEJOIN_433] (rows=174243235 width=135)
+                            Conds:RS_72._col1=RS_486._col0(Inner),Output:["_col2","_col7"]
+                          <-Map 29 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_486]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_292]
-                          <-Reducer 13 [SIMPLE_EDGE]
+                               Please refer to the previous Select Operator [SEL_479]
+                          <-Reducer 16 [SIMPLE_EDGE]
                             SHUFFLE [RS_72]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_260] (rows=158402938 width=135)
-                                Conds:RS_307._col0=RS_288._col0(Inner),Output:["_col1","_col2"]
-                              <-Map 12 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_288]
+                              Merge Join Operator [MERGEJOIN_432] (rows=158402938 width=135)
+                                Conds:RS_535._col0=RS_458._col0(Inner),Output:["_col1","_col2"]
+                              <-Map 6 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_458]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_282] (rows=18262 width=1119)
+                                  Select Operator [SEL_449] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_276] (rows=18262 width=1119)
+                                    Filter Operator [FIL_443] (rows=18262 width=1119)
                                       predicate:((d_qoy = 1) and (d_year = 2000) and d_date_sk is not null)
                                        Please refer to the previous TableScan [TS_3]
-                              <-Map 24 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_307]
+                              <-Map 38 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_535]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_306] (rows=144002668 width=135)
+                                  Select Operator [SEL_534] (rows=144002668 width=135)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_305] (rows=144002668 width=135)
-                                      predicate:(ws_bill_addr_sk is not null and ws_sold_date_sk is not null)
+                                    Filter Operator [FIL_533] (rows=144002668 width=135)
+                                      predicate:((ws_bill_addr_sk BETWEEN DynamicValue(RS_73_customer_address_ca_address_sk_min) AND DynamicValue(RS_73_customer_address_ca_address_sk_max) and in_bloom_filter(ws_bill_addr_sk, DynamicValue(RS_73_customer_address_ca_address_sk_bloom_filter))) and (ws_sold_date_sk BETWEEN DynamicValue(RS_70_date_dim_d_date_sk_min) AND DynamicValue(RS_70_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_70_date_dim_d_date_sk_bloom_filter))) and ws_bill_addr_sk is not null and ws_sold_date_sk is not null)
                                       TableScan [TS_60] (rows=144002668 width=135)
                                         default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_addr_sk","ws_ext_sales_price"]
-                <-Reducer 19 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_313]
+                                      <-Reducer 20 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_530]
+                                          Group By Operator [GBY_529] (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
+                                            SHUFFLE [RS_473]
+                                              Group By Operator [GBY_467] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                                Select Operator [SEL_459] (rows=18262 width=1119)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_449]
+                                      <-Reducer 33 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_532]
+                                          Group By Operator [GBY_531] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                          <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                            SHUFFLE [RS_501]
+                                              Group By Operator [GBY_495] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                                Select Operator [SEL_487] (rows=40000000 width=1014)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_479]
+                <-Reducer 23 [ONE_TO_ONE_EDGE] vectorized
+                  FORWARD [RS_546]
                     PartitionCols:_col0
-                    Group By Operator [GBY_312] (rows=87121617 width=135)
+                    Group By Operator [GBY_545] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                    <-Reducer 18 [SIMPLE_EDGE]
+                    <-Reducer 22 [SIMPLE_EDGE]
                       SHUFFLE [RS_97]
                         PartitionCols:_col0
                         Group By Operator [GBY_96] (rows=174243235 width=135)
                           Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                          Merge Join Operator [MERGEJOIN_263] (rows=174243235 width=135)
-                            Conds:RS_92._col1=RS_297._col0(Inner),Output:["_col2","_col7"]
-                          <-Map 23 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_297]
+                          Merge Join Operator [MERGEJOIN_435] (rows=174243235 width=135)
+                            Conds:RS_92._col1=RS_488._col0(Inner),Output:["_col2","_col7"]
+                          <-Map 29 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_488]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_292]
-                          <-Reducer 17 [SIMPLE_EDGE]
+                               Please refer to the previous Select Operator [SEL_479]
+                          <-Reducer 21 [SIMPLE_EDGE]
                             SHUFFLE [RS_92]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_262] (rows=158402938 width=135)
-                                Conds:RS_308._col0=RS_289._col0(Inner),Output:["_col1","_col2"]
-                              <-Map 12 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_289]
+                              Merge Join Operator [MERGEJOIN_434] (rows=158402938 width=135)
+                                Conds:RS_544._col0=RS_460._col0(Inner),Output:["_col1","_col2"]
+                              <-Map 6 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_460]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_283] (rows=18262 width=1119)
+                                  Select Operator [SEL_450] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_277] (rows=18262 width=1119)
+                                    Filter Operator [FIL_444] (rows=18262 width=1119)
                                       predicate:((d_qoy = 2) and (d_year = 2000) and d_date_sk is not null)
                                        Please refer to the previous TableScan [TS_3]
-                              <-Map 24 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_308]
+                              <-Map 39 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_544]
                                   PartitionCols:_col0
-                                   Please refer to the previous Select Operator [SEL_306]
-                <-Reducer 22 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_315]
+                                  Select Operator [SEL_543] (rows=144002668 width=135)
+                                    Output:["_col0","_col1","_col2"]
+                                    Filter Operator [FIL_542] (rows=144002668 width=135)
+                                      predicate:((ws_bill_addr_sk BETWEEN DynamicValue(RS_93_customer_address_ca_address_sk_min) AND DynamicValue(RS_93_customer_address_ca_address_sk_max) and in_bloom_filter(ws_bill_addr_sk, DynamicValue(RS_93_customer_address_ca_address_sk_bloom_filter))) and (ws_sold_date_sk BETWEEN DynamicValue(RS_90_date_dim_d_date_sk_min) AND DynamicValue(RS_90_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_90_date_dim_d_date_sk_bloom_filter))) and ws_bill_addr_sk is not null and ws_sold_date_sk is not null)
+                                      TableScan [TS_80] (rows=144002668 width=135)
+                                        default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_addr_sk","ws_ext_sales_price"]
+                                      <-Reducer 24 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_539]
+                                          Group By Operator [GBY_538] (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
+                                            SHUFFLE [RS_474]
+                                              Group By Operator [GBY_468] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                                Select Operator [SEL_461] (rows=18262 width=1119)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_450]
+                                      <-Reducer 34 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_541]
+                                          Group By Operator [GBY_540] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                          <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                            SHUFFLE [RS_502]
+                                              Group By Operator [GBY_496] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                                Select Operator [SEL_489] (rows=40000000 width=1014)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_479]
+                <-Reducer 27 [ONE_TO_ONE_EDGE] vectorized
+                  FORWARD [RS_555]
                     PartitionCols:_col0
-                    Group By Operator [GBY_314] (rows=87121617 width=135)
+                    Group By Operator [GBY_554] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                    <-Reducer 21 [SIMPLE_EDGE]
+                    <-Reducer 26 [SIMPLE_EDGE]
                       SHUFFLE [RS_117]
                         PartitionCols:_col0
                         Group By Operator [GBY_116] (rows=174243235 width=135)
                           Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                          Merge Join Operator [MERGEJOIN_265] (rows=174243235 width=135)
-                            Conds:RS_112._col1=RS_298._col0(Inner),Output:["_col2","_col7"]
-                          <-Map 23 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_298]
+                          Merge Join Operator [MERGEJOIN_437] (rows=174243235 width=135)
+                            Conds:RS_112._col1=RS_490._col0(Inner),Output:["_col2","_col7"]
+                          <-Map 29 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_490]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_292]
-                          <-Reducer 20 [SIMPLE_EDGE]
+                               Please refer to the previous Select Operator [SEL_479]
+                          <-Reducer 25 [SIMPLE_EDGE]
                             SHUFFLE [RS_112]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_264] (rows=158402938 width=135)
-                                Conds:RS_309._col0=RS_290._col0(Inner),Output:["_col1","_col2"]
-                              <-Map 12 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_290]
+                              Merge Join Operator [MERGEJOIN_436] (rows=158402938 width=135)
+                                Conds:RS_553._col0=RS_462._col0(Inner),Output:["_col1","_col2"]
+                              <-Map 6 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_462]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_284] (rows=18262 width=1119)
+                                  Select Operator [SEL_451] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_278] (rows=18262 width=1119)
+                                    Filter Operator [FIL_445] (rows=18262 width=1119)
                                       predicate:((d_qoy = 3) and (d_year = 2000) and d_date_sk is not null)
                                        Please refer to the previous TableScan [TS_3]
-                              <-Map 24 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_309]
+                              <-Map 40 [SIMPLE_EDGE] vectorized
+                                SHUFFLE [RS_553]
                                   PartitionCols:_col0
-                                   Please refer to the previous Select Operator [SEL_306]
+                                  Select Operator [SEL_552] (rows=144002668 width=135)
+                                    Output:["_col0","_col1","_col2"]
+                                    Filter Operator [FIL_551] (rows=144002668 width=135)
+                                      predicate:((ws_bill_addr_sk BETWEEN DynamicValue(RS_113_customer_address_ca_address_sk_min) AND DynamicValue(RS_113_customer_address_ca_address_sk_max) and in_bloom_filter(ws_bill_addr_sk, DynamicValue(RS_113_customer_address_ca_address_sk_bloom_filter))) and (ws_sold_date_sk BETWEEN DynamicValue(RS_110_date_dim_d_date_sk_min) AND DynamicValue(RS_110_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_110_date_dim_d_date_sk_bloom_filter))) and ws_bill_addr_sk is not null and ws_sold_date_sk is not null)
+                                      TableScan [TS_100] (rows=144002668 width=135)
+                                        default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_addr_sk","ws_ext_sales_price"]
+                                      <-Reducer 28 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_548]
+                                          Group By Operator [GBY_547] (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
+                                            SHUFFLE [RS_475]
+                                              Group By Operator [GBY_469] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                                Select Operator [SEL_463] (rows=18262 width=1119)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_451]
+                                      <-Reducer 35 [BROADCAST_EDGE] vectorized
+                                        BROADCAST [RS_550]
+                                          Group By Operator [GBY_549] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                          <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                            SHUFFLE [RS_503]
+                                              Group By Operator [GBY_497] (rows=1 width=12)
+                                                Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                                Select Operator [SEL_491] (rows=40000000 width=1014)
+                                                  Output:["_col0"]
+                                                   Please refer to the previous Select Operator [SEL_479]
             <-Reducer 4 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_300]
+              FORWARD [RS_510]
                 PartitionCols:_col0
-                Group By Operator [GBY_299] (rows=348477374 width=88)
+                Group By Operator [GBY_509] (rows=348477374 width=88)
                   Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                 <-Reducer 3 [SIMPLE_EDGE]
                   SHUFFLE [RS_17]
                     PartitionCols:_col0
                     Group By Operator [GBY_16] (rows=696954748 width=88)
                       Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                      Merge Join Operator [MERGEJOIN_255] (rows=696954748 width=88)
-                        Conds:RS_12._col1=RS_293._col0(Inner),Output:["_col2","_col7"]
-                      <-Map 23 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_293]
+                      Merge Join Operator [MERGEJOIN_427] (rows=696954748 width=88)
+                        Conds:RS_12._col1=RS_480._col0(Inner),Output:["_col2","_col7"]
+                      <-Map 29 [SIMPLE_EDGE] vectorized
+                        SHUFFLE [RS_480]
                           PartitionCols:_col0
-                           Please refer to the previous Select Operator [SEL_292]
+                           Please refer to the previous Select Operator [SEL_479]
                       <-Reducer 2 [SIMPLE_EDGE]
                         SHUFFLE [RS_12]
                           PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_254] (rows=633595212 width=88)
-                            Conds:RS_270._col0=RS_285._col0(Inner),Output:["_col1","_col2"]
-                          <-Map 12 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_285]
+                          Merge Join Operator [MERGEJOIN_426] (rows=633595212 width=88)
+                            Conds:RS_508._col0=RS_452._col0(Inner),Output:["_col1","_col2"]
+                          <-Map 6 [SIMPLE_EDGE] vectorized
+                            SHUFFLE [RS_452]
                               PartitionCols:_col0
-                              Select Operator [SEL_279] (rows=18262 width=1119)
+                              Select Operator [SEL_446] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_273] (rows=18262 width=1119)
+                                Filter Operator [FIL_440] (rows=18262 width=1119)
                                   predicate:((d_qoy = 2) 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_270]
-                              PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_269]
-            <-Reducer 8 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_302]
-                PartitionCols:_col0
-                Group By Operator [GBY_301] (rows=348477374 width=88)
-                  Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                <-Reducer 7 [SIMPLE_EDGE]
-                  SHUFFLE [RS_37]
-                    PartitionCols:_col0
-                    Group By Operator [GBY_36] (rows=696954748 width=88)
-                      Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col7
-                      Merge Join Operator [MERGEJOIN_257] (rows=696954748 width=88)
-                        Conds:RS_32._col1=RS_294._col0(Inner),Output:["_col2","_col7"]
-                      <-Map 23 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_294]
-                          PartitionCols:_col0
-                           Please refer to the previous Select Operator [SEL_292]
-                      <-Reducer 6 [SIMPLE_EDGE]
-                        SHUFFLE [RS_32]
-                          PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_256] (rows=633595212 width=88)
-                            Conds:RS_271._col0=RS_286._col0(Inner),Output:["_col1","_col2"]
-                          <-Map 12 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_286]
-                              PartitionCols:_col0
-                              Select Operator [SEL_280] (rows=18262 width=1119)
-                                Output:["_col0"]
-                                Filter Operator [FIL_274] (rows=18262 width=1119)
-                                  predicate:((d_qoy = 1) 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_271]
+                            SHUFFLE [RS_508]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_269]
+                              Select Operator [SEL_507] (rows=575995635 width=88)
+                                Output:["_col0","_col1","_col2"]
+                                Filter Operator [FIL_506] (rows=575995635 width=88)
+                                  predicate:((ss_addr_sk BETWEEN DynamicValue(RS_13_customer_address_ca_address_sk_min) AND DynamicValue(RS_13_customer_address_ca_address_sk_max) and in_bloom_filter(ss_addr_sk, DynamicValue(RS_13_customer_address_ca_address_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_addr_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_addr_sk","ss_ext_sales_price"]
+                                  <-Reducer 30 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_505]
+                                      Group By Operator [GBY_504] (rows=1 width=12)
+                                        Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=40000000)"]
+                                      <-Map 29 [CUSTOM_SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_498]
+                                          Group By Operator [GBY_492] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=40000000)"]
+                                            Select Operator [SEL_481] (rows=40000000 width=1014)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_479]
+                                  <-Reducer 7 [BROADCAST_EDGE] vectorized
+                                    BROADCAST [RS_477]
+                                      Group By Operator [GBY_476] (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
+                                        SHUFFLE [RS_470]
+                                          Group By Operator [GBY_464] (rows=1 width=12)
+                                            Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                            Select Operator [SEL_453] (rows=18262 width=1119)
+                                              Output:["_col0"]
+                                               Please refer to the previous Select Operator [SEL_446]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/f2c4f319/ql/src/test/results/clientpositive/perf/tez/query32.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query32.q.out b/ql/src/test/results/clientpositive/perf/tez/query32.q.out
index 258175f..5eed619 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query32.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query32.q.out
@@ -55,21 +55,27 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
-Reducer 3 <- Reducer 2 (SIMPLE_EDGE), Reducer 6 (ONE_TO_ONE_EDGE)
+Map 1 <- Reducer 6 (BROADCAST_EDGE)
+Map 11 <- Reducer 10 (BROADCAST_EDGE), Reducer 13 (BROADCAST_EDGE)
+Reducer 10 <- Map 5 (CUSTOM_SIMPLE_EDGE)
+Reducer 13 <- Map 12 (CUSTOM_SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 5 (SIMPLE_EDGE)
+Reducer 3 <- Reducer 2 (SIMPLE_EDGE), Reducer 9 (ONE_TO_ONE_EDGE)
 Reducer 4 <- Reducer 3 (CUSTOM_SIMPLE_EDGE)
-Reducer 5 <- Reducer 2 (SIMPLE_EDGE)
-Reducer 6 <- Map 8 (SIMPLE_EDGE), Reducer 5 (ONE_TO_ONE_EDGE)
+Reducer 6 <- Map 5 (CUSTOM_SIMPLE_EDGE)
+Reducer 7 <- Map 11 (SIMPLE_EDGE), Map 5 (SIMPLE_EDGE)
+Reducer 8 <- Reducer 7 (SIMPLE_EDGE)
+Reducer 9 <- Map 12 (SIMPLE_EDGE), Reducer 8 (ONE_TO_ONE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
       Reducer 4 vectorized
-      File Output Operator [FS_76]
-        Limit [LIM_75] (rows=1 width=112)
+      File Output Operator [FS_136]
+        Limit [LIM_135] (rows=1 width=112)
           Number of rows:100
-          Group By Operator [GBY_74] (rows=1 width=112)
+          Group By Operator [GBY_134] (rows=1 width=112)
             Output:["_col0"],aggregations:["sum(VALUE._col0)"]
           <-Reducer 3 [CUSTOM_SIMPLE_EDGE]
             PARTITION_ONLY_SHUFFLE [RS_36]
@@ -79,56 +85,103 @@ Stage-0
                   Output:["_col2"]
                   Filter Operator [FIL_33] (rows=116155905 width=135)
                     predicate:(_col2 > CAST( (1.3 * _col6) AS decimal(14,7)))
-                    Merge Join Operator [MERGEJOIN_61] (rows=348467716 width=135)
+                    Merge Join Operator [MERGEJOIN_102] (rows=348467716 width=135)
                       Conds:RS_30._col1=RS_31._col2(Inner),Output:["_col2","_col6"]
                     <-Reducer 2 [SIMPLE_EDGE]
                       SHUFFLE [RS_30]
                         PartitionCols:_col1
-                        Merge Join Operator [MERGEJOIN_58] (rows=316788826 width=135)
-                          Conds:RS_64._col0=RS_67._col0(Inner),Output:["_col1","_col2"]
-                        <-Map 1 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_64]
-                            PartitionCols:_col0
-                            Select Operator [SEL_63] (rows=287989836 width=135)
-                              Output:["_col0","_col1","_col2"]
-                              Filter Operator [FIL_62] (rows=287989836 width=135)
-                                predicate:(cs_item_sk is not null and cs_sold_date_sk is not null)
-                                TableScan [TS_0] (rows=287989836 width=135)
-                                  default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_ext_discount_amt"]
-                        <-Map 7 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_67]
+                        Merge Join Operator [MERGEJOIN_99] (rows=316788826 width=135)
+                          Conds:RS_117._col0=RS_105._col0(Inner),Output:["_col1","_col2"]
+                        <-Map 5 [SIMPLE_EDGE] vectorized
+                          SHUFFLE [RS_105]
                             PartitionCols:_col0
-                            Select Operator [SEL_66] (rows=8116 width=1119)
+                            Select Operator [SEL_104] (rows=8116 width=1119)
                               Output:["_col0"]
-                              Filter Operator [FIL_65] (rows=8116 width=1119)
+                              Filter Operator [FIL_103] (rows=8116 width=1119)
                                 predicate:(CAST( d_date AS TIMESTAMP) BETWEEN TIMESTAMP'1998-03-18 00:00:00.0' AND TIMESTAMP'1998-06-16 01:00:00.0' 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_date"]
-                    <-Reducer 6 [ONE_TO_ONE_EDGE]
+                        <-Map 1 [SIMPLE_EDGE] vectorized
+                          SHUFFLE [RS_117]
+                            PartitionCols:_col0
+                            Select Operator [SEL_116] (rows=287989836 width=135)
+                              Output:["_col0","_col1","_col2"]
+                              Filter Operator [FIL_115] (rows=287989836 width=135)
+                                predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_28_date_dim_d_date_sk_min) AND DynamicValue(RS_28_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_28_date_dim_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null)
+                                TableScan [TS_0] (rows=287989836 width=135)
+                                  default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_ext_discount_amt"]
+                                <-Reducer 6 [BROADCAST_EDGE] vectorized
+                                  BROADCAST [RS_114]
+                                    Group By Operator [GBY_113] (rows=1 width=12)
+                                      Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
+                                    <-Map 5 [CUSTOM_SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_111]
+                                        Group By Operator [GBY_109] (rows=1 width=12)
+                                          Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                          Select Operator [SEL_106] (rows=8116 width=1119)
+                                            Output:["_col0"]
+                                             Please refer to the previous Select Operator [SEL_104]
+                    <-Reducer 9 [ONE_TO_ONE_EDGE]
                       FORWARD [RS_31]
                         PartitionCols:_col2
-                        Merge Join Operator [MERGEJOIN_60] (rows=174233858 width=135)
-                          Conds:RS_70._col0=RS_73._col0(Inner),Output:["_col1","_col2"]
-                        <-Map 8 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_73]
+                        Merge Join Operator [MERGEJOIN_101] (rows=174233858 width=135)
+                          Conds:RS_133._col0=RS_122._col0(Inner),Output:["_col1","_col2"]
+                        <-Map 12 [SIMPLE_EDGE] vectorized
+                          SHUFFLE [RS_122]
                             PartitionCols:_col0
-                            Select Operator [SEL_72] (rows=231000 width=1436)
+                            Select Operator [SEL_121] (rows=231000 width=1436)
                               Output:["_col0"]
-                              Filter Operator [FIL_71] (rows=231000 width=1436)
+                              Filter Operator [FIL_120] (rows=231000 width=1436)
                                 predicate:((i_manufact_id = 269) and i_item_sk is not null)
                                 TableScan [TS_20] (rows=462000 width=1436)
                                   default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_manufact_id"]
-                        <-Reducer 5 [ONE_TO_ONE_EDGE] vectorized
-                          FORWARD [RS_70]
+                        <-Reducer 8 [ONE_TO_ONE_EDGE] vectorized
+                          FORWARD [RS_133]
                             PartitionCols:_col0
-                            Select Operator [SEL_69] (rows=158394413 width=135)
+                            Select Operator [SEL_132] (rows=158394413 width=135)
                               Output:["_col0","_col1"]
-                              Group By Operator [GBY_68] (rows=158394413 width=135)
+                              Group By Operator [GBY_131] (rows=158394413 width=135)
                                 Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0
-                              <-Reducer 2 [SIMPLE_EDGE]
+                              <-Reducer 7 [SIMPLE_EDGE]
                                 SHUFFLE [RS_17]
                                   PartitionCols:_col0
                                   Group By Operator [GBY_16] (rows=316788826 width=135)
                                     Output:["_col0","_col1","_col2"],aggregations:["sum(_col2)","count(_col2)"],keys:_col1
-                                     Please refer to the previous Merge Join Operator [MERGEJOIN_58]
+                                    Merge Join Operator [MERGEJOIN_100] (rows=316788826 width=135)
+                                      Conds:RS_130._col0=RS_107._col0(Inner),Output:["_col1","_col2"]
+                                    <-Map 5 [SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_107]
+                                        PartitionCols:_col0
+                                         Please refer to the previous Select Operator [SEL_104]
+                                    <-Map 11 [SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_130]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_129] (rows=287989836 width=135)
+                                          Output:["_col0","_col1","_col2"]
+                                          Filter Operator [FIL_128] (rows=287989836 width=135)
+                                            predicate:((cs_item_sk BETWEEN DynamicValue(RS_24_item_i_item_sk_min) AND DynamicValue(RS_24_item_i_item_sk_max) and in_bloom_filter(cs_item_sk, DynamicValue(RS_24_item_i_item_sk_bloom_filter))) and (cs_sold_date_sk BETWEEN DynamicValue(RS_13_date_dim_d_date_sk_min) AND DynamicValue(RS_13_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_13_date_dim_d_date_sk_bloom_filter))) 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_item_sk","cs_ext_discount_amt"]
+                                            <-Reducer 10 [BROADCAST_EDGE] vectorized
+                                              BROADCAST [RS_119]
+                                                Group By Operator [GBY_118] (rows=1 width=12)
+                                                  Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
+                                                <-Map 5 [CUSTOM_SIMPLE_EDGE] vectorized
+                                                  SHUFFLE [RS_112]
+                                                    Group By Operator [GBY_110] (rows=1 width=12)
+                                                      Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                                      Select Operator [SEL_108] (rows=8116 width=1119)
+                                                        Output:["_col0"]
+                                                         Please refer to the previous Select Operator [SEL_104]
+                                            <-Reducer 13 [BROADCAST_EDGE] vectorized
+                                              BROADCAST [RS_127]
+                                                Group By Operator [GBY_126] (rows=1 width=12)
+                                                  Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
+                                                <-Map 12 [CUSTOM_SIMPLE_EDGE] vectorized
+                                                  SHUFFLE [RS_125]
+                                                    Group By Operator [GBY_124] (rows=1 width=12)
+                                                      Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                                      Select Operator [SEL_123] (rows=231000 width=1436)
+                                                        Output:["_col0"]
+                                                         Please refer to the previous Select Operator [SEL_121]