http://git-wip-us.apache.org/repos/asf/hive/blob/851c8aba/ql/src/test/results/clientpositive/perf/tez/query5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query5.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query5.q.out
index 6b054f0..e554dd4 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query5.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query5.q.out
@@ -287,287 +287,293 @@ Stage-0
     limit:100
     Stage-1
       Reducer 8 vectorized
-      File Output Operator [FS_304]
-        Limit [LIM_303] (rows=100 width=110)
+      File Output Operator [FS_309]
+        Limit [LIM_308] (rows=100 width=110)
           Number of rows:100
-          Select Operator [SEL_302] (rows=1136898901 width=110)
+          Select Operator [SEL_307] (rows=1136898901 width=110)
             Output:["_col0","_col1","_col2","_col3","_col4"]
           <-Reducer 7 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_301]
-              Select Operator [SEL_300] (rows=1136898901 width=110)
+            SHUFFLE [RS_306]
+              Select Operator [SEL_305] (rows=1136898901 width=110)
                 Output:["_col0","_col1","_col2","_col3","_col4"]
-                Group By Operator [GBY_299] (rows=1136898901 width=110)
+                Group By Operator [GBY_304] (rows=1136898901 width=110)
                   
Output:["_col0","_col1","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0,
 KEY._col1, KEY._col2
                 <-Union 6 [SIMPLE_EDGE]
                   <-Reducer 14 [CONTAINS] vectorized
-                    Reduce Output Operator [RS_317]
+                    Reduce Output Operator [RS_323]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_316] (rows=2273797803 width=110)
+                      Group By Operator [GBY_322] (rows=2273797803 width=110)
                         
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0,
 _col1, 0L
-                        Select Operator [SEL_315] (rows=191657181 width=132)
-                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_314] (rows=191657181 
width=132)
-                            
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
-                          <-Reducer 13 [SIMPLE_EDGE]
-                            SHUFFLE [RS_47]
-                              PartitionCols:_col0
-                              Group By Operator [GBY_46] (rows=383314363 
width=132)
-                                
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
-                                Merge Join Operator [MERGEJOIN_221] 
(rows=383314363 width=132)
-                                  
Conds:RS_42._col0=RS_310._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
-                                <-Map 25 [SIMPLE_EDGE] vectorized
-                                  PARTITION_ONLY_SHUFFLE [RS_310]
-                                    PartitionCols:_col0
-                                    Select Operator [SEL_309] (rows=46000 
width=460)
-                                      Output:["_col0","_col1"]
-                                      Filter Operator [FIL_308] (rows=46000 
width=460)
-                                        predicate:cp_catalog_page_sk is not 
null
-                                        TableScan [TS_36] (rows=46000 
width=460)
-                                          
default@catalog_page,catalog_page,Tbl:COMPLETE,Col:NONE,Output:["cp_catalog_page_sk","cp_catalog_page_id"]
-                                <-Reducer 12 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_42]
-                                    PartitionCols:_col0
-                                    Merge Join Operator [MERGEJOIN_220] 
(rows=348467596 width=132)
-                                      Conds:Union 
23._col1=RS_272._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
-                                    <-Map 10 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_272]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_269] (rows=8116 
width=1119)
-                                          Output:["_col0"]
-                                          Filter Operator [FIL_268] (rows=8116 
width=1119)
-                                            predicate:(CAST( d_date AS 
TIMESTAMP) BETWEEN TIMESTAMP'1998-08-04 00:00:00' AND TIMESTAMP'1998-08-18 
00:00:00' and d_date_sk is not null)
-                                            TableScan [TS_8] (rows=73049 
width=1119)
-                                              
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
-                                    <-Union 23 [SIMPLE_EDGE]
-                                      <-Map 22 [CONTAINS] vectorized
-                                        Reduce Output Operator [RS_334]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_333] 
(rows=287989836 width=135)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_332] 
(rows=287989836 width=135)
-                                              predicate:((cs_catalog_page_sk 
BETWEEN DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_min) AND 
DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_max) and 
in_bloom_filter(cs_catalog_page_sk, 
DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_bloom_filter))) and 
(cs_sold_date_sk BETWEEN DynamicValue(RS_40_date_dim_d_date_sk_min) AND 
DynamicValue(RS_40_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, 
DynamicValue(RS_40_date_dim_d_date_sk_bloom_filter))) and cs_catalog_page_sk is 
not null and cs_sold_date_sk is not null)
-                                              TableScan [TS_249] 
(rows=287989836 width=135)
-                                                
Output:["cs_sold_date_sk","cs_catalog_page_sk","cs_ext_sales_price","cs_net_profit"]
-                                              <-Reducer 15 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_329]
-                                                  Group By Operator [GBY_328] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    SHUFFLE [RS_280]
-                                                      Group By Operator 
[GBY_277] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_273] (rows=8116 width=1119)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_269]
-                                              <-Reducer 26 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_331]
-                                                  Group By Operator [GBY_330] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    PARTITION_ONLY_SHUFFLE 
[RS_313]
-                                                      Group By Operator 
[GBY_312] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_311] (rows=46000 width=460)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_309]
-                                      <-Map 24 [CONTAINS] vectorized
-                                        Reduce Output Operator [RS_337]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_336] 
(rows=28798881 width=106)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_335] 
(rows=28798881 width=106)
-                                              predicate:(cr_catalog_page_sk is 
not null and cr_returned_date_sk is not null)
-                                              TableScan [TS_254] 
(rows=28798881 width=106)
-                                                
Output:["cr_returned_date_sk","cr_catalog_page_sk","cr_return_amount","cr_net_loss"]
+                        Top N Key Operator [TNK_321] (rows=757932601 width=110)
+                          keys:_col0, _col1, 0L,sort order:+++,top n:100
+                          Select Operator [SEL_320] (rows=191657181 width=132)
+                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                            Group By Operator [GBY_319] (rows=191657181 
width=132)
+                              
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
+                            <-Reducer 13 [SIMPLE_EDGE]
+                              SHUFFLE [RS_47]
+                                PartitionCols:_col0
+                                Group By Operator [GBY_46] (rows=383314363 
width=132)
+                                  
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
+                                  Merge Join Operator [MERGEJOIN_222] 
(rows=383314363 width=132)
+                                    
Conds:RS_42._col0=RS_315._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
+                                  <-Map 25 [SIMPLE_EDGE] vectorized
+                                    PARTITION_ONLY_SHUFFLE [RS_315]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_314] (rows=46000 
width=460)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_313] (rows=46000 
width=460)
+                                          predicate:cp_catalog_page_sk is not 
null
+                                          TableScan [TS_36] (rows=46000 
width=460)
+                                            
default@catalog_page,catalog_page,Tbl:COMPLETE,Col:NONE,Output:["cp_catalog_page_sk","cp_catalog_page_id"]
+                                  <-Reducer 12 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_42]
+                                      PartitionCols:_col0
+                                      Merge Join Operator [MERGEJOIN_221] 
(rows=348467596 width=132)
+                                        Conds:Union 
23._col1=RS_276._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
+                                      <-Map 10 [SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_276]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_273] (rows=8116 
width=1119)
+                                            Output:["_col0"]
+                                            Filter Operator [FIL_272] 
(rows=8116 width=1119)
+                                              predicate:(CAST( d_date AS 
TIMESTAMP) BETWEEN TIMESTAMP'1998-08-04 00:00:00' AND TIMESTAMP'1998-08-18 
00:00:00' and d_date_sk is not null)
+                                              TableScan [TS_8] (rows=73049 
width=1119)
+                                                
default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
+                                      <-Union 23 [SIMPLE_EDGE]
+                                        <-Map 22 [CONTAINS] vectorized
+                                          Reduce Output Operator [RS_341]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_340] 
(rows=287989836 width=135)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_339] 
(rows=287989836 width=135)
+                                                predicate:((cs_catalog_page_sk 
BETWEEN DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_min) AND 
DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_max) and 
in_bloom_filter(cs_catalog_page_sk, 
DynamicValue(RS_43_catalog_page_cp_catalog_page_sk_bloom_filter))) and 
(cs_sold_date_sk BETWEEN DynamicValue(RS_40_date_dim_d_date_sk_min) AND 
DynamicValue(RS_40_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, 
DynamicValue(RS_40_date_dim_d_date_sk_bloom_filter))) and cs_catalog_page_sk is 
not null and cs_sold_date_sk is not null)
+                                                TableScan [TS_253] 
(rows=287989836 width=135)
+                                                  
Output:["cs_sold_date_sk","cs_catalog_page_sk","cs_ext_sales_price","cs_net_profit"]
+                                                <-Reducer 15 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_336]
+                                                    Group By Operator 
[GBY_335] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      SHUFFLE [RS_284]
+                                                        Group By Operator 
[GBY_281] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_277] (rows=8116 width=1119)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_273]
+                                                <-Reducer 26 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_338]
+                                                    Group By Operator 
[GBY_337] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 25 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      PARTITION_ONLY_SHUFFLE 
[RS_318]
+                                                        Group By Operator 
[GBY_317] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_316] (rows=46000 width=460)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_314]
+                                        <-Map 24 [CONTAINS] vectorized
+                                          Reduce Output Operator [RS_344]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_343] 
(rows=28798881 width=106)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_342] 
(rows=28798881 width=106)
+                                                predicate:(cr_catalog_page_sk 
is not null and cr_returned_date_sk is not null)
+                                                TableScan [TS_258] 
(rows=28798881 width=106)
+                                                  
Output:["cr_returned_date_sk","cr_catalog_page_sk","cr_return_amount","cr_net_loss"]
                   <-Reducer 18 [CONTAINS] vectorized
