hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject [04/15] hive git commit: HIVE-13542 : Missing stats for tables in TPCDS performance regression suite (Hari Subramaniyan via Ashutosh Chauhan)
Date Fri, 06 May 2016 20:55:56 GMT
http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query80.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query80.q.out b/ql/src/test/results/clientpositive/perf/query80.q.out
index 014a621..b1b98cb 100644
--- a/ql/src/test/results/clientpositive/perf/query80.q.out
+++ b/ql/src/test/results/clientpositive/perf/query80.q.out
@@ -32,76 +32,76 @@ Stage-0
     Stage-1
       Reducer 10
       File Output Operator [FS_128]
-        Limit [LIM_127] (rows=100 width=1436)
+        Limit [LIM_127] (rows=100 width=108)
           Number of rows:100
-          Select Operator [SEL_126] (rows=419265 width=1436)
+          Select Operator [SEL_126] (rows=1217531358 width=108)
             Output:["_col0","_col1","_col2","_col3","_col4"]
           <-Reducer 9 [SIMPLE_EDGE]
             SHUFFLE [RS_125]
-              Select Operator [SEL_124] (rows=419265 width=1436)
+              Select Operator [SEL_124] (rows=1217531358 width=108)
                 Output:["_col0","_col1","_col2","_col3","_col4"]
-                Group By Operator [GBY_123] (rows=419265 width=1436)
+                Group By Operator [GBY_123] (rows=1217531358 width=108)
                   Output:["_col0","_col1","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0, KEY._col1, KEY._col2
                 <-Union 8 [SIMPLE_EDGE]
                   <-Reducer 22 [CONTAINS]
                     Reduce Output Operator [RS_122]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_121] (rows=838530 width=1436)
+                      Group By Operator [GBY_121] (rows=2435062716 width=108)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0, _col1, '0'
-                        Select Operator [SEL_77] (rows=93170 width=1436)
+                        Select Operator [SEL_77] (rows=231905279 width=135)
                           Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_76] (rows=93170 width=1436)
+                          Group By Operator [GBY_76] (rows=231905279 width=135)
                             Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0
                           <-Reducer 21 [SIMPLE_EDGE]
                             SHUFFLE [RS_75]
                               PartitionCols:_col0
-                              Group By Operator [GBY_74] (rows=186340 width=1436)
+                              Group By Operator [GBY_74] (rows=463810558 width=135)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col1)","sum(_col2)","sum(_col3)"],keys:_col0
-                                Select Operator [SEL_72] (rows=186340 width=1436)
+                                Select Operator [SEL_72] (rows=463810558 width=135)
                                   Output:["_col0","_col1","_col2","_col3"]
-                                  Merge Join Operator [MERGEJOIN_213] (rows=186340 width=1436)
-                                    Conds:RS_69._col3=RS_70._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col14"]
+                                  Merge Join Operator [MERGEJOIN_213] (rows=463810558 width=135)
+                                    Conds:RS_69._col1=RS_70._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col18"]
                                   <-Map 27 [SIMPLE_EDGE]
                                     SHUFFLE [RS_70]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_56] (rows=1150 width=1179)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_197] (rows=1150 width=1179)
-                                          predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
-                                          TableScan [TS_54] (rows=2300 width=1179)
-                                            default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
+                                      Select Operator [SEL_56] (rows=46000 width=460)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_197] (rows=46000 width=460)
+                                          predicate:cp_catalog_page_sk is not null
+                                          TableScan [TS_54] (rows=46000 width=460)
+                                            default@catalog_page,catalog_page,Tbl:COMPLETE,Col:NONE,Output:["cp_catalog_page_sk","cp_catalog_page_id"]
                                   <-Reducer 20 [SIMPLE_EDGE]
                                     SHUFFLE [RS_69]
-                                      PartitionCols:_col3
-                                      Merge Join Operator [MERGEJOIN_212] (rows=169400 width=1436)
-                                        Conds:RS_66._col2=RS_67._col0(Inner),Output:["_col3","_col5","_col6","_col9","_col10","_col14"]
+                                      PartitionCols:_col1
+                                      Merge Join Operator [MERGEJOIN_212] (rows=421645953 width=135)
+                                        Conds:RS_66._col3=RS_67._col0(Inner),Output:["_col1","_col5","_col6","_col9","_col10"]
                                       <-Map 26 [SIMPLE_EDGE]
                                         SHUFFLE [RS_67]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_53] (rows=154000 width=1436)
+                                          Select Operator [SEL_53] (rows=1150 width=1179)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_196] (rows=154000 width=1436)
-                                              predicate:((i_current_price > 50) and i_item_sk is not null)
-                                              TableScan [TS_51] (rows=462000 width=1436)
-                                                default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
+                                            Filter Operator [FIL_196] (rows=1150 width=1179)
+                                              predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
+                                              TableScan [TS_51] (rows=2300 width=1179)
+                                                default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
                                       <-Reducer 19 [SIMPLE_EDGE]
                                         SHUFFLE [RS_66]
-                                          PartitionCols:_col2
-                                          Merge Join Operator [MERGEJOIN_211] (rows=50600 width=460)
-                                            Conds:RS_63._col1=RS_64._col0(Inner),Output:["_col2","_col3","_col5","_col6","_col9","_col10","_col14"]
+                                          PartitionCols:_col3
+                                          Merge Join Operator [MERGEJOIN_211] (rows=383314495 width=135)
+                                            Conds:RS_63._col2=RS_64._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col9","_col10"]
                                           <-Map 25 [SIMPLE_EDGE]
                                             SHUFFLE [RS_64]
                                               PartitionCols:_col0
-                                              Select Operator [SEL_50] (rows=46000 width=460)
-                                                Output:["_col0","_col1"]
-                                                Filter Operator [FIL_195] (rows=46000 width=460)
-                                                  predicate:cp_catalog_page_sk is not null
-                                                  TableScan [TS_48] (rows=46000 width=460)
-                                                    default@catalog_page,catalog_page,Tbl:COMPLETE,Col:NONE,Output:["cp_catalog_page_sk","cp_catalog_page_id"]
+                                              Select Operator [SEL_50] (rows=154000 width=1436)
+                                                Output:["_col0"]
+                                                Filter Operator [FIL_195] (rows=154000 width=1436)
+                                                  predicate:((i_current_price > 50) and i_item_sk is not null)
+                                                  TableScan [TS_48] (rows=462000 width=1436)
+                                                    default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
                                           <-Reducer 18 [SIMPLE_EDGE]
                                             SHUFFLE [RS_63]
-                                              PartitionCols:_col1
-                                              Merge Join Operator [MERGEJOIN_210] (rows=40176 width=1119)
+                                              PartitionCols:_col2
+                                              Merge Join Operator [MERGEJOIN_210] (rows=348467716 width=135)
                                                 Conds:RS_60._col0=RS_61._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                               <-Map 24 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_61]
@@ -115,85 +115,85 @@ Stage-0
                                               <-Reducer 17 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_60]
                                                   PartitionCols:_col0
-                                                  Merge Join Operator [MERGEJOIN_209] (rows=1 width=0)
+                                                  Merge Join Operator [MERGEJOIN_209] (rows=316788826 width=135)
                                                     Conds:RS_57._col2, _col4=RS_58._col0, _col1(Left Outer),Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                                   <-Map 16 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_57]
                                                       PartitionCols:_col2, _col4
-                                                      Select Operator [SEL_41] (rows=1 width=0)
+                                                      Select Operator [SEL_41] (rows=287989836 width=135)
                                                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                        Filter Operator [FIL_192] (rows=1 width=0)
