You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2018/07/18 18:52:08 UTC

[12/48] hive git commit: HIVE-20090 : Extend creation of semijoin reduction filters to be able to discover new opportunities (Jesus Camacho Rodriguez via Deepak Jaiswal)

http://git-wip-us.apache.org/repos/asf/hive/blob/ab9e954d/ql/src/test/results/clientpositive/perf/tez/query29.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query29.q.out b/ql/src/test/results/clientpositive/perf/tez/query29.q.out
index 46ff49d..791ddb6 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query29.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query29.q.out
@@ -117,116 +117,116 @@ Stage-0
     limit:100
     Stage-1
       Reducer 5 vectorized
-      File Output Operator [FS_257]
-        Limit [LIM_256] (rows=100 width=88)
+      File Output Operator [FS_259]
+        Limit [LIM_258] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_255] (rows=463823414 width=88)
+          Select Operator [SEL_257] (rows=463823414 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
           <-Reducer 4 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_254]
-              Group By Operator [GBY_253] (rows=463823414 width=88)
+            SHUFFLE [RS_256]
+              Group By Operator [GBY_255] (rows=463823414 width=88)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3
               <-Reducer 3 [SIMPLE_EDGE]
                 SHUFFLE [RS_49]
                   PartitionCols:_col0, _col1, _col2, _col3
                   Group By Operator [GBY_48] (rows=927646829 width=88)
                     Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col14)","sum(_col22)","sum(_col3)"],keys:_col7, _col8, _col27, _col28
-                    Merge Join Operator [MERGEJOIN_202] (rows=927646829 width=88)
+                    Merge Join Operator [MERGEJOIN_204] (rows=927646829 width=88)
                       Conds:RS_44._col1, _col2=RS_45._col14, _col13(Inner),Output:["_col3","_col7","_col8","_col14","_col22","_col27","_col28"]
                     <-Reducer 12 [SIMPLE_EDGE]
                       SHUFFLE [RS_45]
                         PartitionCols:_col14, _col13
                         Select Operator [SEL_40] (rows=843315281 width=88)
                           Output:["_col1","_col2","_col8","_col13","_col14","_col16","_col21","_col22"]
-                          Merge Join Operator [MERGEJOIN_201] (rows=843315281 width=88)
-                            Conds:RS_37._col3=RS_244._col0(Inner),Output:["_col5","_col10","_col11","_col13","_col18","_col19","_col21","_col22"]
+                          Merge Join Operator [MERGEJOIN_203] (rows=843315281 width=88)
+                            Conds:RS_37._col3=RS_246._col0(Inner),Output:["_col5","_col10","_col11","_col13","_col18","_col19","_col21","_col22"]
                           <-Map 22 [SIMPLE_EDGE] vectorized
-                            PARTITION_ONLY_SHUFFLE [RS_244]
+                            PARTITION_ONLY_SHUFFLE [RS_246]
                               PartitionCols:_col0
-                              Select Operator [SEL_243] (rows=1704 width=1910)
+                              Select Operator [SEL_245] (rows=1704 width=1910)
                                 Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_242] (rows=1704 width=1910)
+                                Filter Operator [FIL_244] (rows=1704 width=1910)
                                   predicate:s_store_sk is not null
                                   TableScan [TS_25] (rows=1704 width=1910)
                                     default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id","s_store_name"]
                           <-Reducer 11 [SIMPLE_EDGE]
                             SHUFFLE [RS_37]
                               PartitionCols:_col3
-                              Merge Join Operator [MERGEJOIN_200] (rows=766650239 width=88)
-                                Conds:RS_34._col1=RS_236._col0(Inner),Output:["_col3","_col5","_col10","_col11","_col13","_col18","_col19"]
+                              Merge Join Operator [MERGEJOIN_202] (rows=766650239 width=88)
+                                Conds:RS_34._col1=RS_238._col0(Inner),Output:["_col3","_col5","_col10","_col11","_col13","_col18","_col19"]
                               <-Map 20 [SIMPLE_EDGE] vectorized
-                                PARTITION_ONLY_SHUFFLE [RS_236]
+                                PARTITION_ONLY_SHUFFLE [RS_238]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_235] (rows=462000 width=1436)
+                                  Select Operator [SEL_237] (rows=462000 width=1436)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_234] (rows=462000 width=1436)
+                                    Filter Operator [FIL_236] (rows=462000 width=1436)
                                       predicate:i_item_sk is not null
                                       TableScan [TS_22] (rows=462000 width=1436)
                                         default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_id","i_item_desc"]
                               <-Reducer 10 [SIMPLE_EDGE]
                                 SHUFFLE [RS_34]
                                   PartitionCols:_col1
-                                  Merge Join Operator [MERGEJOIN_199] (rows=696954748 width=88)
+                                  Merge Join Operator [MERGEJOIN_201] (rows=696954748 width=88)
                                     Conds:RS_31._col1, _col2, _col4=RS_32._col1, _col2, _col3(Inner),Output:["_col1","_col3","_col5","_col10","_col11","_col13"]
                                   <-Reducer 15 [SIMPLE_EDGE]
                                     PARTITION_ONLY_SHUFFLE [RS_32]
                                       PartitionCols:_col1, _col2, _col3