-                    Reduce Output Operator [RS_327]
+                    Reduce Output Operator [RS_334]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_326] (rows=2273797803 width=110)
+                      Group By Operator [GBY_333] (rows=2273797803 width=110)
                         
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0,
 _col1, 0L
-                        Select Operator [SEL_325] (rows=182955399 width=135)
-                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_324] (rows=182955399 
width=135)
-                            
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
-                          <-Reducer 17 [SIMPLE_EDGE]
-                            SHUFFLE [RS_80]
-                              PartitionCols:_col0
-                              Group By Operator [GBY_79] (rows=365910798 
width=135)
-                                
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
-                                Merge Join Operator [MERGEJOIN_223] 
(rows=365910798 width=135)
-                                  
Conds:RS_75._col0=RS_320._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
-                                <-Map 34 [SIMPLE_EDGE] vectorized
-                                  PARTITION_ONLY_SHUFFLE [RS_320]
-                                    PartitionCols:_col0
-                                    Select Operator [SEL_319] (rows=84 
width=1850)
-                                      Output:["_col0","_col1"]
-                                      Filter Operator [FIL_318] (rows=84 
width=1850)
-                                        predicate:web_site_sk is not null
-                                        TableScan [TS_69] (rows=84 width=1850)
-                                          
default@web_site,web_site,Tbl:COMPLETE,Col:NONE,Output:["web_site_sk","web_site_id"]
-                                <-Reducer 16 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_75]
-                                    PartitionCols:_col0
-                                    Merge Join Operator [MERGEJOIN_222] 
(rows=332646173 width=135)
-                                      Conds:Union 
28._col1=RS_274._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
-                                    <-Map 10 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_274]
-                                        PartitionCols:_col0
-                                         Please refer to the previous Select 
Operator [SEL_269]
-                                    <-Union 28 [SIMPLE_EDGE]
-                                      <-Map 27 [CONTAINS] vectorized
-                                        Reduce Output Operator [RS_345]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_344] 
(rows=144002668 width=135)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_343] 
(rows=144002668 width=135)
-                                              predicate:((ws_sold_date_sk 
BETWEEN DynamicValue(RS_73_date_dim_d_date_sk_min) AND 
DynamicValue(RS_73_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, 
DynamicValue(RS_73_date_dim_d_date_sk_bloom_filter))) and (ws_web_site_sk 
BETWEEN DynamicValue(RS_76_web_site_web_site_sk_min) AND 
DynamicValue(RS_76_web_site_web_site_sk_max) and 
in_bloom_filter(ws_web_site_sk, 
DynamicValue(RS_76_web_site_web_site_sk_bloom_filter))) and ws_sold_date_sk is 
not null and ws_web_site_sk is not null)
-                                              TableScan [TS_259] 
(rows=144002668 width=135)
-                                                
Output:["ws_sold_date_sk","ws_web_site_sk","ws_ext_sales_price","ws_net_profit"]
-                                              <-Reducer 35 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_341]
-                                                  Group By Operator [GBY_340] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 34 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    PARTITION_ONLY_SHUFFLE 
[RS_323]
-                                                      Group By Operator 
[GBY_322] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_321] (rows=84 width=1850)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_319]
-                                              <-Reducer 19 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_339]
-                                                  Group By Operator [GBY_338] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    SHUFFLE [RS_281]
-                                                      Group By Operator 
[GBY_278] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_275] (rows=8116 width=1119)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_269]
-                                      <-Reducer 30 [CONTAINS]
-                                        Reduce Output Operator [RS_267]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_265] 
(rows=158402938 width=135)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Merge Join Operator 
[MERGEJOIN_264] (rows=158402938 width=135)
-                                              Conds:RS_361._col0, 
_col2=RS_348._col1, _col2(Inner),Output:["_col1","_col3","_col6","_col7"]
-                                            <-Map 31 [SIMPLE_EDGE] vectorized
-                                              PARTITION_ONLY_SHUFFLE [RS_348]
-                                                PartitionCols:_col1, _col2
-                                                Select Operator [SEL_347] 
(rows=14398467 width=92)
-                                                  
Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_346] 
(rows=14398467 width=92)
-                                                    predicate:(wr_item_sk is 
not null and wr_order_number is not null and wr_returned_date_sk is not null)
-                                                    TableScan [TS_57] 
(rows=14398467 width=92)
-                                                      
default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_returned_date_sk","wr_item_sk","wr_order_number","wr_return_amt","wr_net_loss"]
-                                            <-Map 29 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_361]
-                                                PartitionCols:_col0, _col2
-                                                Select Operator [SEL_360] 
(rows=144002668 width=135)
-                                                  
Output:["_col0","_col1","_col2"]
-                                                  Filter Operator [FIL_359] 
(rows=144002668 width=135)
-                                                    predicate:((ws_item_sk 
BETWEEN DynamicValue(RS_61_web_returns_wr_item_sk_min) AND 
DynamicValue(RS_61_web_returns_wr_item_sk_max) and in_bloom_filter(ws_item_sk, 
DynamicValue(RS_61_web_returns_wr_item_sk_bloom_filter))) and (ws_order_number 
BETWEEN DynamicValue(RS_61_web_returns_wr_order_number_min) AND 
DynamicValue(RS_61_web_returns_wr_order_number_max) and 
in_bloom_filter(ws_order_number, 
DynamicValue(RS_61_web_returns_wr_order_number_bloom_filter))) and 
(ws_web_site_sk BETWEEN DynamicValue(RS_76_web_site_web_site_sk_min) AND 
DynamicValue(RS_76_web_site_web_site_sk_max) and 
in_bloom_filter(ws_web_site_sk, 
DynamicValue(RS_76_web_site_web_site_sk_bloom_filter))) and ws_item_sk is not 
null and ws_order_number is not null and ws_web_site_sk is not null)
-                                                    TableScan [TS_54] 
(rows=144002668 width=135)
-                                                      
default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_item_sk","ws_web_site_sk","ws_order_number"]
-                                                    <-Reducer 35 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_342]
-                                                         Please refer to the 
previous Group By Operator [GBY_340]
-                                                    <-Reducer 32 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_356]
-                                                        Group By Operator 
[GBY_355] (rows=1 width=12)
-                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=14398467)"]
-                                                        <-Map 31 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          
PARTITION_ONLY_SHUFFLE [RS_353]
-                                                            Group By Operator 
[GBY_351] (rows=1 width=12)
-                                                              
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=14398467)"]
-                                                              Select Operator 
[SEL_349] (rows=14398467 width=92)
-                                                                
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_347]
-                                                    <-Reducer 33 
[BROADCAST_EDGE] vectorized
-                                                      BROADCAST [RS_358]
-                                                        Group By Operator 
[GBY_357] (rows=1 width=12)
-                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=14398467)"]
-                                                        <-Map 31 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                          
PARTITION_ONLY_SHUFFLE [RS_354]
-                                                            Group By Operator 
[GBY_352] (rows=1 width=12)
-                                                              
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=14398467)"]
-                                                              Select Operator 
[SEL_350] (rows=14398467 width=92)
-                                                                
Output:["_col0"]
-                                                                 Please refer 
to the previous Select Operator [SEL_347]
+                        Top N Key Operator [TNK_332] (rows=757932601 width=110)
+                          keys:_col0, _col1, 0L,sort order:+++,top n:100
+                          Select Operator [SEL_331] (rows=182955399 width=135)
+                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                            Group By Operator [GBY_330] (rows=182955399 
width=135)
+                              
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
+                            <-Reducer 17 [SIMPLE_EDGE]
+                              SHUFFLE [RS_80]
+                                PartitionCols:_col0
+                                Group By Operator [GBY_79] (rows=365910798 
width=135)
+                                  
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
+                                  Merge Join Operator [MERGEJOIN_224] 
(rows=365910798 width=135)
+                                    
Conds:RS_75._col0=RS_326._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
+                                  <-Map 34 [SIMPLE_EDGE] vectorized
+                                    PARTITION_ONLY_SHUFFLE [RS_326]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_325] (rows=84 
width=1850)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_324] (rows=84 
width=1850)
+                                          predicate:web_site_sk is not null
+                                          TableScan [TS_69] (rows=84 
width=1850)
+                                            
default@web_site,web_site,Tbl:COMPLETE,Col:NONE,Output:["web_site_sk","web_site_id"]
+                                  <-Reducer 16 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_75]
+                                      PartitionCols:_col0
+                                      Merge Join Operator [MERGEJOIN_223] 
(rows=332646173 width=135)
+                                        Conds:Union 
28._col1=RS_278._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
+                                      <-Map 10 [SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_278]
+                                          PartitionCols:_col0
+                                           Please refer to the previous Select 
Operator [SEL_273]
+                                      <-Union 28 [SIMPLE_EDGE]
+                                        <-Map 27 [CONTAINS] vectorized
+                                          Reduce Output Operator [RS_352]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_351] 
(rows=144002668 width=135)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_350] 
(rows=144002668 width=135)
+                                                predicate:((ws_sold_date_sk 
BETWEEN DynamicValue(RS_73_date_dim_d_date_sk_min) AND 
DynamicValue(RS_73_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, 
DynamicValue(RS_73_date_dim_d_date_sk_bloom_filter))) and (ws_web_site_sk 
BETWEEN DynamicValue(RS_76_web_site_web_site_sk_min) AND 
DynamicValue(RS_76_web_site_web_site_sk_max) and 
in_bloom_filter(ws_web_site_sk, 
DynamicValue(RS_76_web_site_web_site_sk_bloom_filter))) and ws_sold_date_sk is 
not null and ws_web_site_sk is not null)
+                                                TableScan [TS_263] 
(rows=144002668 width=135)
+                                                  
Output:["ws_sold_date_sk","ws_web_site_sk","ws_ext_sales_price","ws_net_profit"]
+                                                <-Reducer 35 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_348]
+                                                    Group By Operator 
[GBY_347] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 34 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      PARTITION_ONLY_SHUFFLE 
[RS_329]
+                                                        Group By Operator 
[GBY_328] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_327] (rows=84 width=1850)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_325]
+                                                <-Reducer 19 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_346]
+                                                    Group By Operator 
[GBY_345] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      SHUFFLE [RS_285]
+                                                        Group By Operator 
[GBY_282] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_279] (rows=8116 width=1119)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_273]
+                                        <-Reducer 30 [CONTAINS]
+                                          Reduce Output Operator [RS_271]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_269] 
(rows=158402938 width=135)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Merge Join Operator 
[MERGEJOIN_268] (rows=158402938 width=135)
+                                                Conds:RS_368._col0, 
_col2=RS_355._col1, _col2(Inner),Output:["_col1","_col3","_col6","_col7"]
+                                              <-Map 31 [SIMPLE_EDGE] vectorized
+                                                PARTITION_ONLY_SHUFFLE [RS_355]
+                                                  PartitionCols:_col1, _col2
+                                                  Select Operator [SEL_354] 
(rows=14398467 width=92)
+                                                    
Output:["_col0","_col1","_col2","_col3","_col4"]
+                                                    Filter Operator [FIL_353] 
(rows=14398467 width=92)
+                                                      predicate:(wr_item_sk is 
not null and wr_order_number is not null and wr_returned_date_sk is not null)
+                                                      TableScan [TS_57] 
(rows=14398467 width=92)
+                                                        
default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_returned_date_sk","wr_item_sk","wr_order_number","wr_return_amt","wr_net_loss"]
+                                              <-Map 29 [SIMPLE_EDGE] vectorized
+                                                SHUFFLE [RS_368]
+                                                  PartitionCols:_col0, _col2
+                                                  Select Operator [SEL_367] 
(rows=144002668 width=135)
+                                                    
Output:["_col0","_col1","_col2"]
+                                                    Filter Operator [FIL_366] 
(rows=144002668 width=135)
+                                                      predicate:((ws_item_sk 
BETWEEN DynamicValue(RS_61_web_returns_wr_item_sk_min) AND 
DynamicValue(RS_61_web_returns_wr_item_sk_max) and in_bloom_filter(ws_item_sk, 
DynamicValue(RS_61_web_returns_wr_item_sk_bloom_filter))) and (ws_order_number 
BETWEEN DynamicValue(RS_61_web_returns_wr_order_number_min) AND 
DynamicValue(RS_61_web_returns_wr_order_number_max) and 
in_bloom_filter(ws_order_number, 
DynamicValue(RS_61_web_returns_wr_order_number_bloom_filter))) and 
(ws_web_site_sk BETWEEN DynamicValue(RS_76_web_site_web_site_sk_min) AND 
DynamicValue(RS_76_web_site_web_site_sk_max) and 
in_bloom_filter(ws_web_site_sk, 
DynamicValue(RS_76_web_site_web_site_sk_bloom_filter))) and ws_item_sk is not 
null and ws_order_number is not null and ws_web_site_sk is not null)
+                                                      TableScan [TS_54] 
(rows=144002668 width=135)
+                                                        
default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_item_sk","ws_web_site_sk","ws_order_number"]
+                                                      <-Reducer 35 
[BROADCAST_EDGE] vectorized
+                                                        BROADCAST [RS_349]
+                                                           Please refer to the 
previous Group By Operator [GBY_347]
+                                                      <-Reducer 32 
[BROADCAST_EDGE] vectorized
+                                                        BROADCAST [RS_363]
+                                                          Group By Operator 
[GBY_362] (rows=1 width=12)
+                                                            
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=14398467)"]
+                                                          <-Map 31 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                            
PARTITION_ONLY_SHUFFLE [RS_360]
+                                                              Group By 
Operator [GBY_358] (rows=1 width=12)
+                                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=14398467)"]
+                                                                Select 
Operator [SEL_356] (rows=14398467 width=92)
+                                                                  
Output:["_col0"]
+                                                                   Please 
refer to the previous Select Operator [SEL_354]
+                                                      <-Reducer 33 
[BROADCAST_EDGE] vectorized
+                                                        BROADCAST [RS_365]
+                                                          Group By Operator 
[GBY_364] (rows=1 width=12)
+                                                            
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=14398467)"]
+                                                          <-Map 31 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                            
PARTITION_ONLY_SHUFFLE [RS_361]
+                                                              Group By 
Operator [GBY_359] (rows=1 width=12)
+                                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=14398467)"]
+                                                                Select 
Operator [SEL_357] (rows=14398467 width=92)
+                                                                  
Output:["_col0"]
+                                                                   Please 
refer to the previous Select Operator [SEL_354]
                   <-Reducer 5 [CONTAINS] vectorized