+                                                        Filter Operator [FIL_192] (rows=287989836 width=135)
                                                           predicate:(cs_sold_date_sk is not null and cs_catalog_page_sk is not null and cs_item_sk is not null and cs_promo_sk is not null)
-                                                          TableScan [TS_39] (rows=1 width=0)
-                                                            default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_catalog_page_sk","cs_item_sk","cs_promo_sk","cs_order_number","cs_ext_sales_price","cs_net_profit"]
+                                                          TableScan [TS_39] (rows=287989836 width=135)
+                                                            default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_catalog_page_sk","cs_item_sk","cs_promo_sk","cs_order_number","cs_ext_sales_price","cs_net_profit"]
                                                   <-Map 23 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_58]
                                                       PartitionCols:_col0, _col1
-                                                      Select Operator [SEL_44] (rows=1 width=0)
+                                                      Select Operator [SEL_44] (rows=28798881 width=106)
                                                         Output:["_col0","_col1","_col2","_col3"]
-                                                        Filter Operator [FIL_193] (rows=1 width=0)
+                                                        Filter Operator [FIL_193] (rows=28798881 width=106)
                                                           predicate:cr_item_sk is not null
-                                                          TableScan [TS_42] (rows=1 width=0)
-                                                            default@catalog_returns,catalog_returns,Tbl:PARTIAL,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_amount","cr_net_loss"]
+                                                          TableScan [TS_42] (rows=28798881 width=106)
+                                                            default@catalog_returns,catalog_returns,Tbl:COMPLETE,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_amount","cr_net_loss"]
                   <-Reducer 34 [CONTAINS]
                     Reduce Output Operator [RS_122]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_121] (rows=838530 width=1436)
+                      Group By Operator [GBY_121] (rows=2435062716 width=108)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0, _col1, '0'
-                        Select Operator [SEL_118] (rows=93170 width=1436)
+                        Select Operator [SEL_118] (rows=115958879 width=135)
                           Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_117] (rows=93170 width=1436)
+                          Group By Operator [GBY_117] (rows=115958879 width=135)
                             Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0
                           <-Reducer 33 [SIMPLE_EDGE]
                             SHUFFLE [RS_116]
                               PartitionCols:_col0
-                              Group By Operator [GBY_115] (rows=186340 width=1436)
+                              Group By Operator [GBY_115] (rows=231917759 width=135)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col1)","sum(_col2)","sum(_col3)"],keys:_col0
-                                Select Operator [SEL_113] (rows=186340 width=1436)
+                                Select Operator [SEL_113] (rows=231917759 width=135)
                                   Output:["_col0","_col1","_col2","_col3"]
-                                  Merge Join Operator [MERGEJOIN_218] (rows=186340 width=1436)
-                                    Conds:RS_110._col3=RS_111._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col14"]
+                                  Merge Join Operator [MERGEJOIN_218] (rows=231917759 width=135)
+                                    Conds:RS_110._col2=RS_111._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col18"]
                                   <-Map 39 [SIMPLE_EDGE]
                                     SHUFFLE [RS_111]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_97] (rows=1150 width=1179)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_203] (rows=1150 width=1179)
-                                          predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
-                                          TableScan [TS_95] (rows=2300 width=1179)
-                                            default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
+                                      Select Operator [SEL_97] (rows=84 width=1850)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_203] (rows=84 width=1850)
+                                          predicate:web_site_sk is not null
+                                          TableScan [TS_95] (rows=84 width=1850)
+                                            default@web_site,web_site,Tbl:COMPLETE,Col:NONE,Output:["web_site_sk","web_site_id"]
                                   <-Reducer 32 [SIMPLE_EDGE]
                                     SHUFFLE [RS_110]
-                                      PartitionCols:_col3
-                                      Merge Join Operator [MERGEJOIN_217] (rows=169400 width=1436)
-                                        Conds:RS_107._col1=RS_108._col0(Inner),Output:["_col3","_col5","_col6","_col9","_col10","_col14"]
+                                      PartitionCols:_col2
+                                      Merge Join Operator [MERGEJOIN_217] (rows=210834322 width=135)
+                                        Conds:RS_107._col3=RS_108._col0(Inner),Output:["_col2","_col5","_col6","_col9","_col10"]
                                       <-Map 38 [SIMPLE_EDGE]
                                         SHUFFLE [RS_108]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_94] (rows=154000 width=1436)
+                                          Select Operator [SEL_94] (rows=1150 width=1179)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_202] (rows=154000 width=1436)
-                                              predicate:((i_current_price > 50) and i_item_sk is not null)
-                                              TableScan [TS_92] (rows=462000 width=1436)
-                                                default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
+                                            Filter Operator [FIL_202] (rows=1150 width=1179)
+                                              predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
+                                              TableScan [TS_92] (rows=2300 width=1179)
+                                                default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
                                       <-Reducer 31 [SIMPLE_EDGE]
                                         SHUFFLE [RS_107]
-                                          PartitionCols:_col1
-                                          Merge Join Operator [MERGEJOIN_216] (rows=44193 width=1119)
-                                            Conds:RS_104._col2=RS_105._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col9","_col10","_col14"]
+                                          PartitionCols:_col3
+                                          Merge Join Operator [MERGEJOIN_216] (rows=191667562 width=135)
+                                            Conds:RS_104._col1=RS_105._col0(Inner),Output:["_col2","_col3","_col5","_col6","_col9","_col10"]
                                           <-Map 37 [SIMPLE_EDGE]
                                             SHUFFLE [RS_105]
                                               PartitionCols:_col0
-                                              Select Operator [SEL_91] (rows=84 width=1850)
-                                                Output:["_col0","_col1"]
-                                                Filter Operator [FIL_201] (rows=84 width=1850)
-                                                  predicate:web_site_sk is not null
-                                                  TableScan [TS_89] (rows=84 width=1850)
-                                                    default@web_site,web_site,Tbl:COMPLETE,Col:NONE,Output:["web_site_sk","web_site_id"]
+                                              Select Operator [SEL_91] (rows=154000 width=1436)
+                                                Output:["_col0"]
+                                                Filter Operator [FIL_201] (rows=154000 width=1436)
+                                                  predicate:((i_current_price > 50) and i_item_sk is not null)
+                                                  TableScan [TS_89] (rows=462000 width=1436)
+                                                    default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
                                           <-Reducer 30 [SIMPLE_EDGE]
                                             SHUFFLE [RS_104]
-                                              PartitionCols:_col2
-                                              Merge Join Operator [MERGEJOIN_215] (rows=40176 width=1119)
+                                              PartitionCols:_col1
+                                              Merge Join Operator [MERGEJOIN_215] (rows=174243235 width=135)
                                                 Conds:RS_101._col0=RS_102._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                               <-Map 36 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_102]
@@ -207,85 +207,85 @@ Stage-0
                                               <-Reducer 29 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_101]
                                                   PartitionCols:_col0
-                                                  Merge Join Operator [MERGEJOIN_214] (rows=1 width=0)
+                                                  Merge Join Operator [MERGEJOIN_214] (rows=158402938 width=135)
                                                     Conds:RS_98._col1, _col4=RS_99._col0, _col1(Left Outer),Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                                   <-Map 28 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_98]
                                                       PartitionCols:_col1, _col4
-                                                      Select Operator [SEL_82] (rows=1 width=0)
+                                                      Select Operator [SEL_82] (rows=144002668 width=135)
                                                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                        Filter Operator [FIL_198] (rows=1 width=0)