-                                      Merge Join Operator [MERGEJOIN_198] (rows=63350266 width=77)
-                                        Conds:RS_227._col0=RS_220._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
+                                      Merge Join Operator [MERGEJOIN_200] (rows=63350266 width=77)
+                                        Conds:RS_229._col0=RS_222._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                       <-Map 13 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_220]
+                                        SHUFFLE [RS_222]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_217] (rows=4058 width=1119)
+                                          Select Operator [SEL_219] (rows=4058 width=1119)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_215] (rows=4058 width=1119)
+                                            Filter Operator [FIL_217] (rows=4058 width=1119)
                                               predicate:((d_year = 1999) and d_date_sk is not null and d_moy BETWEEN 4 AND 7)
                                               TableScan [TS_9] (rows=73049 width=1119)
                                                 default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
                                       <-Map 19 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_227]
+                                        SHUFFLE [RS_229]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_226] (rows=57591150 width=77)
+                                          Select Operator [SEL_228] (rows=57591150 width=77)
                                             Output:["_col0","_col1","_col2","_col3","_col4"]
-                                            Filter Operator [FIL_225] (rows=57591150 width=77)
+                                            Filter Operator [FIL_227] (rows=57591150 width=77)
                                               predicate:(sr_customer_sk is not null and sr_item_sk is not null and sr_returned_date_sk is not null and sr_ticket_number is not null)
                                               TableScan [TS_12] (rows=57591150 width=77)
                                                 default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_returned_date_sk","sr_item_sk","sr_customer_sk","sr_ticket_number","sr_return_quantity"]
                                   <-Reducer 9 [SIMPLE_EDGE]
                                     SHUFFLE [RS_31]
                                       PartitionCols:_col1, _col2, _col4
-                                      Merge Join Operator [MERGEJOIN_197] (rows=633595212 width=88)
-                                        Conds:RS_252._col0=RS_218._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5"]
+                                      Merge Join Operator [MERGEJOIN_199] (rows=633595212 width=88)
+                                        Conds:RS_254._col0=RS_220._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5"]
                                       <-Map 13 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_218]
+                                        SHUFFLE [RS_220]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_216] (rows=18262 width=1119)
+                                          Select Operator [SEL_218] (rows=18262 width=1119)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_214] (rows=18262 width=1119)
+                                            Filter Operator [FIL_216] (rows=18262 width=1119)
                                               predicate:((d_moy = 4) and (d_year = 1999) and d_date_sk is not null)
                                                Please refer to the previous TableScan [TS_9]
                                       <-Map 8 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_252]
+                                        SHUFFLE [RS_254]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_251] (rows=575995635 width=88)
+                                          Select Operator [SEL_253] (rows=575995635 width=88)
                                             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_250] (rows=575995635 width=88)
+                                            Filter Operator [FIL_252] (rows=575995635 width=88)
                                               predicate:((ss_customer_sk BETWEEN DynamicValue(RS_32_store_returns_sr_customer_sk_min) AND DynamicValue(RS_32_store_returns_sr_customer_sk_max) and in_bloom_filter(ss_customer_sk, DynamicValue(RS_32_store_returns_sr_customer_sk_bloom_filter))) and (ss_item_sk BETWEEN DynamicValue(RS_32_store_returns_sr_item_sk_min) AND DynamicValue(RS_32_store_returns_sr_item_sk_max) and in_bloom_filter(ss_item_sk, DynamicValue(RS_32_store_returns_sr_item_sk_bloom_filter))) and (ss_item_sk BETWEEN DynamicValue(RS_35_item_i_item_sk_min) AND DynamicValue(RS_35_item_i_item_sk_max) and in_bloom_filter(ss_item_sk, DynamicValue(RS_35_item_i_item_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN DynamicValue(RS_29_d1_d_date_sk_min) AND DynamicValue(RS_29_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_29_d1_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN DynamicValue(RS_38_store_s_store_sk_min) AND DynamicValue(RS_38_store_s_store_sk_ma
 x) and in_bloom_filter(ss_store_sk, DynamicValue(RS_38_store_s_store_sk_bloom_filter))) and (ss_ticket_number BETWEEN DynamicValue(RS_32_store_returns_sr_ticket_number_min) AND DynamicValue(RS_32_store_returns_sr_ticket_number_max) and in_bloom_filter(ss_ticket_number, DynamicValue(RS_32_store_returns_sr_ticket_number_bloom_filter))) and ss_customer_sk is not null and ss_item_sk is not null and ss_sold_date_sk is not null and ss_store_sk is not null and ss_ticket_number is not null)
                                               TableScan [TS_6] (rows=575995635 width=88)
                                                 default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_customer_sk","ss_store_sk","ss_ticket_number","ss_quantity"]
                                               <-Reducer 14 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_224]
-                                                  Group By Operator [GBY_223] (rows=1 width=12)
+                                                BROADCAST [RS_226]
+                                                  Group By Operator [GBY_225] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
                                                   <-Map 13 [CUSTOM_SIMPLE_EDGE] vectorized
-                                                    SHUFFLE [RS_222]
-                                                      Group By Operator [GBY_221] (rows=1 width=12)
+                                                    SHUFFLE [RS_224]
+                                                      Group By Operator [GBY_223] (rows=1 width=12)
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
-                                                        Select Operator [SEL_219] (rows=18262 width=1119)
+                                                        Select Operator [SEL_221] (rows=18262 width=1119)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Select Operator [SEL_216]
+                                                           Please refer to the previous Select Operator [SEL_218]
                                               <-Reducer 16 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_229]
-                                                  Group By Operator [GBY_228] (rows=1 width=12)
+                                                BROADCAST [RS_231]
+                                                  Group By Operator [GBY_230] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=63350264)"]
                                                   <-Reducer 15 [CUSTOM_SIMPLE_EDGE]
                                                     PARTITION_ONLY_SHUFFLE [RS_120]