-                    Reduce Output Operator [RS_298]
+                    Reduce Output Operator [RS_303]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_297] (rows=2273797803 width=110)
+                      Group By Operator [GBY_302] (rows=2273797803 width=110)
                         
Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0,
 _col1, 0L
-                        Select Operator [SEL_296] (rows=383320021 width=87)
-                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_295] (rows=383320021 width=87)
-                            
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
-                          <-Reducer 4 [SIMPLE_EDGE]
-                            SHUFFLE [RS_22]
-                              PartitionCols:_col0
-                              Group By Operator [GBY_21] (rows=766640042 
width=87)
-                                
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
-                                Merge Join Operator [MERGEJOIN_219] 
(rows=766640042 width=87)
-                                  
Conds:RS_17._col0=RS_286._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
-                                <-Map 20 [SIMPLE_EDGE] vectorized
-                                  SHUFFLE [RS_286]
-                                    PartitionCols:_col0
-                                    Select Operator [SEL_285] (rows=1704 
width=1910)
-                                      Output:["_col0","_col1"]
-                                      Filter Operator [FIL_284] (rows=1704 
width=1910)
-                                        predicate:s_store_sk is not null
-                                        TableScan [TS_11] (rows=1704 
width=1910)
-                                          
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id"]
-                                <-Reducer 3 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_17]
-                                    PartitionCols:_col0
-                                    Merge Join Operator [MERGEJOIN_218] 
(rows=696945478 width=87)
-                                      Conds:Union 
2._col1=RS_270._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
-                                    <-Map 10 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_270]
-                                        PartitionCols:_col0
-                                         Please refer to the previous Select 
Operator [SEL_269]
-                                    <-Union 2 [SIMPLE_EDGE]
-                                      <-Map 1 [CONTAINS] vectorized
-                                        Reduce Output Operator [RS_294]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_293] 
(rows=575995635 width=88)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_292] 
(rows=575995635 width=88)
-                                              predicate:((ss_sold_date_sk 
BETWEEN DynamicValue(RS_15_date_dim_d_date_sk_min) AND 
DynamicValue(RS_15_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_15_date_dim_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_18_store_s_store_sk_min) AND 
DynamicValue(RS_18_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_18_store_s_store_sk_bloom_filter))) and ss_sold_date_sk is not 
null and ss_store_sk is not null)
-                                              TableScan [TS_224] 
(rows=575995635 width=88)
-                                                
Output:["ss_sold_date_sk","ss_store_sk","ss_ext_sales_price","ss_net_profit"]
-                                              <-Reducer 11 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_283]
-                                                  Group By Operator [GBY_282] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    SHUFFLE [RS_279]
-                                                      Group By Operator 
[GBY_276] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_271] (rows=8116 width=1119)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_269]
-                                              <-Reducer 21 [BROADCAST_EDGE] 
vectorized
-                                                BROADCAST [RS_291]
-                                                  Group By Operator [GBY_290] 
(rows=1 width=12)
-                                                    
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                                  <-Map 20 
[CUSTOM_SIMPLE_EDGE] vectorized
-                                                    SHUFFLE [RS_289]
-                                                      Group By Operator 
[GBY_288] (rows=1 width=12)
-                                                        
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                        Select Operator 
[SEL_287] (rows=1704 width=1910)
-                                                          Output:["_col0"]
-                                                           Please refer to the 
previous Select Operator [SEL_285]
-                                      <-Map 9 [CONTAINS] vectorized
-                                        Reduce Output Operator [RS_307]
-                                          PartitionCols:_col1
-                                          Select Operator [SEL_306] 
(rows=57591150 width=77)
-                                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                            Filter Operator [FIL_305] 
(rows=57591150 width=77)
-                                              predicate:(sr_returned_date_sk 
is not null and sr_store_sk is not null)
-                                              TableScan [TS_234] 
(rows=57591150 width=77)
-                                                
Output:["sr_returned_date_sk","sr_store_sk","sr_return_amt","sr_net_loss"]
+                        Top N Key Operator [TNK_301] (rows=757932601 width=110)
+                          keys:_col0, _col1, 0L,sort order:+++,top n:100
+                          Select Operator [SEL_300] (rows=383320021 width=87)
+                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                            Group By Operator [GBY_299] (rows=383320021 
width=87)
+                              
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0
+                            <-Reducer 4 [SIMPLE_EDGE]
+                              SHUFFLE [RS_22]
+                                PartitionCols:_col0
+                                Group By Operator [GBY_21] (rows=766640042 
width=87)
+                                  
Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col2)","sum(_col4)","sum(_col3)","sum(_col5)"],keys:_col9
+                                  Merge Join Operator [MERGEJOIN_220] 
(rows=766640042 width=87)
+                                    
Conds:RS_17._col0=RS_290._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col9"]
+                                  <-Map 20 [SIMPLE_EDGE] vectorized
+                                    SHUFFLE [RS_290]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_289] (rows=1704 
width=1910)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_288] (rows=1704 
width=1910)
+                                          predicate:s_store_sk is not null
+                                          TableScan [TS_11] (rows=1704 
width=1910)
+                                            
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id"]
+                                  <-Reducer 3 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_17]
+                                      PartitionCols:_col0
+                                      Merge Join Operator [MERGEJOIN_219] 
(rows=696945478 width=87)
+                                        Conds:Union 
2._col1=RS_274._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5"]
+                                      <-Map 10 [SIMPLE_EDGE] vectorized
+                                        SHUFFLE [RS_274]
+                                          PartitionCols:_col0
+                                           Please refer to the previous Select 
Operator [SEL_273]
+                                      <-Union 2 [SIMPLE_EDGE]
+                                        <-Map 1 [CONTAINS] vectorized
+                                          Reduce Output Operator [RS_298]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_297] 
(rows=575995635 width=88)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_296] 
(rows=575995635 width=88)
+                                                predicate:((ss_sold_date_sk 
BETWEEN DynamicValue(RS_15_date_dim_d_date_sk_min) AND 
DynamicValue(RS_15_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_15_date_dim_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_18_store_s_store_sk_min) AND 
DynamicValue(RS_18_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_18_store_s_store_sk_bloom_filter))) and ss_sold_date_sk is not 
null and ss_store_sk is not null)
+                                                TableScan [TS_225] 
(rows=575995635 width=88)
+                                                  
Output:["ss_sold_date_sk","ss_store_sk","ss_ext_sales_price","ss_net_profit"]
+                                                <-Reducer 11 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_287]
+                                                    Group By Operator 
[GBY_286] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 10 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      SHUFFLE [RS_283]
+                                                        Group By Operator 
[GBY_280] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_275] (rows=8116 width=1119)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_273]
+                                                <-Reducer 21 [BROADCAST_EDGE] 
vectorized
+                                                  BROADCAST [RS_295]
+                                                    Group By Operator 
[GBY_294] (rows=1 width=12)
+                                                      
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                                    <-Map 20 
[CUSTOM_SIMPLE_EDGE] vectorized
+                                                      SHUFFLE [RS_293]
+                                                        Group By Operator 
[GBY_292] (rows=1 width=12)
+                                                          
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                          Select Operator 
[SEL_291] (rows=1704 width=1910)
+                                                            Output:["_col0"]
+                                                             Please refer to 
the previous Select Operator [SEL_289]
+                                        <-Map 9 [CONTAINS] vectorized
+                                          Reduce Output Operator [RS_312]
+                                            PartitionCols:_col1
+                                            Select Operator [SEL_311] 
(rows=57591150 width=77)
+                                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_310] 
(rows=57591150 width=77)
+                                                predicate:(sr_returned_date_sk 
is not null and sr_store_sk is not null)
+                                                TableScan [TS_236] 
(rows=57591150 width=77)
+                                                  
Output:["sr_returned_date_sk","sr_store_sk","sr_return_amt","sr_net_loss"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/851c8aba/ql/src/test/results/clientpositive/perf/tez/query50.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query50.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query50.q.out
index e723140..efbae5c 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query50.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query50.q.out
@@ -135,137 +135,139 @@ Stage-0
     limit:100
     Stage-1
       Reducer 7 vectorized
-      File Output Operator [FS_155]
-        Limit [LIM_154] (rows=100 width=88)
+      File Output Operator [FS_156]
+        Limit [LIM_155] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_153] (rows=383325119 width=88)
+          Select Operator [SEL_154] (rows=383325119 width=88)
             
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
           <-Reducer 6 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_152]