+                                                        Filter Operator [FIL_198] (rows=144002668 width=135)
                                                           predicate:(ws_sold_date_sk is not null and ws_web_site_sk is not null and ws_item_sk is not null and ws_promo_sk is not null)
-                                                          TableScan [TS_80] (rows=1 width=0)
-                                                            default@web_sales,web_sales,Tbl:PARTIAL,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_web_site_sk","ws_promo_sk","ws_order_number","ws_ext_sales_price","ws_net_profit"]
+                                                          TableScan [TS_80] (rows=144002668 width=135)
+                                                            default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_web_site_sk","ws_promo_sk","ws_order_number","ws_ext_sales_price","ws_net_profit"]
                                                   <-Map 35 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_99]
                                                       PartitionCols:_col0, _col1
-                                                      Select Operator [SEL_85] (rows=1 width=0)
+                                                      Select Operator [SEL_85] (rows=14398467 width=92)
                                                         Output:["_col0","_col1","_col2","_col3"]
-                                                        Filter Operator [FIL_199] (rows=1 width=0)
+                                                        Filter Operator [FIL_199] (rows=14398467 width=92)
                                                           predicate:wr_item_sk is not null
-                                                          TableScan [TS_83] (rows=1 width=0)
-                                                            default@web_returns,web_returns,Tbl:PARTIAL,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_amt","wr_net_loss"]
+                                                          TableScan [TS_83] (rows=14398467 width=92)
+                                                            default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_amt","wr_net_loss"]
                   <-Reducer 7 [CONTAINS]
                     Reduce Output Operator [RS_122]
                       PartitionCols:_col0, _col1, _col2
-                      Group By Operator [GBY_121] (rows=838530 width=1436)
+                      Group By Operator [GBY_121] (rows=2435062716 width=108)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)"],keys:_col0, _col1, '0'
-                        Select Operator [SEL_38] (rows=93170 width=1436)
+                        Select Operator [SEL_38] (rows=463823414 width=88)
                           Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Group By Operator [GBY_37] (rows=93170 width=1436)
+                          Group By Operator [GBY_37] (rows=463823414 width=88)
                             Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)"],keys:KEY._col0
                           <-Reducer 6 [SIMPLE_EDGE]
                             SHUFFLE [RS_36]
                               PartitionCols:_col0
-                              Group By Operator [GBY_35] (rows=186340 width=1436)
+                              Group By Operator [GBY_35] (rows=927646829 width=88)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col1)","sum(_col2)","sum(_col3)"],keys:_col0
-                                Select Operator [SEL_33] (rows=186340 width=1436)
+                                Select Operator [SEL_33] (rows=927646829 width=88)
                                   Output:["_col0","_col1","_col2","_col3"]
-                                  Merge Join Operator [MERGEJOIN_208] (rows=186340 width=1436)
-                                    Conds:RS_30._col3=RS_31._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col14"]
+                                  Merge Join Operator [MERGEJOIN_208] (rows=927646829 width=88)
+                                    Conds:RS_30._col2=RS_31._col0(Inner),Output:["_col5","_col6","_col9","_col10","_col18"]
                                   <-Map 15 [SIMPLE_EDGE]
                                     SHUFFLE [RS_31]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_17] (rows=1150 width=1179)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_191] (rows=1150 width=1179)
-                                          predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
-                                          TableScan [TS_15] (rows=2300 width=1179)
-                                            default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
+                                      Select Operator [SEL_17] (rows=1704 width=1910)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_191] (rows=1704 width=1910)
+                                          predicate:s_store_sk is not null
+                                          TableScan [TS_15] (rows=1704 width=1910)
+                                            default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id"]
                                   <-Reducer 5 [SIMPLE_EDGE]
                                     SHUFFLE [RS_30]
-                                      PartitionCols:_col3
-                                      Merge Join Operator [MERGEJOIN_207] (rows=169400 width=1436)
-                                        Conds:RS_27._col1=RS_28._col0(Inner),Output:["_col3","_col5","_col6","_col9","_col10","_col14"]
+                                      PartitionCols:_col2
+                                      Merge Join Operator [MERGEJOIN_207] (rows=843315281 width=88)
+                                        Conds:RS_27._col3=RS_28._col0(Inner),Output:["_col2","_col5","_col6","_col9","_col10"]
                                       <-Map 14 [SIMPLE_EDGE]
                                         SHUFFLE [RS_28]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_14] (rows=154000 width=1436)
+                                          Select Operator [SEL_14] (rows=1150 width=1179)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_190] (rows=154000 width=1436)
-                                              predicate:((i_current_price > 50) and i_item_sk is not null)
-                                              TableScan [TS_12] (rows=462000 width=1436)
-                                                default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
+                                            Filter Operator [FIL_190] (rows=1150 width=1179)
+                                              predicate:((p_channel_tv = 'N') and p_promo_sk is not null)
+                                              TableScan [TS_12] (rows=2300 width=1179)
+                                                default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk","p_channel_tv"]
                                       <-Reducer 4 [SIMPLE_EDGE]
                                         SHUFFLE [RS_27]
-                                          PartitionCols:_col1
-                                          Merge Join Operator [MERGEJOIN_206] (rows=44193 width=1119)
-                                            Conds:RS_24._col2=RS_25._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col9","_col10","_col14"]
+                                          PartitionCols:_col3
+                                          Merge Join Operator [MERGEJOIN_206] (rows=766650239 width=88)
+                                            Conds:RS_24._col1=RS_25._col0(Inner),Output:["_col2","_col3","_col5","_col6","_col9","_col10"]
                                           <-Map 13 [SIMPLE_EDGE]
                                             SHUFFLE [RS_25]
                                               PartitionCols:_col0
-                                              Select Operator [SEL_11] (rows=1704 width=1910)
-                                                Output:["_col0","_col1"]
-                                                Filter Operator [FIL_189] (rows=1704 width=1910)
-                                                  predicate:s_store_sk is not null
-                                                  TableScan [TS_9] (rows=1704 width=1910)
-                                                    default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_id"]
+                                              Select Operator [SEL_11] (rows=154000 width=1436)
+                                                Output:["_col0"]
+                                                Filter Operator [FIL_189] (rows=154000 width=1436)
+                                                  predicate:((i_current_price > 50) and i_item_sk is not null)
+                                                  TableScan [TS_9] (rows=462000 width=1436)
+                                                    default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price"]
                                           <-Reducer 3 [SIMPLE_EDGE]
                                             SHUFFLE [RS_24]
-                                              PartitionCols:_col2
-                                              Merge Join Operator [MERGEJOIN_205] (rows=40176 width=1119)
+                                              PartitionCols:_col1
+                                              Merge Join Operator [MERGEJOIN_205] (rows=696954748 width=88)
                                                 Conds:RS_21._col0=RS_22._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                               <-Map 12 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_22]
@@ -299,24 +299,24 @@ Stage-0
                                               <-Reducer 2 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_21]
                                                   PartitionCols:_col0
-                                                  Merge Join Operator [MERGEJOIN_204] (rows=1 width=0)
+                                                  Merge Join Operator [MERGEJOIN_204] (rows=633595212 width=88)
                                                     Conds:RS_18._col1, _col4=RS_19._col0, _col1(Left Outer),Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col9","_col10"]
                                                   <-Map 1 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_18]
                                                       PartitionCols:_col1, _col4
-                                                      Select Operator [SEL_2] (rows=1 width=0)
+                                                      Select Operator [SEL_2] (rows=575995635 width=88)
                                                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                        Filter Operator [FIL_186] (rows=1 width=0)