@@ -234,10 +234,10 @@ Stage-0
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=63350264)"]
                                                         Select Operator [SEL_118] (rows=63350266 width=77)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_198]
+                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_200]
                                               <-Reducer 17 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_231]
-                                                  Group By Operator [GBY_230] (rows=1 width=12)
+                                                BROADCAST [RS_233]
+                                                  Group By Operator [GBY_232] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=63350264)"]
                                                   <-Reducer 15 [CUSTOM_SIMPLE_EDGE]
                                                     PARTITION_ONLY_SHUFFLE [RS_125]
@@ -245,10 +245,10 @@ Stage-0
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=63350264)"]
                                                         Select Operator [SEL_123] (rows=63350266 width=77)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_198]
+                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_200]
                                               <-Reducer 18 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_233]
-                                                  Group By Operator [GBY_232] (rows=1 width=12)
+                                                BROADCAST [RS_235]
+                                                  Group By Operator [GBY_234] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=63350264)"]
                                                   <-Reducer 15 [CUSTOM_SIMPLE_EDGE]
                                                     PARTITION_ONLY_SHUFFLE [RS_130]
@@ -256,61 +256,61 @@ Stage-0
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=63350264)"]
                                                         Select Operator [SEL_128] (rows=63350266 width=77)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_198]
+                                                           Please refer to the previous Merge Join Operator [MERGEJOIN_200]
                                               <-Reducer 21 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_241]
-                                                  Group By Operator [GBY_240] (rows=1 width=12)
+                                                BROADCAST [RS_243]
+                                                  Group By Operator [GBY_242] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
                                                   <-Map 20 [CUSTOM_SIMPLE_EDGE] vectorized
-                                                    PARTITION_ONLY_SHUFFLE [RS_239]
-                                                      Group By Operator [GBY_238] (rows=1 width=12)
+                                                    PARTITION_ONLY_SHUFFLE [RS_241]
+                                                      Group By Operator [GBY_240] (rows=1 width=12)
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
-                                                        Select Operator [SEL_237] (rows=462000 width=1436)
+                                                        Select Operator [SEL_239] (rows=462000 width=1436)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Select Operator [SEL_235]
+                                                           Please refer to the previous Select Operator [SEL_237]
                                               <-Reducer 23 [BROADCAST_EDGE] vectorized
-                                                BROADCAST [RS_249]
-                                                  Group By Operator [GBY_248] (rows=1 width=12)
+                                                BROADCAST [RS_251]
+                                                  Group By Operator [GBY_250] (rows=1 width=12)
                                                     Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"]
                                                   <-Map 22 [CUSTOM_SIMPLE_EDGE] vectorized
-                                                    PARTITION_ONLY_SHUFFLE [RS_247]
-                                                      Group By Operator [GBY_246] (rows=1 width=12)
+                                                    PARTITION_ONLY_SHUFFLE [RS_249]
+                                                      Group By Operator [GBY_248] (rows=1 width=12)
                                                         Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
-                                                        Select Operator [SEL_245] (rows=1704 width=1910)
+                                                        Select Operator [SEL_247] (rows=1704 width=1910)
                                                           Output:["_col0"]
-                                                           Please refer to the previous Select Operator [SEL_243]
+                                                           Please refer to the previous Select Operator [SEL_245]
                     <-Reducer 2 [SIMPLE_EDGE]
                       SHUFFLE [RS_44]
                         PartitionCols:_col1, _col2
-                        Merge Join Operator [MERGEJOIN_196] (rows=316788826 width=135)
-                          Conds:RS_213._col0=RS_205._col0(Inner),Output:["_col1","_col2","_col3"]
+                        Merge Join Operator [MERGEJOIN_198] (rows=316788826 width=135)
+                          Conds:RS_215._col0=RS_207._col0(Inner),Output:["_col1","_col2","_col3"]
                         <-Map 6 [SIMPLE_EDGE] vectorized
-                          PARTITION_ONLY_SHUFFLE [RS_205]
+                          PARTITION_ONLY_SHUFFLE [RS_207]
                             PartitionCols:_col0