-              Group By Operator [GBY_151] (rows=383325119 width=88)
+            SHUFFLE [RS_153]
+              Group By Operator [GBY_152] (rows=383325119 width=88)
                 
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)"],keys:KEY._col0,
 KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, 
KEY._col8, KEY._col9
               <-Reducer 5 [SIMPLE_EDGE]
                 SHUFFLE [RS_30]
                   PartitionCols:_col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9
                   Group By Operator [GBY_29] (rows=766650239 width=88)
                     
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"],aggregations:["sum(_col10)","sum(_col11)","sum(_col12)","sum(_col13)","sum(_col14)"],keys:_col0,
 _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9
-                    Select Operator [SEL_27] (rows=766650239 width=88)
-                      
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
-                      Merge Join Operator [MERGEJOIN_119] (rows=766650239 
width=88)
-                        
Conds:RS_24._col10=RS_142._col0(Inner),Output:["_col0","_col7","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"]
-                      <-Map 15 [SIMPLE_EDGE] vectorized
-                        SHUFFLE [RS_142]
-                          PartitionCols:_col0
-                          Select Operator [SEL_141] (rows=1704 width=1910)
-                            
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"]
-                            Filter Operator [FIL_140] (rows=1704 width=1910)
-                              predicate:s_store_sk is not null
-                              TableScan [TS_12] (rows=1704 width=1910)
-                                
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_company_id","s_street_number","s_street_name","s_street_type","s_suite_number","s_city","s_county","s_state","s_zip"]
-                      <-Reducer 4 [SIMPLE_EDGE]
-                        SHUFFLE [RS_24]
-                          PartitionCols:_col10
-                          Merge Join Operator [MERGEJOIN_118] (rows=696954748 
width=88)
-                            
Conds:RS_21._col7=RS_134._col0(Inner),Output:["_col0","_col7","_col10"]
-                          <-Map 13 [SIMPLE_EDGE] vectorized
-                            SHUFFLE [RS_134]
-                              PartitionCols:_col0
-                              Select Operator [SEL_133] (rows=73049 width=1119)
-                                Output:["_col0"]
-                                Filter Operator [FIL_132] (rows=73049 
width=1119)
-                                  predicate:d_date_sk is not null
-                                  TableScan [TS_9] (rows=73049 width=1119)
-                                    
default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk"]
-                          <-Reducer 3 [SIMPLE_EDGE]
-                            SHUFFLE [RS_21]
-                              PartitionCols:_col7
-                              Merge Join Operator [MERGEJOIN_117] 
(rows=633595212 width=88)
-                                Conds:RS_18._col1, _col2, _col3=RS_150._col1, 
_col2, _col4(Inner),Output:["_col0","_col7","_col10"]
-                              <-Reducer 2 [SIMPLE_EDGE]
-                                PARTITION_ONLY_SHUFFLE [RS_18]
-                                  PartitionCols:_col1, _col2, _col3
-                                  Merge Join Operator [MERGEJOIN_116] 
(rows=63350266 width=77)
-                                    
Conds:RS_122._col0=RS_125._col0(Inner),Output:["_col0","_col1","_col2","_col3"]
-                                  <-Map 1 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_122]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_121] (rows=57591150 
width=77)
-                                        
Output:["_col0","_col1","_col2","_col3"]
-                                        Filter Operator [FIL_120] 
(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_0] (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"]
-                                  <-Map 11 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_125]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_124] (rows=18262 
width=1119)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_123] (rows=18262 
width=1119)
-                                          predicate:((d_moy = 9) and (d_year = 
2000) and d_date_sk is not null)
-                                          TableScan [TS_3] (rows=73049 
width=1119)
-                                            
default@date_dim,d2,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
-                              <-Map 12 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_150]
-                                  PartitionCols:_col1, _col2, _col4
-                                  Select Operator [SEL_149] (rows=575995635 
width=88)
-                                    
Output:["_col0","_col1","_col2","_col3","_col4"]
-                                    Filter Operator [FIL_148] (rows=575995635 
width=88)
-                                      predicate:((ss_customer_sk BETWEEN 
DynamicValue(RS_18_store_returns_sr_customer_sk_min) AND 
DynamicValue(RS_18_store_returns_sr_customer_sk_max) and 
in_bloom_filter(ss_customer_sk, 
DynamicValue(RS_18_store_returns_sr_customer_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_18_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_18_store_returns_sr_item_sk_max) and 
in_bloom_filter(ss_item_sk, 
DynamicValue(RS_18_store_returns_sr_item_sk_bloom_filter))) and 
(ss_sold_date_sk BETWEEN DynamicValue(RS_22_d1_d_date_sk_min) AND 
DynamicValue(RS_22_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_22_d1_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_25_store_s_store_sk_min) AND 
DynamicValue(RS_25_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_25_store_s_store_sk_bloom_filter))) and (ss_ticket_number 
BETWEEN DynamicValue(RS_18_store_returns_sr_ticket_number_min) AND 
DynamicValue(RS_18_
 store_returns_sr_ticket_number_max) and in_bloom_filter(ss_ticket_number, 
DynamicValue(RS_18_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"]
-                                      <-Reducer 10 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_131]
-                                          Group By Operator [GBY_130] (rows=1 
width=12)
-                                            
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
-                                          <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
-                                            PARTITION_ONLY_SHUFFLE [RS_93]
-                                              Group By Operator [GBY_92] 
(rows=1 width=12)
-                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
-                                                Select Operator [SEL_91] 
(rows=63350266 width=77)
-                                                  Output:["_col0"]
-                                                   Please refer to the 
previous Merge Join Operator [MERGEJOIN_116]
-                                      <-Reducer 14 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_139]
-                                          Group By Operator [GBY_138] (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_137]
-                                              Group By Operator [GBY_136] 
(rows=1 width=12)
-                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                Select Operator [SEL_135] 
(rows=73049 width=1119)
-                                                  Output:["_col0"]
-                                                   Please refer to the 
previous Select Operator [SEL_133]
-                                      <-Reducer 16 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_147]
-                                          Group By Operator [GBY_146] (rows=1 
width=12)
-                                            
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
-                                          <-Map 15 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                            SHUFFLE [RS_145]
-                                              Group By Operator [GBY_144] 
(rows=1 width=12)
-                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
-                                                Select Operator [SEL_143] 
(rows=1704 width=1910)
-                                                  Output:["_col0"]
-                                                   Please refer to the 
previous Select Operator [SEL_141]
-                                      <-Reducer 8 [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=63350264)"]
-                                          <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
-                                            PARTITION_ONLY_SHUFFLE [RS_83]
-                                              Group By Operator [GBY_82] 
(rows=1 width=12)
-                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
-                                                Select Operator [SEL_81] 
(rows=63350266 width=77)
-                                                  Output:["_col0"]
-                                                   Please refer to the 
previous Merge Join Operator [MERGEJOIN_116]
-                                      <-Reducer 9 [BROADCAST_EDGE] vectorized
-                                        BROADCAST [RS_129]
-                                          Group By Operator [GBY_128] (rows=1 
width=12)
-                                            
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
-                                          <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
-                                            PARTITION_ONLY_SHUFFLE [RS_88]
-                                              Group By Operator [GBY_87] 
(rows=1 width=12)
-                                                
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
-                                                Select Operator [SEL_86] 
(rows=63350266 width=77)
-                                                  Output:["_col0"]
-                                                   Please refer to the 
previous Merge Join Operator [MERGEJOIN_116]
+                    Top N Key Operator [TNK_56] (rows=766650239 width=88)
+                      keys:_col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9,sort order:++++++++++,top n:100
+                      Select Operator [SEL_27] (rows=766650239 width=88)
+                        
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14"]
+                        Merge Join Operator [MERGEJOIN_120] (rows=766650239 
width=88)
+                          
Conds:RS_24._col10=RS_143._col0(Inner),Output:["_col0","_col7","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"]
+                        <-Map 15 [SIMPLE_EDGE] vectorized
+                          SHUFFLE [RS_143]
+                            PartitionCols:_col0
+                            Select Operator [SEL_142] (rows=1704 width=1910)
+                              
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10"]
+                              Filter Operator [FIL_141] (rows=1704 width=1910)
+                                predicate:s_store_sk is not null
+                                TableScan [TS_12] (rows=1704 width=1910)
+                                  
default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_company_id","s_street_number","s_street_name","s_street_type","s_suite_number","s_city","s_county","s_state","s_zip"]
+                        <-Reducer 4 [SIMPLE_EDGE]
+                          SHUFFLE [RS_24]
+                            PartitionCols:_col10
+                            Merge Join Operator [MERGEJOIN_119] 
(rows=696954748 width=88)
+                              
Conds:RS_21._col7=RS_135._col0(Inner),Output:["_col0","_col7","_col10"]
+                            <-Map 13 [SIMPLE_EDGE] vectorized
+                              SHUFFLE [RS_135]
+                                PartitionCols:_col0
+                                Select Operator [SEL_134] (rows=73049 
width=1119)
+                                  Output:["_col0"]
+                                  Filter Operator [FIL_133] (rows=73049 
width=1119)
+                                    predicate:d_date_sk is not null
+                                    TableScan [TS_9] (rows=73049 width=1119)
+                                      
default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk"]
+                            <-Reducer 3 [SIMPLE_EDGE]
+                              SHUFFLE [RS_21]
+                                PartitionCols:_col7
+                                Merge Join Operator [MERGEJOIN_118] 
(rows=633595212 width=88)
+                                  Conds:RS_18._col1, _col2, 
_col3=RS_151._col1, _col2, _col4(Inner),Output:["_col0","_col7","_col10"]
+                                <-Reducer 2 [SIMPLE_EDGE]
+                                  PARTITION_ONLY_SHUFFLE [RS_18]
+                                    PartitionCols:_col1, _col2, _col3
+                                    Merge Join Operator [MERGEJOIN_117] 
(rows=63350266 width=77)
+                                      
Conds:RS_123._col0=RS_126._col0(Inner),Output:["_col0","_col1","_col2","_col3"]
+                                    <-Map 1 [SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_123]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_122] 
(rows=57591150 width=77)
+                                          
Output:["_col0","_col1","_col2","_col3"]
+                                          Filter Operator [FIL_121] 
(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_0] (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"]
+                                    <-Map 11 [SIMPLE_EDGE] vectorized
+                                      SHUFFLE [RS_126]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_125] (rows=18262 
width=1119)
+                                          Output:["_col0"]
+                                          Filter Operator [FIL_124] 
(rows=18262 width=1119)
+                                            predicate:((d_moy = 9) and (d_year 
= 2000) and d_date_sk is not null)
+                                            TableScan [TS_3] (rows=73049 
width=1119)
+                                              
default@date_dim,d2,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                                <-Map 12 [SIMPLE_EDGE] vectorized
+                                  SHUFFLE [RS_151]
+                                    PartitionCols:_col1, _col2, _col4
+                                    Select Operator [SEL_150] (rows=575995635 
width=88)
+                                      
Output:["_col0","_col1","_col2","_col3","_col4"]
+                                      Filter Operator [FIL_149] 
(rows=575995635 width=88)
+                                        predicate:((ss_customer_sk BETWEEN 
DynamicValue(RS_18_store_returns_sr_customer_sk_min) AND 
DynamicValue(RS_18_store_returns_sr_customer_sk_max) and 
in_bloom_filter(ss_customer_sk, 
DynamicValue(RS_18_store_returns_sr_customer_sk_bloom_filter))) and (ss_item_sk 
BETWEEN DynamicValue(RS_18_store_returns_sr_item_sk_min) AND 
DynamicValue(RS_18_store_returns_sr_item_sk_max) and 
in_bloom_filter(ss_item_sk, 
DynamicValue(RS_18_store_returns_sr_item_sk_bloom_filter))) and 
(ss_sold_date_sk BETWEEN DynamicValue(RS_22_d1_d_date_sk_min) AND 
DynamicValue(RS_22_d1_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, 
DynamicValue(RS_22_d1_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN 
DynamicValue(RS_25_store_s_store_sk_min) AND 
DynamicValue(RS_25_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, 
DynamicValue(RS_25_store_s_store_sk_bloom_filter))) and (ss_ticket_number 
BETWEEN DynamicValue(RS_18_store_returns_sr_ticket_number_min) AND 
DynamicValue(RS_1
 8_store_returns_sr_ticket_number_max) and in_bloom_filter(ss_ticket_number, 
DynamicValue(RS_18_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"]
+                                        <-Reducer 10 [BROADCAST_EDGE] 
vectorized
+                                          BROADCAST [RS_132]
+                                            Group By Operator [GBY_131] 
(rows=1 width=12)
+                                              
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
+                                            <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
+                                              PARTITION_ONLY_SHUFFLE [RS_94]
+                                                Group By Operator [GBY_93] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
+                                                  Select Operator [SEL_92] 
(rows=63350266 width=77)
+                                                    Output:["_col0"]
+                                                     Please refer to the 
previous Merge Join Operator [MERGEJOIN_117]
+                                        <-Reducer 14 [BROADCAST_EDGE] 
vectorized
+                                          BROADCAST [RS_140]
+                                            Group By Operator [GBY_139] 
(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_138]
+                                                Group By Operator [GBY_137] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                  Select Operator [SEL_136] 
(rows=73049 width=1119)
+                                                    Output:["_col0"]
+                                                     Please refer to the 
previous Select Operator [SEL_134]
+                                        <-Reducer 16 [BROADCAST_EDGE] 
vectorized
+                                          BROADCAST [RS_148]
+                                            Group By Operator [GBY_147] 
(rows=1 width=12)
+                                              
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=1000000)"]
+                                            <-Map 15 [CUSTOM_SIMPLE_EDGE] 
vectorized
+                                              SHUFFLE [RS_146]
+                                                Group By Operator [GBY_145] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=1000000)"]
+                                                  Select Operator [SEL_144] 
(rows=1704 width=1910)
+                                                    Output:["_col0"]
+                                                     Please refer to the 
previous Select Operator [SEL_142]
+                                        <-Reducer 8 [BROADCAST_EDGE] vectorized
+                                          BROADCAST [RS_128]
+                                            Group By Operator [GBY_127] 
(rows=1 width=12)
+                                              
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
+                                            <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
+                                              PARTITION_ONLY_SHUFFLE [RS_84]
+                                                Group By Operator [GBY_83] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
+                                                  Select Operator [SEL_82] 
(rows=63350266 width=77)
+                                                    Output:["_col0"]
+                                                     Please refer to the 
previous Merge Join Operator [MERGEJOIN_117]
+                                        <-Reducer 9 [BROADCAST_EDGE] vectorized
+                                          BROADCAST [RS_130]
+                                            Group By Operator [GBY_129] 
(rows=1 width=12)
+                                              
Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2,
 expectedEntries=63350264)"]
+                                            <-Reducer 2 [CUSTOM_SIMPLE_EDGE]
+                                              PARTITION_ONLY_SHUFFLE [RS_89]
+                                                Group By Operator [GBY_88] 
(rows=1 width=12)
+                                                  
Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0,
 expectedEntries=63350264)"]
+                                                  Select Operator [SEL_87] 
(rows=63350266 width=77)
+                                                    Output:["_col0"]
+                                                     Please refer to the 
previous Merge Join Operator [MERGEJOIN_117]
 

Reply via email to