+                                                        Filter Operator [FIL_186] (rows=575995635 width=88)
                                                           predicate:(ss_sold_date_sk is not null and ss_store_sk is not null and ss_item_sk is not null and ss_promo_sk is not null)
-                                                          TableScan [TS_0] (rows=1 width=0)
-                                                            default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_store_sk","ss_promo_sk","ss_ticket_number","ss_ext_sales_price","ss_net_profit"]
+                                                          TableScan [TS_0] (rows=575995635 width=88)
+                                                            default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_store_sk","ss_promo_sk","ss_ticket_number","ss_ext_sales_price","ss_net_profit"]
                                                   <-Map 11 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_19]
                                                       PartitionCols:_col0, _col1
-                                                      Select Operator [SEL_5] (rows=1 width=0)
+                                                      Select Operator [SEL_5] (rows=57591150 width=77)
                                                         Output:["_col0","_col1","_col2","_col3"]
-                                                        Filter Operator [FIL_187] (rows=1 width=0)
+                                                        Filter Operator [FIL_187] (rows=57591150 width=77)
                                                           predicate:sr_item_sk is not null
-                                                          TableScan [TS_3] (rows=1 width=0)
-                                                            default@store_returns,store_returns,Tbl:PARTIAL,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_amt","sr_net_loss"]
+                                                          TableScan [TS_3] (rows=57591150 width=77)
+                                                            default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_amt","sr_net_loss"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query82.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query82.q.out b/ql/src/test/results/clientpositive/perf/query82.q.out
index 66d5a8f..a049855 100644
--- a/ql/src/test/results/clientpositive/perf/query82.q.out
+++ b/ql/src/test/results/clientpositive/perf/query82.q.out
@@ -5,71 +5,71 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 6 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
-Reducer 3 <- Map 7 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 5 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
+Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
 Reducer 4 <- Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
+Reducer 7 <- Map 6 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 5
-      File Output Operator [FS_27]
-        Limit [LIM_26] (rows=100 width=1436)
+      Reducer 4
+      File Output Operator [FS_28]
+        Limit [LIM_27] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_25] (rows=139755 width=1436)
+          Select Operator [SEL_26] (rows=633595212 width=88)
             Output:["_col0","_col1","_col2"]
-          <-Reducer 4 [SIMPLE_EDGE]
-            SHUFFLE [RS_24]
-              Group By Operator [GBY_22] (rows=139755 width=1436)
+          <-Reducer 3 [SIMPLE_EDGE]
+            SHUFFLE [RS_25]
+              Group By Operator [GBY_23] (rows=633595212 width=88)
                 Output:["_col0","_col1","_col2"],keys:KEY._col0, KEY._col1, KEY._col2
-              <-Reducer 3 [SIMPLE_EDGE]
-                SHUFFLE [RS_21]
+              <-Reducer 2 [SIMPLE_EDGE]
+                SHUFFLE [RS_22]
                   PartitionCols:_col0, _col1, _col2
-                  Group By Operator [GBY_20] (rows=279510 width=1436)
-                    Output:["_col0","_col1","_col2"],keys:_col1, _col2, _col3
-                    Merge Join Operator [MERGEJOIN_43] (rows=279510 width=1436)
-                      Conds:RS_16._col5=RS_17._col0(Inner),Output:["_col1","_col2","_col3"]
-                    <-Map 7 [SIMPLE_EDGE]
-                      SHUFFLE [RS_17]
+                  Group By Operator [GBY_21] (rows=1267190424 width=88)
+                    Output:["_col0","_col1","_col2"],keys:_col2, _col3, _col4
+                    Merge Join Operator [MERGEJOIN_44] (rows=1267190424 width=88)
+                      Conds:RS_16._col0=RS_17._col0(Inner),RS_17._col0=RS_18._col1(Inner),Output:["_col2","_col3","_col4"]
+                    <-Map 1 [SIMPLE_EDGE]
+                      SHUFFLE [RS_16]
                         PartitionCols:_col0
-                        Select Operator [SEL_8] (rows=36524 width=1119)
+                        Select Operator [SEL_2] (rows=575995635 width=88)
                           Output:["_col0"]
-                          Filter Operator [FIL_40] (rows=36524 width=1119)
-                            predicate:(d_date BETWEEN '2002-05-30' AND '2002-07-30' and d_date_sk is not null)
-                            TableScan [TS_6] (rows=73049 width=1119)
-                              default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
-                    <-Reducer 2 [SIMPLE_EDGE]
-                      SHUFFLE [RS_16]
-                        PartitionCols:_col5
-                        Merge Join Operator [MERGEJOIN_42] (rows=254100 width=1436)
-                          Conds:RS_12._col0=RS_13._col1(Inner),RS_12._col0=RS_14._col0(Inner),Output:["_col1","_col2","_col3","_col5"]
-                        <-Map 1 [SIMPLE_EDGE]
+                          Filter Operator [FIL_39] (rows=575995635 width=88)
+                            predicate:ss_item_sk is not null
+                            TableScan [TS_0] (rows=575995635 width=88)
+                              default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_item_sk"]
+                    <-Map 5 [SIMPLE_EDGE]
+                      SHUFFLE [RS_17]
+                        PartitionCols:_col0
+                        Select Operator [SEL_5] (rows=115500 width=1436)
+                          Output:["_col0","_col1","_col2","_col3"]
+                          Filter Operator [FIL_40] (rows=115500 width=1436)
+                            predicate:((i_manufact_id) IN (437, 129, 727, 663) and i_current_price BETWEEN 30 AND 60 and i_item_sk is not null)
+                            TableScan [TS_3] (rows=462000 width=1436)
+                              default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_id","i_item_desc","i_current_price","i_manufact_id"]
+                    <-Reducer 7 [SIMPLE_EDGE]
+                      SHUFFLE [RS_18]
+                        PartitionCols:_col1
+                        Merge Join Operator [MERGEJOIN_43] (rows=20671200 width=15)
+                          Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1"]
+                        <-Map 6 [SIMPLE_EDGE]
                           SHUFFLE [RS_12]
                             PartitionCols:_col0
-                            Select Operator [SEL_2] (rows=115500 width=1436)
-                              Output:["_col0","_col1","_col2","_col3"]
-                              Filter Operator [FIL_38] (rows=115500 width=1436)
-                                predicate:((i_manufact_id) IN (437, 129, 727, 663) and i_current_price BETWEEN 30 AND 60 and i_item_sk is not null)
-                                TableScan [TS_0] (rows=462000 width=1436)
-                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_id","i_item_desc","i_current_price","i_manufact_id"]
-                        <-Map 6 [SIMPLE_EDGE]
-                          SHUFFLE [RS_13]
-                            PartitionCols:_col1
-                            Select Operator [SEL_5] (rows=1 width=0)
+                            Select Operator [SEL_8] (rows=18792000 width=15)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_39] (rows=1 width=0)
+                              Filter Operator [FIL_41] (rows=18792000 width=15)
                                 predicate:(inv_quantity_on_hand BETWEEN 100 AND 500 and inv_item_sk is not null and inv_date_sk is not null)
-                                TableScan [TS_3] (rows=1 width=0)
-                                  default@inventory,inventory,Tbl:PARTIAL,Col:NONE,Output:["inv_date_sk","inv_item_sk","inv_quantity_on_hand"]
+                                TableScan [TS_6] (rows=37584000 width=15)
+                                  default@inventory,inventory,Tbl:COMPLETE,Col:NONE,Output:["inv_date_sk","inv_item_sk","inv_quantity_on_hand"]
                         <-Map 8 [SIMPLE_EDGE]