-                            Select Operator [SEL_204] (rows=36525 width=1119)
+                            Select Operator [SEL_206] (rows=36525 width=1119)
                               Output:["_col0"]
-                              Filter Operator [FIL_203] (rows=36525 width=1119)
+                              Filter Operator [FIL_205] (rows=36525 width=1119)
                                 predicate:((d_year) IN (1999, 2000, 2001) and d_date_sk is not null)
                                 TableScan [TS_3] (rows=73049 width=1119)
                                   default@date_dim,d3,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                         <-Map 1 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_213]
+                          SHUFFLE [RS_215]
                             PartitionCols:_col0
-                            Select Operator [SEL_212] (rows=287989836 width=135)
+                            Select Operator [SEL_214] (rows=287989836 width=135)
                               Output:["_col0","_col1","_col2","_col3"]
-                              Filter Operator [FIL_211] (rows=287989836 width=135)
+                              Filter Operator [FIL_213] (rows=287989836 width=135)
                                 predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_42_d3_d_date_sk_min) AND DynamicValue(RS_42_d3_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_42_d3_d_date_sk_bloom_filter))) and cs_bill_customer_sk is not null and cs_item_sk is not null and cs_sold_date_sk is not null)
                                 TableScan [TS_0] (rows=287989836 width=135)
                                   default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_bill_customer_sk","cs_item_sk","cs_quantity"]
                                 <-Reducer 7 [BROADCAST_EDGE] vectorized
-                                  BROADCAST [RS_210]
-                                    Group By Operator [GBY_209] (rows=1 width=12)
+                                  BROADCAST [RS_212]
+                                    Group By Operator [GBY_211] (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_208]
-                                        Group By Operator [GBY_207] (rows=1 width=12)
+                                      PARTITION_ONLY_SHUFFLE [RS_210]
+                                        Group By Operator [GBY_209] (rows=1 width=12)
                                           Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
-                                          Select Operator [SEL_206] (rows=36525 width=1119)
+                                          Select Operator [SEL_208] (rows=36525 width=1119)
                                             Output:["_col0"]
-                                             Please refer to the previous Select Operator [SEL_204]
+                                             Please refer to the previous Select Operator [SEL_206]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/ab9e954d/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 c4d717d..22aee37 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query31.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query31.q.out
@@ -152,377 +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_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"]
+            Merge Join Operator [MERGEJOIN_448] (rows=1149975359 width=88)
+              Conds:RS_519._col0=RS_528._col0(Inner),RS_519._col0=RS_537._col0(Inner),RS_519._col0=RS_128._col0(Inner),Output:["_col0","_col1","_col3","_col5","_col7","_col9","_col11"]
             <-Reducer 10 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_519]
+              FORWARD [RS_528]
                 PartitionCols:_col0
-                Group By Operator [GBY_518] (rows=348477374 width=88)
+                Group By Operator [GBY_527] (rows=348477374 width=88)
                   Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                 <-Reducer 9 [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_429] (rows=696954748 width=88)
-                        Conds:RS_32._col1=RS_482._col0(Inner),Output:["_col2","_col7"]
+                      Merge Join Operator [MERGEJOIN_438] (rows=696954748 width=88)
+                        Conds:RS_32._col1=RS_491._col0(Inner),Output:["_col2","_col7"]
                       <-Map 29 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_482]
+                        SHUFFLE [RS_491]
                           PartitionCols:_col0
-                          Select Operator [SEL_479] (rows=40000000 width=1014)
+                          Select Operator [SEL_488] (rows=40000000 width=1014)
                             Output:["_col0","_col1"]
-                            Filter Operator [FIL_478] (rows=40000000 width=1014)
+                            Filter Operator [FIL_487] (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 8 [SIMPLE_EDGE]
                         SHUFFLE [RS_32]
                           PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_428] (rows=633595212 width=88)
-                            Conds:RS_517._col0=RS_454._col0(Inner),Output:["_col1","_col2"]
+                          Merge Join Operator [MERGEJOIN_437] (rows=633595212 width=88)
+                            Conds:RS_526._col0=RS_463._col0(Inner),Output:["_col1","_col2"]
                           <-Map 6 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_454]
+                            SHUFFLE [RS_463]
                               PartitionCols:_col0
-                              Select Operator [SEL_447] (rows=18262 width=1119)
+                              Select Operator [SEL_456] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_441] (rows=18262 width=1119)
+                                Filter Operator [FIL_450] (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 36 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_517]
+                            SHUFFLE [RS_526]
                               PartitionCols:_col0
-                              Select Operator [SEL_516] (rows=575995635 width=88)
+                              Select Operator [SEL_525] (rows=575995635 width=88)
                                 Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_515] (rows=575995635 width=88)
+                                Filter Operator [FIL_524] (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)
+                                    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_471]
-                                          Group By Operator [GBY_465] (rows=1 width=12)
+                                        SHUFFLE [RS_480]
+                                          Group By Operator [GBY_474] (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)
+                                            Select Operator [SEL_464] (rows=18262 width=1119)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_447]
+                                               Please refer to the previous Select Operator [SEL_456]
                                   <-Reducer 31 [BROADCAST_EDGE] vectorized