-                          SHUFFLE [RS_14]
+                          SHUFFLE [RS_13]
                             PartitionCols:_col0
-                            Select Operator [SEL_11] (rows=1 width=0)
+                            Select Operator [SEL_11] (rows=36524 width=1119)
                               Output:["_col0"]
-                              Filter Operator [FIL_41] (rows=1 width=0)
-                                predicate:ss_item_sk is not null
-                                TableScan [TS_9] (rows=1 width=0)
-                                  default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_item_sk"]
+                              Filter Operator [FIL_42] (rows=36524 width=1119)
+                                predicate:(d_date BETWEEN '2002-05-30' AND '2002-07-30' and d_date_sk is not null)
+                                TableScan [TS_9] (rows=73049 width=1119)
+                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query84.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query84.q.out b/ql/src/test/results/clientpositive/perf/query84.q.out
index a2e25bb..9a98bd3 100644
--- a/ql/src/test/results/clientpositive/perf/query84.q.out
+++ b/ql/src/test/results/clientpositive/perf/query84.q.out
@@ -5,95 +5,95 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 7 (SIMPLE_EDGE)
-Reducer 3 <- Map 11 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 9 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Map 10 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
-Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
+Reducer 10 <- Map 11 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 4 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
+Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
+Reducer 6 <- Map 5 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
+Reducer 7 <- Reducer 10 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 6
-      File Output Operator [FS_35]
-        Limit [LIM_34] (rows=100 width=860)
+      Reducer 3
+      File Output Operator [FS_37]
+        Limit [LIM_36] (rows=100 width=860)
           Number of rows:100
-          Select Operator [SEL_33] (rows=234256017 width=860)
+          Select Operator [SEL_35] (rows=212960011 width=860)
             Output:["_col0","_col1"]
-          <-Reducer 5 [SIMPLE_EDGE]
-            SHUFFLE [RS_32]
-              Select Operator [SEL_31] (rows=234256017 width=860)
+          <-Reducer 2 [SIMPLE_EDGE]
+            SHUFFLE [RS_34]
+              Select Operator [SEL_33] (rows=212960011 width=860)
                 Output:["_col0","_col1"]
-                Merge Join Operator [MERGEJOIN_66] (rows=234256017 width=860)
-                  Conds:RS_28._col11=RS_29._col0(Inner),Output:["_col0","_col4","_col5"]
-                <-Map 10 [SIMPLE_EDGE]
+                Merge Join Operator [MERGEJOIN_67] (rows=212960011 width=860)
+                  Conds:RS_29._col0=RS_30._col0(Inner),RS_30._col0=RS_31._col1(Inner),Output:["_col2","_col6","_col7"]
+                <-Map 1 [SIMPLE_EDGE]
                   SHUFFLE [RS_29]
                     PartitionCols:_col0
-                    Select Operator [SEL_14] (rows=2 width=12)
+                    Select Operator [SEL_2] (rows=57591150 width=77)
                       Output:["_col0"]
-                      Filter Operator [FIL_61] (rows=2 width=12)
-                        predicate:((ib_lower_bound >= 32287) and (ib_upper_bound <= 82287) and ib_income_band_sk is not null)
-                        TableScan [TS_12] (rows=20 width=12)
-                          default@income_band,income_band,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk","ib_lower_bound","ib_upper_bound"]
-                <-Reducer 4 [SIMPLE_EDGE]
-                  SHUFFLE [RS_28]
-                    PartitionCols:_col11
-                    Merge Join Operator [MERGEJOIN_65] (rows=212960011 width=860)
-                      Conds:RS_25._col2=RS_26._col0(Inner),Output:["_col0","_col4","_col5","_col11"]
-                    <-Map 9 [SIMPLE_EDGE]
+                      Filter Operator [FIL_58] (rows=57591150 width=77)
+                        predicate:sr_cdemo_sk is not null
+                        TableScan [TS_0] (rows=57591150 width=77)
+                          default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_cdemo_sk"]
+                <-Map 4 [SIMPLE_EDGE]
+                  SHUFFLE [RS_30]
+                    PartitionCols:_col0
+                    Select Operator [SEL_5] (rows=80765 width=4)
+                      Output:["_col0"]
+                      Filter Operator [FIL_59] (rows=80765 width=4)
+                        predicate:cd_demo_sk is not null
+                        TableScan [TS_3] (rows=80765 width=4)
+                          default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk"]
+                <-Reducer 7 [SIMPLE_EDGE]
+                  SHUFFLE [RS_31]
+                    PartitionCols:_col1
+                    Merge Join Operator [MERGEJOIN_66] (rows=96800003 width=860)
+                      Conds:RS_25._col2=RS_26._col0(Inner),Output:["_col0","_col1","_col4","_col5"]
+                    <-Reducer 10 [SIMPLE_EDGE]
                       SHUFFLE [RS_26]
                         PartitionCols:_col0
-                        Select Operator [SEL_11] (rows=7200 width=107)
-                          Output:["_col0","_col1"]
-                          Filter Operator [FIL_60] (rows=7200 width=107)
-                            predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
-                            TableScan [TS_9] (rows=7200 width=107)
-                              default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
-                    <-Reducer 3 [SIMPLE_EDGE]
-                      SHUFFLE [RS_25]
-                        PartitionCols:_col2
-                        Merge Join Operator [MERGEJOIN_64] (rows=193600006 width=860)
-                          Conds:RS_21._col1=RS_22._col0(Inner),RS_22._col0=RS_23._col0(Inner),Output:["_col0","_col2","_col4","_col5"]
+                        Merge Join Operator [MERGEJOIN_65] (rows=7920 width=107)
+                          Conds:RS_18._col1=RS_19._col0(Inner),Output:["_col0"]
                         <-Map 11 [SIMPLE_EDGE]
-                          SHUFFLE [RS_23]
+                          SHUFFLE [RS_19]
                             PartitionCols:_col0
-                            Select Operator [SEL_17] (rows=1 width=0)
+                            Select Operator [SEL_17] (rows=2 width=12)
                               Output:["_col0"]
-                              Filter Operator [FIL_62] (rows=1 width=0)
-                                predicate:sr_cdemo_sk is not null
-                                TableScan [TS_15] (rows=1 width=0)
-                                  default@store_returns,store_returns,Tbl:PARTIAL,Col:NONE,Output:["sr_cdemo_sk"]
-                        <-Map 8 [SIMPLE_EDGE]
+                              Filter Operator [FIL_63] (rows=2 width=12)
+                                predicate:((ib_lower_bound >= 32287) and (ib_upper_bound <= 82287) and ib_income_band_sk is not null)
+                                TableScan [TS_15] (rows=20 width=12)
+                                  default@income_band,income_band,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk","ib_lower_bound","ib_upper_bound"]
+                        <-Map 9 [SIMPLE_EDGE]
+                          SHUFFLE [RS_18]
+                            PartitionCols:_col1
+                            Select Operator [SEL_14] (rows=7200 width=107)
+                              Output:["_col0","_col1"]
+                              Filter Operator [FIL_62] (rows=7200 width=107)
+                                predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
+                                TableScan [TS_12] (rows=7200 width=107)
+                                  default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
+                    <-Reducer 6 [SIMPLE_EDGE]
+                      SHUFFLE [RS_25]
+                        PartitionCols:_col2
+                        Merge Join Operator [MERGEJOIN_64] (rows=88000001 width=860)
+                          Conds:RS_22._col3=RS_23._col0(Inner),Output:["_col0","_col1","_col2","_col4","_col5"]
+                        <-Map 5 [SIMPLE_EDGE]
                           SHUFFLE [RS_22]
+                            PartitionCols:_col3
+                            Select Operator [SEL_8] (rows=80000000 width=860)
+                              Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                              Filter Operator [FIL_60] (rows=80000000 width=860)
+                                predicate:(c_current_addr_sk is not null and c_current_cdemo_sk is not null and c_current_hdemo_sk is not null)
+                                TableScan [TS_6] (rows=80000000 width=860)
+                                  default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_id","c_current_cdemo_sk","c_current_hdemo_sk","c_current_addr_sk","c_first_name","c_last_name"]
+                        <-Map 8 [SIMPLE_EDGE]
+                          SHUFFLE [RS_23]
                             PartitionCols:_col0
-                            Select Operator [SEL_8] (rows=19800 width=362)
+                            Select Operator [SEL_11] (rows=20000000 width=1014)
                               Output:["_col0"]
-                              Filter Operator [FIL_59] (rows=19800 width=362)
-                                predicate:cd_demo_sk is not null
-                                TableScan [TS_6] (rows=19800 width=362)
-                                  default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk"]
-                        <-Reducer 2 [SIMPLE_EDGE]
-                          SHUFFLE [RS_21]
-                            PartitionCols:_col1
-                            Merge Join Operator [MERGEJOIN_63] (rows=88000001 width=860)
-                              Conds:RS_18._col3=RS_19._col0(Inner),Output:["_col0","_col1","_col2","_col4","_col5"]
-                            <-Map 1 [SIMPLE_EDGE]
-                              SHUFFLE [RS_18]
-                                PartitionCols:_col3
-                                Select Operator [SEL_2] (rows=80000000 width=860)
-                                  Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                  Filter Operator [FIL_57] (rows=80000000 width=860)
-                                    predicate:(c_current_addr_sk is not null and c_current_cdemo_sk is not null and c_current_hdemo_sk is not null)
-                                    TableScan [TS_0] (rows=80000000 width=860)
-                                      default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_id","c_current_cdemo_sk","c_current_hdemo_sk","c_current_addr_sk","c_first_name","c_last_name"]
-                            <-Map 7 [SIMPLE_EDGE]
-                              SHUFFLE [RS_19]
-                                PartitionCols:_col0
-                                Select Operator [SEL_5] (rows=20000000 width=1014)
-                                  Output:["_col0"]
-                                  Filter Operator [FIL_58] (rows=20000000 width=1014)
-                                    predicate:((ca_city = 'Hopewell') and ca_address_sk is not null)
-                                    TableScan [TS_3] (rows=40000000 width=1014)
-                                      default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_city"]
+                              Filter Operator [FIL_61] (rows=20000000 width=1014)
+                                predicate:((ca_city = 'Hopewell') and ca_address_sk is not null)
+                                TableScan [TS_9] (rows=40000000 width=1014)
+                                  default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_city"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query85.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query85.q.out b/ql/src/test/results/clientpositive/perf/query85.q.out
index cff7eaf..0ae13e3 100644
--- a/ql/src/test/results/clientpositive/perf/query85.q.out
+++ b/ql/src/test/results/clientpositive/perf/query85.q.out
@@ -5,149 +5,153 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 10 <- Reducer 9 (SIMPLE_EDGE)
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 11 (SIMPLE_EDGE)
-Reducer 3 <- Map 12 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 13 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Map 14 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
-Reducer 6 <- Map 15 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
-Reducer 7 <- Map 16 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
-Reducer 8 <- Map 17 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
-Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
+Reducer 10 <- Map 13 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
+Reducer 11 <- Map 14 (SIMPLE_EDGE), Reducer 10 (SIMPLE_EDGE)
+Reducer 12 <- Map 15 (SIMPLE_EDGE), Reducer 11 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
+Reducer 3 <- Map 17 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 4 <- Reducer 3 (SIMPLE_EDGE)
+Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
+Reducer 7 <- Map 6 (SIMPLE_EDGE), Reducer 12 (SIMPLE_EDGE)
+Reducer 8 <- Map 16 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 10
-      File Output Operator [FS_57]
-        Limit [LIM_56] (rows=100 width=1014)
+      Reducer 5
+      File Output Operator [FS_59]
+        Limit [LIM_58] (rows=100 width=135)
           Number of rows:100
-          Select Operator [SEL_55] (rows=4991250 width=1014)
+          Select Operator [SEL_57] (rows=39462256 width=135)
             Output:["_col0","_col1","_col2","_col3"]
-          <-Reducer 9 [SIMPLE_EDGE]
-            SHUFFLE [RS_54]
-              Select Operator [SEL_53] (rows=4991250 width=1014)
+          <-Reducer 4 [SIMPLE_EDGE]
+            SHUFFLE [RS_56]
+              Select Operator [SEL_55] (rows=39462256 width=135)
                 Output:["_col0","_col1","_col2","_col3"]
-                Group By Operator [GBY_52] (rows=4991250 width=1014)
+                Group By Operator [GBY_54] (rows=39462256 width=135)
                   Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(VALUE._col0)","avg(VALUE._col1)","avg(VALUE._col2)"],keys:KEY._col0
-                <-Reducer 8 [SIMPLE_EDGE]
-                  SHUFFLE [RS_51]
+                <-Reducer 3 [SIMPLE_EDGE]
+                  SHUFFLE [RS_53]
                     PartitionCols:_col0
-                    Group By Operator [GBY_50] (rows=9982500 width=1014)
-                      Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(_col4)","avg(_col14)","avg(_col13)"],keys:_col28
-                      Select Operator [SEL_49] (rows=9982500 width=1014)
-                        Output:["_col28","_col4","_col14","_col13"]
-                        Merge Join Operator [MERGEJOIN_107] (rows=9982500 width=1014)
-                          Conds:RS_46._col11=RS_47._col0(Inner),Output:["_col4","_col13","_col14","_col28"]
+                    Group By Operator [GBY_52] (rows=78924512 width=135)
+                      Output:["_col0","_col1","_col2","_col3"],aggregations:["avg(_col6)","avg(_col16)","avg(_col15)"],keys:_col28
+                      Select Operator [SEL_51] (rows=78924512 width=135)
+                        Output:["_col28","_col6","_col16","_col15"]
+                        Merge Join Operator [MERGEJOIN_109] (rows=78924512 width=135)
+                          Conds:RS_48._col13=RS_49._col0(Inner),Output:["_col6","_col15","_col16","_col28"]
                         <-Map 17 [SIMPLE_EDGE]
-                          SHUFFLE [RS_47]
+                          SHUFFLE [RS_49]
                             PartitionCols:_col0
-                            Select Operator [SEL_42] (rows=72 width=200)
+                            Select Operator [SEL_44] (rows=72 width=200)
                               Output:["_col0","_col1"]
-                              Filter Operator [FIL_100] (rows=72 width=200)
+                              Filter Operator [FIL_102] (rows=72 width=200)
                                 predicate:r_reason_sk is not null
-                                TableScan [TS_40] (rows=72 width=200)
+                                TableScan [TS_42] (rows=72 width=200)
                                   default@reason,reason,Tbl:COMPLETE,Col:NONE,Output:["r_reason_sk","r_reason_desc"]