-                                    BROADCAST [RS_514]
-                                      Group By Operator [GBY_513] (rows=1 width=12)
+                                    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_499]
-                                          Group By Operator [GBY_493] (rows=1 width=12)
+                                        SHUFFLE [RS_508]
+                                          Group By Operator [GBY_502] (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)
+                                            Select Operator [SEL_492] (rows=40000000 width=1014)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_479]
+                                               Please refer to the previous Select Operator [SEL_488]
             <-Reducer 14 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_528]
+              FORWARD [RS_537]
                 PartitionCols:_col0
-                Group By Operator [GBY_527] (rows=348477374 width=88)
+                Group By Operator [GBY_536] (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"]
+                      Merge Join Operator [MERGEJOIN_440] (rows=696954748 width=88)
+                        Conds:RS_52._col1=RS_493._col0(Inner),Output:["_col2","_col7"]
                       <-Map 29 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_484]
+                        SHUFFLE [RS_493]
                           PartitionCols:_col0
-                           Please refer to the previous Select Operator [SEL_479]
+                           Please refer to the previous Select Operator [SEL_488]
                       <-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"]
+                          Merge Join Operator [MERGEJOIN_439] (rows=633595212 width=88)
+                            Conds:RS_535._col0=RS_465._col0(Inner),Output:["_col1","_col2"]
                           <-Map 6 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_456]
+                            SHUFFLE [RS_465]
                               PartitionCols:_col0
-                              Select Operator [SEL_448] (rows=18262 width=1119)
+                              Select Operator [SEL_457] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_442] (rows=18262 width=1119)
+                                Filter Operator [FIL_451] (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]
+                            SHUFFLE [RS_535]
                               PartitionCols:_col0
-                              Select Operator [SEL_525] (rows=575995635 width=88)
+                              Select Operator [SEL_534] (rows=575995635 width=88)
                                 Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_524] (rows=575995635 width=88)
+                                Filter Operator [FIL_533] (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 15 [BROADCAST_EDGE] vectorized
-                                    BROADCAST [RS_521]
-                                      Group By Operator [GBY_520] (rows=1 width=12)
+                                    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_472]
-                                          Group By Operator [GBY_466] (rows=1 width=12)
+                                        SHUFFLE [RS_481]
+                                          Group By Operator [GBY_475] (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)
+                                            Select Operator [SEL_466] (rows=18262 width=1119)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_448]
+                                               Please refer to the previous Select Operator [SEL_457]
                                   <-Reducer 32 [BROADCAST_EDGE] vectorized
-                                    BROADCAST [RS_523]
-                                      Group By Operator [GBY_522] (rows=1 width=12)
+                                    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_500]
-                                          Group By Operator [GBY_494] (rows=1 width=12)
+                                        SHUFFLE [RS_509]
+                                          Group By Operator [GBY_503] (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)
+                                            Select Operator [SEL_494] (rows=40000000 width=1014)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_479]
+                                               Please refer to the previous Select Operator [SEL_488]
             <-Reducer 19 [ONE_TO_ONE_EDGE]
               FORWARD [RS_128]
                 PartitionCols:_col0
-                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"]
+                Merge Join Operator [MERGEJOIN_447] (rows=191667561 width=135)
+                  Conds:RS_546._col0=RS_555._col0(Inner),RS_546._col0=RS_564._col0(Inner),Output:["_col0","_col1","_col3","_col5"]
                 <-Reducer 18 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_537]
+                  FORWARD [RS_546]
                     PartitionCols:_col0
-                    Group By Operator [GBY_536] (rows=87121617 width=135)
+                    Group By Operator [GBY_545] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                     <-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_433] (rows=174243235 width=135)
-                            Conds:RS_72._col1=RS_486._col0(Inner),Output:["_col2","_col7"]
+                          Merge Join Operator [MERGEJOIN_442] (rows=174243235 width=135)
+                            Conds:RS_72._col1=RS_495._col0(Inner),Output:["_col2","_col7"]
                           <-Map 29 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_486]
+                            SHUFFLE [RS_495]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_479]
+                               Please refer to the previous Select Operator [SEL_488]
                           <-Reducer 16 [SIMPLE_EDGE]
                             SHUFFLE [RS_72]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_432] (rows=158402938 width=135)
-                                Conds:RS_535._col0=RS_458._col0(Inner),Output:["_col1","_col2"]
+                              Merge Join Operator [MERGEJOIN_441] (rows=158402938 width=135)
+                                Conds:RS_544._col0=RS_467._col0(Inner),Output:["_col1","_col2"]
                               <-Map 6 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_458]