-                        <-Reducer 7 [SIMPLE_EDGE]
-                          SHUFFLE [RS_46]
-                            PartitionCols:_col11
-                            Merge Join Operator [MERGEJOIN_106] (rows=9075000 width=1014)
-                              Conds:RS_43._col0=RS_44._col0(Inner),Output:["_col4","_col11","_col13","_col14"]
-                            <-Map 16 [SIMPLE_EDGE]
-                              SHUFFLE [RS_44]
+                        <-Reducer 2 [SIMPLE_EDGE]
+                          SHUFFLE [RS_48]
+                            PartitionCols:_col13
+                            Merge Join Operator [MERGEJOIN_108] (rows=71749555 width=135)
+                              Conds:RS_45._col0=RS_46._col0(Inner),Output:["_col6","_col13","_col15","_col16"]
+                            <-Map 1 [SIMPLE_EDGE]
+                              SHUFFLE [RS_45]
                                 PartitionCols:_col0
-                                Select Operator [SEL_39] (rows=36524 width=1119)
+                                Select Operator [SEL_2] (rows=36524 width=1119)
                                   Output:["_col0"]
-                                  Filter Operator [FIL_99] (rows=36524 width=1119)
+                                  Filter Operator [FIL_95] (rows=36524 width=1119)
                                     predicate:((d_year = 1998) and d_date_sk is not null)
-                                    TableScan [TS_37] (rows=73049 width=1119)
+                                    TableScan [TS_0] (rows=73049 width=1119)
                                       default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
-                            <-Reducer 6 [SIMPLE_EDGE]
-                              SHUFFLE [RS_43]
+                            <-Reducer 8 [SIMPLE_EDGE]
+                              SHUFFLE [RS_46]
                                 PartitionCols:_col0
-                                Select Operator [SEL_36] (rows=8250000 width=1014)
+                                Select Operator [SEL_41] (rows=65226867 width=135)
                                   Output:["_col0","_col11","_col13","_col14","_col4"]
-                                  Filter Operator [FIL_35] (rows=8250000 width=1014)
+                                  Filter Operator [FIL_40] (rows=65226867 width=135)
                                     predicate:(((_col23) IN ('KY', 'GA', 'NM') and _col6 BETWEEN 100 AND 200) or ((_col23) IN ('MT', 'OR', 'IN') and _col6 BETWEEN 150 AND 300) or ((_col23) IN ('WI', 'MO', 'WV') and _col6 BETWEEN 50 AND 250))
-                                    Merge Join Operator [MERGEJOIN_105] (rows=11000000 width=1014)
-                                      Conds:RS_32._col9=RS_33._col0(Inner),Output:["_col0","_col4","_col6","_col11","_col13","_col14","_col23"]
-                                    <-Map 15 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_33]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_28] (rows=10000000 width=1014)
-                                          Output:["_col0","_col1"]
-                                          Filter Operator [FIL_98] (rows=10000000 width=1014)
-                                            predicate:((ca_state) IN ('KY', 'GA', 'NM', 'MT', 'OR', 'IN', 'WI', 'MO', 'WV') and (ca_country = 'United States') and ca_address_sk is not null)
-                                            TableScan [TS_26] (rows=40000000 width=1014)
-                                              default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state","ca_country"]
-                                    <-Reducer 5 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_32]
-                                        PartitionCols:_col9
-                                        Merge Join Operator [MERGEJOIN_104] (rows=21780 width=362)
-                                          Conds:RS_29._col10, _col17, _col18=RS_30._col0, _col1, _col2(Inner),Output:["_col0","_col4","_col6","_col9","_col11","_col13","_col14"]
-                                        <-Map 14 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_30]
-                                            PartitionCols:_col0, _col1, _col2
-                                            Select Operator [SEL_25] (rows=19800 width=362)
-                                              Output:["_col0","_col1","_col2"]
-                                              Filter Operator [FIL_97] (rows=19800 width=362)
-                                                predicate:(((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and ((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and cd_demo_sk is not null and cd_marital_status is not null and cd_education_status is not null)
-                                                TableScan [TS_23] (rows=19800 width=362)
-                                                  default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
-                                        <-Reducer 4 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_29]
-                                            PartitionCols:_col10, _col17, _col18
-                                            Select Operator [SEL_22] (rows=8166 width=362)
-                                              Output:["_col0","_col10","_col11","_col13","_col14","_col17","_col18","_col4","_col6","_col9"]
-                                              Filter Operator [FIL_21] (rows=8166 width=362)
-                                                predicate:(((_col17 = 'M') and (_col18 = '4 yr Degree') and _col5 BETWEEN 100.0 AND 150.0) or ((_col17 = 'D') and (_col18 = 'Primary') and _col5 BETWEEN 50.0 AND 100.0) or ((_col17 = 'U') and (_col18 = 'Advanced Degree') and _col5 BETWEEN 150.0 AND 200.0))
-                                                Merge Join Operator [MERGEJOIN_103] (rows=21780 width=362)
-                                                  Conds:RS_18._col8=RS_19._col0(Inner),Output:["_col0","_col4","_col5","_col6","_col9","_col10","_col11","_col13","_col14","_col17","_col18"]
-                                                <-Map 13 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_19]
-                                                    PartitionCols:_col0
-                                                    Select Operator [SEL_11] (rows=19800 width=362)
-                                                      Output:["_col0","_col1","_col2"]
-                                                      Filter Operator [FIL_96] (rows=19800 width=362)
-                                                        predicate:(((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and ((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and cd_demo_sk is not null and cd_education_status is not null and cd_marital_status is not null)
-                                                        TableScan [TS_9] (rows=19800 width=362)
-                                                          default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
-                                                <-Reducer 3 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_18]
-                                                    PartitionCols:_col8
-                                                    Merge Join Operator [MERGEJOIN_102] (rows=5062 width=585)
-                                                      Conds:RS_15._col2=RS_16._col0(Inner),Output:["_col0","_col4","_col5","_col6","_col8","_col9","_col10","_col11","_col13","_col14"]
-                                                    <-Map 12 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_16]
+                                    Select Operator [SEL_39] (rows=86969158 width=135)
+                                      Output:["_col0","_col4","_col6","_col11","_col13","_col14","_col23"]
+                                      Merge Join Operator [MERGEJOIN_107] (rows=86969158 width=135)
+                                        Conds:RS_36._col13, _col20, _col21=RS_37._col0, _col1, _col2(Inner),Output:["_col1","_col3","_col7","_col9","_col14","_col16","_col17"]
+                                      <-Map 16 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_37]
+                                          PartitionCols:_col0, _col1, _col2
+                                          Select Operator [SEL_32] (rows=1583 width=204)
+                                            Output:["_col0","_col1","_col2"]
+                                            Filter Operator [FIL_101] (rows=1583 width=204)
+                                              predicate:(((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and ((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and cd_demo_sk is not null and cd_marital_status is not null and cd_education_status is not null)
+                                              TableScan [TS_30] (rows=1583 width=204)
+                                                default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
+                                      <-Reducer 7 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_36]
+                                          PartitionCols:_col13, _col20, _col21
+                                          Merge Join Operator [MERGEJOIN_106] (rows=79062870 width=135)
+                                            Conds:RS_33._col0=RS_34._col9(Inner),Output:["_col1","_col3","_col7","_col9","_col13","_col14","_col16","_col17","_col20","_col21"]
+                                          <-Map 6 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_33]
+                                              PartitionCols:_col0
+                                              Select Operator [SEL_5] (rows=10000000 width=1014)
+                                                Output:["_col0","_col1"]
+                                                Filter Operator [FIL_96] (rows=10000000 width=1014)
+                                                  predicate:((ca_state) IN ('KY', 'GA', 'NM', 'MT', 'OR', 'IN', 'WI', 'MO', 'WV') and (ca_country = 'United States') and ca_address_sk is not null)
+                                                  TableScan [TS_3] (rows=40000000 width=1014)
+                                                    default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state","ca_country"]
+                                          <-Reducer 12 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_34]
+                                              PartitionCols:_col9
+                                              Select Operator [SEL_29] (rows=71875335 width=135)
+                                                Output:["_col0","_col10","_col11","_col13","_col14","_col17","_col18","_col4","_col6","_col9"]
+                                                Filter Operator [FIL_28] (rows=71875335 width=135)
+                                                  predicate:(((_col17 = 'M') and (_col18 = '4 yr Degree') and _col5 BETWEEN 100.0 AND 150.0) or ((_col17 = 'D') and (_col18 = 'Primary') and _col5 BETWEEN 50.0 AND 100.0) or ((_col17 = 'U') and (_col18 = 'Advanced Degree') and _col5 BETWEEN 150.0 AND 200.0))
+                                                  Select Operator [SEL_27] (rows=191667562 width=135)
+                                                    Output:["_col0","_col4","_col5","_col6","_col9","_col10","_col11","_col13","_col14","_col17","_col18"]
+                                                    Merge Join Operator [MERGEJOIN_105] (rows=191667562 width=135)
+                                                      Conds:RS_24._col9=RS_25._col0(Inner),Output:["_col1","_col5","_col6","_col7","_col10","_col11","_col12","_col14","_col15","_col17","_col18"]
+                                                    <-Map 15 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_25]
                                                         PartitionCols:_col0
-                                                        Select Operator [SEL_8] (rows=4602 width=585)
-                                                          Output:["_col0"]
-                                                          Filter Operator [FIL_95] (rows=4602 width=585)
-                                                            predicate:wp_web_page_sk is not null
-                                                            TableScan [TS_6] (rows=4602 width=585)
-                                                              default@web_page,web_page,Tbl:COMPLETE,Col:NONE,Output:["wp_web_page_sk"]
-                                                    <-Reducer 2 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_15]
-                                                        PartitionCols:_col2
-                                                        Merge Join Operator [MERGEJOIN_101] (rows=1 width=0)
-                                                          Conds:RS_12._col1, _col3=RS_13._col0, _col5(Inner),Output:["_col0","_col2","_col4","_col5","_col6","_col8","_col9","_col10","_col11","_col13","_col14"]
-                                                        <-Map 1 [SIMPLE_EDGE]
-                                                          SHUFFLE [RS_12]
-                                                            PartitionCols:_col1, _col3
-                                                            Select Operator [SEL_2] (rows=1 width=0)
-                                                              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                              Filter Operator [FIL_93] (rows=1 width=0)
-                                                                predicate:((ws_sales_price BETWEEN 100.0 AND 150.0 or ws_sales_price BETWEEN 50.0 AND 100.0 or ws_sales_price BETWEEN 150.0 AND 200.0) and (ws_net_profit BETWEEN 100 AND 200 or ws_net_profit BETWEEN 150 AND 300 or ws_net_profit BETWEEN 50 AND 250) and ws_order_number is not null and ws_item_sk is not null and ws_web_page_sk is not null and ws_sold_date_sk is not null)
-                                                                TableScan [TS_0] (rows=1 width=0)
-                                                                  default@web_sales,web_sales,Tbl:PARTIAL,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_web_page_sk","ws_order_number","ws_quantity","ws_sales_price","ws_net_profit"]
-                                                        <-Map 11 [SIMPLE_EDGE]
-                                                          SHUFFLE [RS_13]
+                                                        Select Operator [SEL_17] (rows=1583 width=204)
+                                                          Output:["_col0","_col1","_col2"]
+                                                          Filter Operator [FIL_100] (rows=1583 width=204)
+                                                            predicate:(((cd_education_status = '4 yr Degree') or (cd_education_status = 'Primary') or (cd_education_status = 'Advanced Degree')) and ((cd_marital_status = 'M') or (cd_marital_status = 'D') or (cd_marital_status = 'U')) and cd_demo_sk is not null and cd_education_status is not null and cd_marital_status is not null)
+                                                            TableScan [TS_15] (rows=1583 width=204)
+                                                              default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status","cd_education_status"]
+                                                    <-Reducer 11 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_24]
+                                                        PartitionCols:_col9
+                                                        Merge Join Operator [MERGEJOIN_104] (rows=174243235 width=135)
+                                                          Conds:RS_21._col2, _col4=RS_22._col0, _col5(Inner),Output:["_col1","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col14","_col15"]
+                                                        <-Map 14 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_22]
                                                             PartitionCols:_col0, _col5
-                                                            Select Operator [SEL_5] (rows=1 width=0)
+                                                            Select Operator [SEL_14] (rows=14398467 width=92)
                                                               Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                                              Filter Operator [FIL_94] (rows=1 width=0)
+                                                              Filter Operator [FIL_99] (rows=14398467 width=92)
                                                                 predicate:(wr_item_sk is not null and wr_order_number is not null and wr_refunded_cdemo_sk is not null and wr_returning_cdemo_sk is not null and wr_refunded_addr_sk is not null and wr_reason_sk is not null)
-                                                                TableScan [TS_3] (rows=1 width=0)
-                                                                  default@web_returns,web_returns,Tbl:PARTIAL,Col:NONE,Output:["wr_item_sk","wr_refunded_cdemo_sk","wr_refunded_addr_sk","wr_returning_cdemo_sk","wr_reason_sk","wr_order_number","wr_fee","wr_refunded_cash"]
+                                                                TableScan [TS_12] (rows=14398467 width=92)
+                                                                  default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_item_sk","wr_refunded_cdemo_sk","wr_refunded_addr_sk","wr_returning_cdemo_sk","wr_reason_sk","wr_order_number","wr_fee","wr_refunded_cash"]
+                                                        <-Reducer 10 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_21]
+                                                            PartitionCols:_col2, _col4
+                                                            Merge Join Operator [MERGEJOIN_103] (rows=158402938 width=135)
+                                                              Conds:RS_18._col0=RS_19._col2(Inner),Output:["_col1","_col2","_col4","_col5","_col6","_col7"]
+                                                            <-Map 13 [SIMPLE_EDGE]
+                                                              SHUFFLE [RS_19]
+                                                                PartitionCols:_col2
+                                                                Select Operator [SEL_11] (rows=144002668 width=135)
+                                                                  Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                                                  Filter Operator [FIL_98] (rows=144002668 width=135)
+                                                                    predicate:((ws_sales_price BETWEEN 100.0 AND 150.0 or ws_sales_price BETWEEN 50.0 AND 100.0 or ws_sales_price BETWEEN 150.0 AND 200.0) and (ws_net_profit BETWEEN 100 AND 200 or ws_net_profit BETWEEN 150 AND 300 or ws_net_profit BETWEEN 50 AND 250) and ws_order_number is not null and ws_item_sk is not null and ws_web_page_sk is not null and ws_sold_date_sk is not null)
+                                                                    TableScan [TS_9] (rows=144002668 width=135)
+                                                                      default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_web_page_sk","ws_order_number","ws_quantity","ws_sales_price","ws_net_profit"]
+                                                            <-Map 9 [SIMPLE_EDGE]
+                                                              SHUFFLE [RS_18]
+                                                                PartitionCols:_col0
+                                                                Select Operator [SEL_8] (rows=4602 width=585)
+                                                                  Output:["_col0"]
+                                                                  Filter Operator [FIL_97] (rows=4602 width=585)
+                                                                    predicate:wp_web_page_sk is not null
+                                                                    TableScan [TS_6] (rows=4602 width=585)
+                                                                      default@web_page,web_page,Tbl:COMPLETE,Col:NONE,Output:["wp_web_page_sk"]
 


Mime
View raw message