+                                SHUFFLE [RS_467]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_449] (rows=18262 width=1119)
+                                  Select Operator [SEL_458] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_443] (rows=18262 width=1119)
+                                    Filter Operator [FIL_452] (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 38 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_535]
+                                SHUFFLE [RS_544]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_534] (rows=144002668 width=135)
+                                  Select Operator [SEL_543] (rows=144002668 width=135)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_533] (rows=144002668 width=135)
+                                    Filter Operator [FIL_542] (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 20 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_530]
-                                          Group By Operator [GBY_529] (rows=1 width=12)
+                                        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_473]
-                                              Group By Operator [GBY_467] (rows=1 width=12)
+                                            SHUFFLE [RS_482]
+                                              Group By Operator [GBY_476] (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)
+                                                Select Operator [SEL_468] (rows=18262 width=1119)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_449]
+                                                   Please refer to the previous Select Operator [SEL_458]
                                       <-Reducer 33 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_532]
-                                          Group By Operator [GBY_531] (rows=1 width=12)
+                                        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_501]
-                                              Group By Operator [GBY_495] (rows=1 width=12)
+                                            SHUFFLE [RS_510]
+                                              Group By Operator [GBY_504] (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)
+                                                Select Operator [SEL_496] (rows=40000000 width=1014)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_479]
+                                                   Please refer to the previous Select Operator [SEL_488]
                 <-Reducer 23 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_546]
+                  FORWARD [RS_555]
                     PartitionCols:_col0
-                    Group By Operator [GBY_545] (rows=87121617 width=135)
+                    Group By Operator [GBY_554] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                     <-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_435] (rows=174243235 width=135)
-                            Conds:RS_92._col1=RS_488._col0(Inner),Output:["_col2","_col7"]
+                          Merge Join Operator [MERGEJOIN_444] (rows=174243235 width=135)
+                            Conds:RS_92._col1=RS_497._col0(Inner),Output:["_col2","_col7"]
                           <-Map 29 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_488]
+                            SHUFFLE [RS_497]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_479]
+                               Please refer to the previous Select Operator [SEL_488]
                           <-Reducer 21 [SIMPLE_EDGE]
                             SHUFFLE [RS_92]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_434] (rows=158402938 width=135)
-                                Conds:RS_544._col0=RS_460._col0(Inner),Output:["_col1","_col2"]
+                              Merge Join Operator [MERGEJOIN_443] (rows=158402938 width=135)
+                                Conds:RS_553._col0=RS_469._col0(Inner),Output:["_col1","_col2"]
                               <-Map 6 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_460]
+                                SHUFFLE [RS_469]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_450] (rows=18262 width=1119)
+                                  Select Operator [SEL_459] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_444] (rows=18262 width=1119)
+                                    Filter Operator [FIL_453] (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 39 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_544]
+                                SHUFFLE [RS_553]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_543] (rows=144002668 width=135)
+                                  Select Operator [SEL_552] (rows=144002668 width=135)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_542] (rows=144002668 width=135)
+                                    Filter Operator [FIL_551] (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)
+                                        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_474]
-                                              Group By Operator [GBY_468] (rows=1 width=12)
+                                            SHUFFLE [RS_483]
+                                              Group By Operator [GBY_477] (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)
+                                                Select Operator [SEL_470] (rows=18262 width=1119)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_450]
+                                                   Please refer to the previous Select Operator [SEL_459]
                                       <-Reducer 34 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_541]
-                                          Group By Operator [GBY_540] (rows=1 width=12)
+                                        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_502]
-                                              Group By Operator [GBY_496] (rows=1 width=12)
+                                            SHUFFLE [RS_511]
+                                              Group By Operator [GBY_505] (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)
+                                                Select Operator [SEL_498] (rows=40000000 width=1014)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_479]
+                                                   Please refer to the previous Select Operator [SEL_488]
                 <-Reducer 27 [ONE_TO_ONE_EDGE] vectorized
-                  FORWARD [RS_555]
+                  FORWARD [RS_564]
                     PartitionCols:_col0
-                    Group By Operator [GBY_554] (rows=87121617 width=135)
+                    Group By Operator [GBY_563] (rows=87121617 width=135)
                       Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                     <-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_437] (rows=174243235 width=135)
-                            Conds:RS_112._col1=RS_490._col0(Inner),Output:["_col2","_col7"]
+                          Merge Join Operator [MERGEJOIN_446] (rows=174243235 width=135)
+                            Conds:RS_112._col1=RS_499._col0(Inner),Output:["_col2","_col7"]
                           <-Map 29 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_490]
+                            SHUFFLE [RS_499]
                               PartitionCols:_col0
-                               Please refer to the previous Select Operator [SEL_479]
+                               Please refer to the previous Select Operator [SEL_488]
                           <-Reducer 25 [SIMPLE_EDGE]
                             SHUFFLE [RS_112]
                               PartitionCols:_col1
-                              Merge Join Operator [MERGEJOIN_436] (rows=158402938 width=135)
-                                Conds:RS_553._col0=RS_462._col0(Inner),Output:["_col1","_col2"]
+                              Merge Join Operator [MERGEJOIN_445] (rows=158402938 width=135)
+                                Conds:RS_562._col0=RS_471._col0(Inner),Output:["_col1","_col2"]
                               <-Map 6 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_462]
+                                SHUFFLE [RS_471]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_451] (rows=18262 width=1119)
+                                  Select Operator [SEL_460] (rows=18262 width=1119)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_445] (rows=18262 width=1119)
+                                    Filter Operator [FIL_454] (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 40 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_553]
+                                SHUFFLE [RS_562]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_552] (rows=144002668 width=135)
+                                  Select Operator [SEL_561] (rows=144002668 width=135)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_551] (rows=144002668 width=135)
+                                    Filter Operator [FIL_560] (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)
+                                        BROADCAST [RS_557]
+                                          Group By Operator [GBY_556] (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)
+                                            SHUFFLE [RS_484]
+                                              Group By Operator [GBY_478] (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)
+                                                Select Operator [SEL_472] (rows=18262 width=1119)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_451]
+                                                   Please refer to the previous Select Operator [SEL_460]
                                       <-Reducer 35 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_550]
-                                          Group By Operator [GBY_549] (rows=1 width=12)
+                                        BROADCAST [RS_559]
+                                          Group By Operator [GBY_558] (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)
+                                            SHUFFLE [RS_512]
+                                              Group By Operator [GBY_506] (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)
+                                                Select Operator [SEL_500] (rows=40000000 width=1014)
                                                   Output:["_col0"]
-                                                   Please refer to the previous Select Operator [SEL_479]
+                                                   Please refer to the previous Select Operator [SEL_488]
             <-Reducer 4 [ONE_TO_ONE_EDGE] vectorized
-              FORWARD [RS_510]
+              FORWARD [RS_519]
                 PartitionCols:_col0
-                Group By Operator [GBY_509] (rows=348477374 width=88)
+                Group By Operator [GBY_518] (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_427] (rows=696954748 width=88)
-                        Conds:RS_12._col1=RS_480._col0(Inner),Output:["_col2","_col7"]
+                      Merge Join Operator [MERGEJOIN_436] (rows=696954748 width=88)
+                        Conds:RS_12._col1=RS_489._col0(Inner),Output:["_col2","_col7"]
                       <-Map 29 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_480]
+                        SHUFFLE [RS_489]
                           PartitionCols:_col0
-                           Please refer to the previous Select Operator [SEL_479]
+                           Please refer to the previous Select Operator [SEL_488]
                       <-Reducer 2 [SIMPLE_EDGE]
                         SHUFFLE [RS_12]
                           PartitionCols:_col1
-                          Merge Join Operator [MERGEJOIN_426] (rows=633595212 width=88)
-                            Conds:RS_508._col0=RS_452._col0(Inner),Output:["_col1","_col2"]
+                          Merge Join Operator [MERGEJOIN_435] (rows=633595212 width=88)
+                            Conds:RS_517._col0=RS_461._col0(Inner),Output:["_col1","_col2"]
                           <-Map 6 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_452]
+                            SHUFFLE [RS_461]
                               PartitionCols:_col0
-                              Select Operator [SEL_446] (rows=18262 width=1119)
+                              Select Operator [SEL_455] (rows=18262 width=1119)
                                 Output:["_col0"]
-                                Filter Operator [FIL_440] (rows=18262 width=1119)
+                                Filter Operator [FIL_449] (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_508]
+                            SHUFFLE [RS_517]
                               PartitionCols:_col0
-                              Select Operator [SEL_507] (rows=575995635 width=88)
+                              Select Operator [SEL_516] (rows=575995635 width=88)
                                 Output:["_col0","_col1","_col2"]
-                                Filter Operator [FIL_506] (rows=575995635 width=88)
+                                Filter Operator [FIL_515] (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)
+                                    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_498]
-                                          Group By Operator [GBY_492] (rows=1 width=12)
+                                        SHUFFLE [RS_507]
+                                          Group By Operator [GBY_501] (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)
+                                            Select Operator [SEL_490] (rows=40000000 width=1014)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_479]
+                                               Please refer to the previous Select Operator [SEL_488]
                                   <-Reducer 7 [BROADCAST_EDGE] vectorized
-                                    BROADCAST [RS_477]
-                                      Group By Operator [GBY_476] (rows=1 width=12)
+                                    BROADCAST [RS_486]
+                                      Group By Operator [GBY_485] (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)
+                                        SHUFFLE [RS_479]
+                                          Group By Operator [GBY_473] (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)
+                                            Select Operator [SEL_462] (rows=18262 width=1119)
                                               Output:["_col0"]
-                                               Please refer to the previous Select Operator [SEL_446]
+                                               Please refer to the previous Select Operator [SEL_455]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/ab9e954d/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 6be6f7a..2a472c1 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query32.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query32.q.out
@@ -55,27 +55,24 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-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)
+Map 1 <- Reducer 10 (BROADCAST_EDGE), Reducer 8 (BROADCAST_EDGE)
+Reducer 10 <- Map 9 (CUSTOM_SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
+Reducer 3 <- Reducer 2 (SIMPLE_EDGE), Reducer 6 (ONE_TO_ONE_EDGE)
 Reducer 4 <- Reducer 3 (CUSTOM_SIMPLE_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)
+Reducer 5 <- Reducer 2 (SIMPLE_EDGE)
+Reducer 6 <- Map 9 (SIMPLE_EDGE), Reducer 5 (ONE_TO_ONE_EDGE)
+Reducer 8 <- Map 7 (CUSTOM_SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
       Reducer 4 vectorized
-      File Output Operator [FS_136]
-        Limit [LIM_135] (rows=1 width=112)
+      File Output Operator [FS_129]
+        Limit [LIM_128] (rows=1 width=112)
           Number of rows:100
-          Group By Operator [GBY_134] (rows=1 width=112)
+          Group By Operator [GBY_127] (rows=1 width=112)
             Output:["_col0"],aggregations:["sum(VALUE._col0)"]
           <-Reducer 3 [CUSTOM_SIMPLE_EDGE]
             PARTITION_ONLY_SHUFFLE [RS_36]
@@ -85,103 +82,78 @@ 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_102] (rows=348467716 width=135)
+                    Merge Join Operator [MERGEJOIN_104] (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_99] (rows=316788826 width=135)
-                          Conds:RS_117._col0=RS_105._col0(Inner),Output:["_col1","_col2"]
-                        <-Map 5 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_105]
+                        Merge Join Operator [MERGEJOIN_101] (rows=316788826 width=135)
+                          Conds:RS_123._col0=RS_107._col0(Inner),Output:["_col1","_col2"]
+                        <-Map 7 [SIMPLE_EDGE] vectorized
+                          PARTITION_ONLY_SHUFFLE [RS_107]
                             PartitionCols:_col0
-                            Select Operator [SEL_104] (rows=8116 width=1119)
+                            Select Operator [SEL_106] (rows=8116 width=1119)
                               Output:["_col0"]
-                              Filter Operator [FIL_103] (rows=8116 width=1119)
+                              Filter Operator [FIL_105] (rows=8116 width=1119)
                                 predicate:(CAST( d_date AS TIMESTAMP) BETWEEN TIMESTAMP'1998-03-18 00:00:00' AND TIMESTAMP'1998-06-16 00:00:00' 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"]
                         <-Map 1 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_117]
+                          SHUFFLE [RS_123]
                             PartitionCols:_col0
-                            Select Operator [SEL_116] (rows=287989836 width=135)
+                            Select Operator [SEL_122] (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)
+                              Filter Operator [FIL_121] (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_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)
+                                <-Reducer 10 [BROADCAST_EDGE] vectorized
+                                  BROADCAST [RS_120]
+                                    Group By Operator [GBY_119] (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]
+                                    <-Map 9 [CUSTOM_SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_118]
+                                        Group By Operator [GBY_117] (rows=1 width=12)
+                                          Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"]
+                                          Select Operator [SEL_116] (rows=231000 width=1436)
+                                            Output:["_col0"]
+                                            Select Operator [SEL_114] (rows=231000 width=1436)
+                                              Output:["_col0"]
+                                              Filter Operator [FIL_113] (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 8 [BROADCAST_EDGE] vectorized
+                                  BROADCAST [RS_112]
+                                    Group By Operator [GBY_111] (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_110]
                                         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)
+                                          Select Operator [SEL_108] (rows=8116 width=1119)
                                             Output:["_col0"]
-                                             Please refer to the previous Select Operator [SEL_104]
-                    <-Reducer 9 [ONE_TO_ONE_EDGE]
+                                             Please refer to the previous Select Operator [SEL_106]
+                    <-Reducer 6 [ONE_TO_ONE_EDGE]
                       FORWARD [RS_31]
                         PartitionCols:_col2
-                        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]
+                        Merge Join Operator [MERGEJOIN_103] (rows=174233858 width=135)
+                          Conds:RS_126._col0=RS_115._col0(Inner),Output:["_col1","_col2"]
+                        <-Map 9 [SIMPLE_EDGE] vectorized
+                          SHUFFLE [RS_115]
                             PartitionCols:_col0
-                            Select Operator [SEL_121] (rows=231000 width=1436)
-                              Output:["_col0"]
-                              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 8 [ONE_TO_ONE_EDGE] vectorized
-                          FORWARD [RS_133]
+                             Please refer to the previous Select Operator [SEL_114]
+                        <-Reducer 5 [ONE_TO_ONE_EDGE] vectorized
+                          FORWARD [RS_126]
                             PartitionCols:_col0
-                            Select Operator [SEL_132] (rows=158394413 width=135)
+                            Select Operator [SEL_125] (rows=158394413 width=135)
                               Output:["_col0","_col1"]
-                              Group By Operator [GBY_131] (rows=158394413 width=135)
+                              Group By Operator [GBY_124] (rows=158394413 width=135)
                                 Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)","count(VALUE._col1)"],keys:KEY._col0
-                              <-Reducer 7 [SIMPLE_EDGE]
+                              <-Reducer 2 [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
-                                    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]
+                                     Please refer to the previous Merge Join Operator [MERGEJOIN_101]