You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2016/05/06 20:55:57 UTC

[05/15] hive git commit: HIVE-13542 : Missing stats for tables in TPCDS performance regression suite (Hari Subramaniyan via Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query75.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query75.q.out b/ql/src/test/results/clientpositive/perf/query75.q.out
index 731ff62..e44a48e 100644
--- a/ql/src/test/results/clientpositive/perf/query75.q.out
+++ b/ql/src/test/results/clientpositive/perf/query75.q.out
@@ -34,374 +34,374 @@ Stage-0
     Stage-1
       Reducer 8
       File Output Operator [FS_156]
-        Limit [LIM_155] (rows=100 width=1436)
+        Limit [LIM_155] (rows=100 width=108)
           Number of rows:100
-          Select Operator [SEL_154] (rows=169103 width=1436)
+          Select Operator [SEL_154] (rows=245965926 width=108)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
           <-Reducer 7 [SIMPLE_EDGE]
             SHUFFLE [RS_153]
-              Select Operator [SEL_152] (rows=169103 width=1436)
+              Select Operator [SEL_152] (rows=245965926 width=108)
                 Output:["_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
-                Filter Operator [FIL_151] (rows=169103 width=1436)
+                Filter Operator [FIL_151] (rows=245965926 width=108)
                   predicate:(UDFToDouble((CAST( _col5 AS decimal(17,2)) / CAST( _col12 AS decimal(17,2)))) < 0.9)
-                  Merge Join Operator [MERGEJOIN_259] (rows=507310 width=1436)
+                  Merge Join Operator [MERGEJOIN_259] (rows=737897778 width=108)
                     Conds:RS_148._col1, _col2, _col3, _col4=RS_149._col1, _col2, _col3, _col4(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col12","_col13"]
                   <-Reducer 31 [SIMPLE_EDGE]
                     SHUFFLE [RS_149]
                       PartitionCols:_col1, _col2, _col3, _col4
-                      Select Operator [SEL_147] (rows=461191 width=1436)
+                      Select Operator [SEL_147] (rows=670816148 width=108)
                         Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                        Group By Operator [GBY_146] (rows=461191 width=1436)
+                        Group By Operator [GBY_146] (rows=670816148 width=108)
                           Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:2001, KEY._col1, KEY._col2, KEY._col3, KEY._col4
                         <-Union 30 [SIMPLE_EDGE]
                           <-Reducer 29 [CONTAINS]
                             Reduce Output Operator [RS_145]
                               PartitionCols:2001, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_144] (rows=922383 width=1436)
+                              Group By Operator [GBY_144] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2001, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_142] (rows=922383 width=1436)
+                                Select Operator [SEL_142] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_95] (rows=307461 width=1436)
+                                  Select Operator [SEL_95] (rows=383314495 width=135)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_252] (rows=307461 width=1436)
-                                      Conds:RS_92._col2, _col1=RS_93._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_252] (rows=383314495 width=135)
+                                      Conds:RS_92._col2, _col1=RS_93._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 34 [SIMPLE_EDGE]
                                       SHUFFLE [RS_93]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_85] (rows=1 width=0)
+                                        Select Operator [SEL_85] (rows=28798881 width=106)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_232] (rows=1 width=0)
+                                          Filter Operator [FIL_232] (rows=28798881 width=106)
                                             predicate:cr_item_sk is not null
-                                            TableScan [TS_83] (rows=1 width=0)
-                                              default@catalog_returns,catalog_returns,Tbl:PARTIAL,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_quantity","cr_return_amount"]
+                                            TableScan [TS_83] (rows=28798881 width=106)
+                                              default@catalog_returns,catalog_returns,Tbl:COMPLETE,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_quantity","cr_return_amount"]
                                     <-Reducer 28 [SIMPLE_EDGE]
                                       SHUFFLE [RS_92]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_251] (rows=279510 width=1436)
-                                          Conds:RS_89._col0=RS_90._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_251] (rows=348467716 width=135)
+                                          Conds:RS_89._col1=RS_90._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 33 [SIMPLE_EDGE]
                                           SHUFFLE [RS_90]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_82] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_231] (rows=36524 width=1119)
-                                                predicate:((d_year = 2001) and d_date_sk is not null)
-                                                TableScan [TS_80] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                            Select Operator [SEL_82] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_231] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_80] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 27 [SIMPLE_EDGE]
                                           SHUFFLE [RS_89]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_250] (rows=254100 width=1436)
-                                              Conds:RS_86._col1=RS_87._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_250] (rows=316788826 width=135)
+                                              Conds:RS_86._col0=RS_87._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 26 [SIMPLE_EDGE]
                                               SHUFFLE [RS_86]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_76] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_76] (rows=287989836 width=135)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_229] (rows=1 width=0)
+                                                  Filter Operator [FIL_229] (rows=287989836 width=135)
                                                     predicate:(cs_item_sk is not null and cs_sold_date_sk is not null)
-                                                    TableScan [TS_74] (rows=1 width=0)
-                                                      default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_order_number","cs_quantity","cs_ext_sales_price"]
+                                                    TableScan [TS_74] (rows=287989836 width=135)
+                                                      default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_order_number","cs_quantity","cs_ext_sales_price"]
                                             <-Map 32 [SIMPLE_EDGE]
                                               SHUFFLE [RS_87]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_79] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_230] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_77] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_79] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_230] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2001) and d_date_sk is not null)
+                                                    TableScan [TS_77] (rows=73049 width=1119)
+                                                      default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                           <-Reducer 38 [CONTAINS]
                             Reduce Output Operator [RS_145]
                               PartitionCols:2001, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_144] (rows=922383 width=1436)
+                              Group By Operator [GBY_144] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2001, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_142] (rows=922383 width=1436)
+                                Select Operator [SEL_142] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_117] (rows=307461 width=1436)
+                                  Select Operator [SEL_117] (rows=766650239 width=88)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_255] (rows=307461 width=1436)
-                                      Conds:RS_114._col2, _col1=RS_115._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_255] (rows=766650239 width=88)
+                                      Conds:RS_114._col2, _col1=RS_115._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 41 [SIMPLE_EDGE]
                                       SHUFFLE [RS_115]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_107] (rows=1 width=0)
+                                        Select Operator [SEL_107] (rows=57591150 width=77)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_236] (rows=1 width=0)
+                                          Filter Operator [FIL_236] (rows=57591150 width=77)
                                             predicate:sr_item_sk is not null
-                                            TableScan [TS_105] (rows=1 width=0)
-                                              default@store_returns,store_returns,Tbl:PARTIAL,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_quantity","sr_return_amt"]
+                                            TableScan [TS_105] (rows=57591150 width=77)
+                                              default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_quantity","sr_return_amt"]
                                     <-Reducer 37 [SIMPLE_EDGE]
                                       SHUFFLE [RS_114]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_254] (rows=279510 width=1436)
-                                          Conds:RS_111._col0=RS_112._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_254] (rows=696954748 width=88)
+                                          Conds:RS_111._col1=RS_112._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 40 [SIMPLE_EDGE]
                                           SHUFFLE [RS_112]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_104] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_235] (rows=36524 width=1119)
-                                                predicate:((d_year = 2001) and d_date_sk is not null)
-                                                TableScan [TS_102] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                            Select Operator [SEL_104] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_235] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_102] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 36 [SIMPLE_EDGE]
                                           SHUFFLE [RS_111]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_253] (rows=254100 width=1436)
-                                              Conds:RS_108._col1=RS_109._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_253] (rows=633595212 width=88)
+                                              Conds:RS_108._col0=RS_109._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 35 [SIMPLE_EDGE]
                                               SHUFFLE [RS_108]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_98] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_98] (rows=575995635 width=88)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_233] (rows=1 width=0)
+                                                  Filter Operator [FIL_233] (rows=575995635 width=88)
                                                     predicate:(ss_item_sk is not null and ss_sold_date_sk is not null)
-                                                    TableScan [TS_96] (rows=1 width=0)
-                                                      default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_ticket_number","ss_quantity","ss_ext_sales_price"]
+                                                    TableScan [TS_96] (rows=575995635 width=88)
+                                                      default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_ticket_number","ss_quantity","ss_ext_sales_price"]
                                             <-Map 39 [SIMPLE_EDGE]
                                               SHUFFLE [RS_109]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_101] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_234] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_99] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_101] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_234] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2001) and d_date_sk is not null)
+                                                    TableScan [TS_99] (rows=73049 width=1119)
+                                                      default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                           <-Reducer 45 [CONTAINS]
                             Reduce Output Operator [RS_145]
                               PartitionCols:2001, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_144] (rows=922383 width=1436)
+                              Group By Operator [GBY_144] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2001, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_142] (rows=922383 width=1436)
+                                Select Operator [SEL_142] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_141] (rows=307461 width=1436)
+                                  Select Operator [SEL_141] (rows=191667562 width=135)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_258] (rows=307461 width=1436)
-                                      Conds:RS_138._col2, _col1=RS_139._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_258] (rows=191667562 width=135)
+                                      Conds:RS_138._col2, _col1=RS_139._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 48 [SIMPLE_EDGE]
                                       SHUFFLE [RS_139]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_131] (rows=1 width=0)
+                                        Select Operator [SEL_131] (rows=14398467 width=92)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_240] (rows=1 width=0)
+                                          Filter Operator [FIL_240] (rows=14398467 width=92)
                                             predicate:wr_item_sk is not null
-                                            TableScan [TS_129] (rows=1 width=0)
-                                              default@web_returns,web_returns,Tbl:PARTIAL,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_quantity","wr_return_amt"]
+                                            TableScan [TS_129] (rows=14398467 width=92)
+                                              default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_quantity","wr_return_amt"]
                                     <-Reducer 44 [SIMPLE_EDGE]
                                       SHUFFLE [RS_138]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_257] (rows=279510 width=1436)
-                                          Conds:RS_135._col0=RS_136._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_257] (rows=174243235 width=135)
+                                          Conds:RS_135._col1=RS_136._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 47 [SIMPLE_EDGE]
                                           SHUFFLE [RS_136]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_128] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_239] (rows=36524 width=1119)
-                                                predicate:((d_year = 2001) and d_date_sk is not null)
-                                                TableScan [TS_126] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                            Select Operator [SEL_128] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_239] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_126] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 43 [SIMPLE_EDGE]
                                           SHUFFLE [RS_135]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_256] (rows=254100 width=1436)
-                                              Conds:RS_132._col1=RS_133._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_256] (rows=158402938 width=135)
+                                              Conds:RS_132._col0=RS_133._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 42 [SIMPLE_EDGE]
                                               SHUFFLE [RS_132]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_122] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_122] (rows=144002668 width=135)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_237] (rows=1 width=0)
+                                                  Filter Operator [FIL_237] (rows=144002668 width=135)
                                                     predicate:(ws_item_sk is not null and ws_sold_date_sk is not null)
-                                                    TableScan [TS_120] (rows=1 width=0)
-                                                      default@web_sales,web_sales,Tbl:PARTIAL,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_order_number","ws_quantity","ws_ext_sales_price"]
+                                                    TableScan [TS_120] (rows=144002668 width=135)
+                                                      default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_order_number","ws_quantity","ws_ext_sales_price"]
                                             <-Map 46 [SIMPLE_EDGE]
                                               SHUFFLE [RS_133]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_125] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_238] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_123] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_125] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_238] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2001) and d_date_sk is not null)
+                                                    TableScan [TS_123] (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_148]
                       PartitionCols:_col1, _col2, _col3, _col4
-                      Select Operator [SEL_73] (rows=461191 width=1436)
+                      Select Operator [SEL_73] (rows=670816148 width=108)
                         Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                        Group By Operator [GBY_72] (rows=461191 width=1436)
+                        Group By Operator [GBY_72] (rows=670816148 width=108)
                           Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:2002, KEY._col1, KEY._col2, KEY._col3, KEY._col4
                         <-Union 5 [SIMPLE_EDGE]
                           <-Reducer 15 [CONTAINS]
                             Reduce Output Operator [RS_71]
                               PartitionCols:2002, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_70] (rows=922383 width=1436)
+                              Group By Operator [GBY_70] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2002, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_68] (rows=922383 width=1436)
+                                Select Operator [SEL_68] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_43] (rows=307461 width=1436)
+                                  Select Operator [SEL_43] (rows=766650239 width=88)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_246] (rows=307461 width=1436)
-                                      Conds:RS_40._col2, _col1=RS_41._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_246] (rows=766650239 width=88)
+                                      Conds:RS_40._col2, _col1=RS_41._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 18 [SIMPLE_EDGE]
                                       SHUFFLE [RS_41]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_33] (rows=1 width=0)
+                                        Select Operator [SEL_33] (rows=57591150 width=77)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_224] (rows=1 width=0)
+                                          Filter Operator [FIL_224] (rows=57591150 width=77)
                                             predicate:sr_item_sk is not null
-                                            TableScan [TS_31] (rows=1 width=0)
-                                              default@store_returns,store_returns,Tbl:PARTIAL,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_quantity","sr_return_amt"]
+                                            TableScan [TS_31] (rows=57591150 width=77)
+                                              default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number","sr_return_quantity","sr_return_amt"]
                                     <-Reducer 14 [SIMPLE_EDGE]
                                       SHUFFLE [RS_40]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_245] (rows=279510 width=1436)
-                                          Conds:RS_37._col0=RS_38._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_245] (rows=696954748 width=88)
+                                          Conds:RS_37._col1=RS_38._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 17 [SIMPLE_EDGE]
                                           SHUFFLE [RS_38]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_30] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_223] (rows=36524 width=1119)
-                                                predicate:((d_year = 2002) and d_date_sk is not null)
-                                                TableScan [TS_28] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                            Select Operator [SEL_30] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_223] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_28] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 13 [SIMPLE_EDGE]
                                           SHUFFLE [RS_37]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_244] (rows=254100 width=1436)
-                                              Conds:RS_34._col1=RS_35._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_244] (rows=633595212 width=88)
+                                              Conds:RS_34._col0=RS_35._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 12 [SIMPLE_EDGE]
                                               SHUFFLE [RS_34]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_24] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_24] (rows=575995635 width=88)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_221] (rows=1 width=0)
+                                                  Filter Operator [FIL_221] (rows=575995635 width=88)
                                                     predicate:(ss_item_sk is not null and ss_sold_date_sk is not null)
-                                                    TableScan [TS_22] (rows=1 width=0)
-                                                      default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_ticket_number","ss_quantity","ss_ext_sales_price"]
+                                                    TableScan [TS_22] (rows=575995635 width=88)
+                                                      default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_ticket_number","ss_quantity","ss_ext_sales_price"]
                                             <-Map 16 [SIMPLE_EDGE]
                                               SHUFFLE [RS_35]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_27] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_222] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_25] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_27] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_222] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2002) and d_date_sk is not null)
+                                                    TableScan [TS_25] (rows=73049 width=1119)
+                                                      default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                           <-Reducer 22 [CONTAINS]
                             Reduce Output Operator [RS_71]
                               PartitionCols:2002, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_70] (rows=922383 width=1436)
+                              Group By Operator [GBY_70] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2002, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_68] (rows=922383 width=1436)
+                                Select Operator [SEL_68] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_67] (rows=307461 width=1436)
+                                  Select Operator [SEL_67] (rows=191667562 width=135)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_249] (rows=307461 width=1436)
-                                      Conds:RS_64._col2, _col1=RS_65._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_249] (rows=191667562 width=135)
+                                      Conds:RS_64._col2, _col1=RS_65._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 25 [SIMPLE_EDGE]
                                       SHUFFLE [RS_65]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_57] (rows=1 width=0)
+                                        Select Operator [SEL_57] (rows=14398467 width=92)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_228] (rows=1 width=0)
+                                          Filter Operator [FIL_228] (rows=14398467 width=92)
                                             predicate:wr_item_sk is not null
-                                            TableScan [TS_55] (rows=1 width=0)
-                                              default@web_returns,web_returns,Tbl:PARTIAL,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_quantity","wr_return_amt"]
+                                            TableScan [TS_55] (rows=14398467 width=92)
+                                              default@web_returns,web_returns,Tbl:COMPLETE,Col:NONE,Output:["wr_item_sk","wr_order_number","wr_return_quantity","wr_return_amt"]
                                     <-Reducer 21 [SIMPLE_EDGE]
                                       SHUFFLE [RS_64]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_248] (rows=279510 width=1436)
-                                          Conds:RS_61._col0=RS_62._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_248] (rows=174243235 width=135)
+                                          Conds:RS_61._col1=RS_62._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 24 [SIMPLE_EDGE]
                                           SHUFFLE [RS_62]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_54] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_227] (rows=36524 width=1119)
-                                                predicate:((d_year = 2002) and d_date_sk is not null)
-                                                TableScan [TS_52] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                            Select Operator [SEL_54] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_227] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_52] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 20 [SIMPLE_EDGE]
                                           SHUFFLE [RS_61]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_247] (rows=254100 width=1436)
-                                              Conds:RS_58._col1=RS_59._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_247] (rows=158402938 width=135)
+                                              Conds:RS_58._col0=RS_59._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 19 [SIMPLE_EDGE]
                                               SHUFFLE [RS_58]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_48] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_48] (rows=144002668 width=135)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_225] (rows=1 width=0)
+                                                  Filter Operator [FIL_225] (rows=144002668 width=135)
                                                     predicate:(ws_item_sk is not null and ws_sold_date_sk is not null)
-                                                    TableScan [TS_46] (rows=1 width=0)
-                                                      default@web_sales,web_sales,Tbl:PARTIAL,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_order_number","ws_quantity","ws_ext_sales_price"]
+                                                    TableScan [TS_46] (rows=144002668 width=135)
+                                                      default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_order_number","ws_quantity","ws_ext_sales_price"]
                                             <-Map 23 [SIMPLE_EDGE]
                                               SHUFFLE [RS_59]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_51] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_226] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_49] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_51] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_226] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2002) and d_date_sk is not null)
+                                                    TableScan [TS_49] (rows=73049 width=1119)
+                                                      default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                           <-Reducer 4 [CONTAINS]
                             Reduce Output Operator [RS_71]
                               PartitionCols:2002, _col1, _col2, _col3, _col4
-                              Group By Operator [GBY_70] (rows=922383 width=1436)
+                              Group By Operator [GBY_70] (rows=1341632296 width=108)
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col5)","sum(_col6)"],keys:2002, _col1, _col2, _col3, _col4
-                                Select Operator [SEL_68] (rows=922383 width=1436)
+                                Select Operator [SEL_68] (rows=1341632296 width=108)
                                   Output:["_col1","_col2","_col3","_col4","_col5","_col6"]
-                                  Select Operator [SEL_21] (rows=307461 width=1436)
+                                  Select Operator [SEL_21] (rows=383314495 width=135)
                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                    Merge Join Operator [MERGEJOIN_243] (rows=307461 width=1436)
-                                      Conds:RS_18._col2, _col1=RS_19._col1, _col0(Left Outer),Output:["_col3","_col4","_col6","_col7","_col8","_col10","_col15","_col16"]
+                                    Merge Join Operator [MERGEJOIN_243] (rows=383314495 width=135)
+                                      Conds:RS_18._col2, _col1=RS_19._col1, _col0(Left Outer),Output:["_col3","_col4","_col8","_col9","_col10","_col12","_col15","_col16"]
                                     <-Map 11 [SIMPLE_EDGE]
                                       SHUFFLE [RS_19]
                                         PartitionCols:_col1, _col0
-                                        Select Operator [SEL_11] (rows=1 width=0)
+                                        Select Operator [SEL_11] (rows=28798881 width=106)
                                           Output:["_col0","_col1","_col2","_col3"]
-                                          Filter Operator [FIL_220] (rows=1 width=0)
+                                          Filter Operator [FIL_220] (rows=28798881 width=106)
                                             predicate:cr_item_sk is not null
-                                            TableScan [TS_9] (rows=1 width=0)
-                                              default@catalog_returns,catalog_returns,Tbl:PARTIAL,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_quantity","cr_return_amount"]
+                                            TableScan [TS_9] (rows=28798881 width=106)
+                                              default@catalog_returns,catalog_returns,Tbl:COMPLETE,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_return_quantity","cr_return_amount"]
                                     <-Reducer 3 [SIMPLE_EDGE]
                                       SHUFFLE [RS_18]
                                         PartitionCols:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_242] (rows=279510 width=1436)
-                                          Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                        Merge Join Operator [MERGEJOIN_242] (rows=348467716 width=135)
+                                          Conds:RS_15._col1=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col8","_col9","_col10","_col12"]
                                         <-Map 10 [SIMPLE_EDGE]
                                           SHUFFLE [RS_16]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_8] (rows=36524 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_219] (rows=36524 width=1119)
-                                                predicate:((d_year = 2002) 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_year"]
+                                            Select Operator [SEL_8] (rows=231000 width=1436)
+                                              Output:["_col0","_col1","_col2","_col3","_col5"]
+                                              Filter Operator [FIL_219] (rows=231000 width=1436)
+                                                predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
+                                                TableScan [TS_6] (rows=462000 width=1436)
+                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
                                         <-Reducer 2 [SIMPLE_EDGE]
                                           SHUFFLE [RS_15]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_241] (rows=254100 width=1436)
-                                              Conds:RS_12._col1=RS_13._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_241] (rows=316788826 width=135)
+                                              Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                                             <-Map 1 [SIMPLE_EDGE]
                                               SHUFFLE [RS_12]
-                                                PartitionCols:_col1
-                                                Select Operator [SEL_2] (rows=1 width=0)
+                                                PartitionCols:_col0
+                                                Select Operator [SEL_2] (rows=287989836 width=135)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_217] (rows=1 width=0)
+                                                  Filter Operator [FIL_217] (rows=287989836 width=135)
                                                     predicate:(cs_item_sk is not null and cs_sold_date_sk is not null)
-                                                    TableScan [TS_0] (rows=1 width=0)
-                                                      default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_order_number","cs_quantity","cs_ext_sales_price"]
+                                                    TableScan [TS_0] (rows=287989836 width=135)
+                                                      default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_item_sk","cs_order_number","cs_quantity","cs_ext_sales_price"]
                                             <-Map 9 [SIMPLE_EDGE]
                                               SHUFFLE [RS_13]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_5] (rows=231000 width=1436)
-                                                  Output:["_col0","_col1","_col2","_col3","_col5"]
-                                                  Filter Operator [FIL_218] (rows=231000 width=1436)
-                                                    predicate:((i_category = 'Sports') and i_item_sk is not null and i_brand_id is not null and i_class_id is not null and i_category_id is not null and i_manufact_id is not null)
-                                                    TableScan [TS_3] (rows=462000 width=1436)
-                                                      default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_class_id","i_category_id","i_category","i_manufact_id"]
+                                                Select Operator [SEL_5] (rows=36524 width=1119)
+                                                  Output:["_col0"]
+                                                  Filter Operator [FIL_218] (rows=36524 width=1119)
+                                                    predicate:((d_year = 2002) and d_date_sk is not null)
+                                                    TableScan [TS_3] (rows=73049 width=1119)
+                                                      default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query76.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query76.q.out b/ql/src/test/results/clientpositive/perf/query76.q.out
index 170c18e..c7dbb37 100644
--- a/ql/src/test/results/clientpositive/perf/query76.q.out
+++ b/ql/src/test/results/clientpositive/perf/query76.q.out
@@ -20,23 +20,23 @@ Stage-0
     Stage-1
       Reducer 6
       File Output Operator [FS_59]
-        Limit [LIM_58] (rows=100 width=1436)
+        Limit [LIM_58] (rows=100 width=108)
           Number of rows:100
-          Select Operator [SEL_57] (rows=838530 width=1436)
+          Select Operator [SEL_57] (rows=304916424 width=108)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
           <-Reducer 5 [SIMPLE_EDGE]
             SHUFFLE [RS_56]
-              Group By Operator [GBY_54] (rows=838530 width=1436)
+              Group By Operator [GBY_54] (rows=304916424 width=108)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["count(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4
               <-Union 4 [SIMPLE_EDGE]
                 <-Reducer 11 [CONTAINS]
                   Reduce Output Operator [RS_53]
                     PartitionCols:_col0, _col1, _col2, _col3, _col4
-                    Group By Operator [GBY_52] (rows=1677060 width=1436)
+                    Group By Operator [GBY_52] (rows=609832848 width=108)
                       Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["count()","sum(_col5)"],keys:_col0, _col1, _col2, _col3, _col4
-                      Select Operator [SEL_31] (rows=559020 width=1436)
+                      Select Operator [SEL_31] (rows=87121617 width=135)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                        Merge Join Operator [MERGEJOIN_87] (rows=559020 width=1436)
+                        Merge Join Operator [MERGEJOIN_87] (rows=87121617 width=135)
                           Conds:RS_28._col0=RS_29._col0(Inner),Output:["_col3","_col5","_col7","_col8"]
                         <-Map 13 [SIMPLE_EDGE]
                           SHUFFLE [RS_29]
@@ -50,7 +50,7 @@ Stage-0
                         <-Reducer 10 [SIMPLE_EDGE]
                           SHUFFLE [RS_28]
                             PartitionCols:_col0
-                            Merge Join Operator [MERGEJOIN_86] (rows=508200 width=1436)
+                            Merge Join Operator [MERGEJOIN_86] (rows=79201469 width=135)
                               Conds:RS_25._col1=RS_26._col0(Inner),Output:["_col0","_col3","_col5"]
                             <-Map 12 [SIMPLE_EDGE]
                               SHUFFLE [RS_26]
@@ -64,20 +64,20 @@ Stage-0
                             <-Map 9 [SIMPLE_EDGE]
                               SHUFFLE [RS_25]
                                 PartitionCols:_col1
-                                Select Operator [SEL_18] (rows=1 width=0)
+                                Select Operator [SEL_18] (rows=72001334 width=135)
                                   Output:["_col0","_col1","_col3"]
-                                  Filter Operator [FIL_78] (rows=1 width=0)
+                                  Filter Operator [FIL_78] (rows=72001334 width=135)
                                     predicate:(ws_web_page_sk is null and ws_item_sk is not null and ws_sold_date_sk is not null)
-                                    TableScan [TS_16] (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_ext_sales_price"]
+                                    TableScan [TS_16] (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_ext_sales_price"]
                 <-Reducer 16 [CONTAINS]
                   Reduce Output Operator [RS_53]
                     PartitionCols:_col0, _col1, _col2, _col3, _col4
-                    Group By Operator [GBY_52] (rows=1677060 width=1436)
+                    Group By Operator [GBY_52] (rows=609832848 width=108)
                       Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["count()","sum(_col5)"],keys:_col0, _col1, _col2, _col3, _col4
-                      Select Operator [SEL_49] (rows=559020 width=1436)
+                      Select Operator [SEL_49] (rows=174233858 width=135)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                        Merge Join Operator [MERGEJOIN_89] (rows=559020 width=1436)
+                        Merge Join Operator [MERGEJOIN_89] (rows=174233858 width=135)
                           Conds:RS_46._col0=RS_47._col0(Inner),Output:["_col3","_col5","_col7","_col8"]
                         <-Map 18 [SIMPLE_EDGE]
                           SHUFFLE [RS_47]
@@ -91,17 +91,17 @@ Stage-0
                         <-Reducer 15 [SIMPLE_EDGE]
                           SHUFFLE [RS_46]
                             PartitionCols:_col0
-                            Merge Join Operator [MERGEJOIN_88] (rows=508200 width=1436)
+                            Merge Join Operator [MERGEJOIN_88] (rows=158394413 width=135)
                               Conds:RS_43._col2=RS_44._col0(Inner),Output:["_col0","_col3","_col5"]
                             <-Map 14 [SIMPLE_EDGE]
                               SHUFFLE [RS_43]
                                 PartitionCols:_col2
-                                Select Operator [SEL_36] (rows=1 width=0)
+                                Select Operator [SEL_36] (rows=143994918 width=135)
                                   Output:["_col0","_col2","_col3"]
-                                  Filter Operator [FIL_81] (rows=1 width=0)
+                                  Filter Operator [FIL_81] (rows=143994918 width=135)
                                     predicate:(cs_warehouse_sk is null and cs_item_sk is not null and cs_sold_date_sk is not null)
-                                    TableScan [TS_34] (rows=1 width=0)
-                                      default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_warehouse_sk","cs_item_sk","cs_ext_sales_price"]
+                                    TableScan [TS_34] (rows=287989836 width=135)
+                                      default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_warehouse_sk","cs_item_sk","cs_ext_sales_price"]
                             <-Map 17 [SIMPLE_EDGE]
                               SHUFFLE [RS_44]
                                 PartitionCols:_col0
@@ -114,12 +114,12 @@ Stage-0
                 <-Reducer 3 [CONTAINS]
                   Reduce Output Operator [RS_53]
                     PartitionCols:_col0, _col1, _col2, _col3, _col4
-                    Group By Operator [GBY_52] (rows=1677060 width=1436)
+                    Group By Operator [GBY_52] (rows=609832848 width=108)
                       Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["count()","sum(_col5)"],keys:_col0, _col1, _col2, _col3, _col4
-                      Select Operator [SEL_15] (rows=559020 width=1436)
+                      Select Operator [SEL_15] (rows=348477373 width=88)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                        Merge Join Operator [MERGEJOIN_85] (rows=559020 width=1436)
-                          Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col3","_col5","_col7","_col8"]
+                        Merge Join Operator [MERGEJOIN_85] (rows=348477373 width=88)
+                          Conds:RS_12._col2=RS_13._col0(Inner),Output:["_col1","_col5","_col7","_col8"]
                         <-Map 8 [SIMPLE_EDGE]
                           SHUFFLE [RS_13]
                             PartitionCols:_col0
@@ -131,25 +131,25 @@ Stage-0
                                   default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_qoy"]
                         <-Reducer 2 [SIMPLE_EDGE]
                           SHUFFLE [RS_12]
-                            PartitionCols:_col0
-                            Merge Join Operator [MERGEJOIN_84] (rows=508200 width=1436)
-                              Conds:RS_9._col1=RS_10._col0(Inner),Output:["_col0","_col3","_col5"]
+                            PartitionCols:_col2
+                            Merge Join Operator [MERGEJOIN_84] (rows=316797605 width=88)
+                              Conds:RS_9._col0=RS_10._col1(Inner),Output:["_col1","_col2","_col5"]
                             <-Map 1 [SIMPLE_EDGE]
                               SHUFFLE [RS_9]
-                                PartitionCols:_col1
-                                Select Operator [SEL_2] (rows=1 width=0)
-                                  Output:["_col0","_col1","_col3"]
-                                  Filter Operator [FIL_75] (rows=1 width=0)
-                                    predicate:(ss_addr_sk is null and ss_item_sk is not null and ss_sold_date_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_addr_sk","ss_ext_sales_price"]
-                            <-Map 7 [SIMPLE_EDGE]
-                              SHUFFLE [RS_10]
                                 PartitionCols:_col0
-                                Select Operator [SEL_5] (rows=462000 width=1436)
+                                Select Operator [SEL_2] (rows=462000 width=1436)
                                   Output:["_col0","_col1"]
-                                  Filter Operator [FIL_76] (rows=462000 width=1436)
+                                  Filter Operator [FIL_75] (rows=462000 width=1436)
                                     predicate:i_item_sk is not null
-                                    TableScan [TS_3] (rows=462000 width=1436)
+                                    TableScan [TS_0] (rows=462000 width=1436)
                                       default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_category"]
+                            <-Map 7 [SIMPLE_EDGE]
+                              SHUFFLE [RS_10]
+                                PartitionCols:_col1
+                                Select Operator [SEL_5] (rows=287997817 width=88)
+                                  Output:["_col0","_col1","_col3"]
+                                  Filter Operator [FIL_76] (rows=287997817 width=88)
+                                    predicate:(ss_addr_sk is null and ss_item_sk is not null and ss_sold_date_sk is not null)
+                                    TableScan [TS_3] (rows=575995635 width=88)
+                                      default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_addr_sk","ss_ext_sales_price"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query79.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query79.q.out b/ql/src/test/results/clientpositive/perf/query79.q.out
index a17eb84..f5a68fc 100644
--- a/ql/src/test/results/clientpositive/perf/query79.q.out
+++ b/ql/src/test/results/clientpositive/perf/query79.q.out
@@ -5,98 +5,98 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
-Reducer 3 <- Map 9 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 10 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Reducer 4 (SIMPLE_EDGE)
-Reducer 6 <- Map 11 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
-Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
+Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
+Reducer 5 <- Map 4 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
+Reducer 6 <- Map 10 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
+Reducer 7 <- Map 11 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
+Reducer 8 <- Reducer 7 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
     limit:100
     Stage-1
-      Reducer 7
+      Reducer 3
       File Output Operator [FS_37]
-        Limit [LIM_36] (rows=100 width=860)
+        Limit [LIM_36] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_35] (rows=88000001 width=860)
+          Select Operator [SEL_35] (rows=421657640 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-          <-Reducer 6 [SIMPLE_EDGE]
+          <-Reducer 2 [SIMPLE_EDGE]
             SHUFFLE [RS_34]
-              Select Operator [SEL_33] (rows=88000001 width=860)
+              Select Operator [SEL_33] (rows=421657640 width=88)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                Merge Join Operator [MERGEJOIN_60] (rows=88000001 width=860)
-                  Conds:RS_30._col1=RS_31._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col6","_col7"]
-                <-Map 11 [SIMPLE_EDGE]
-                  SHUFFLE [RS_31]
+                Merge Join Operator [MERGEJOIN_60] (rows=421657640 width=88)
+                  Conds:RS_30._col0=RS_31._col1(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7"]
+                <-Map 1 [SIMPLE_EDGE]
+                  SHUFFLE [RS_30]
                     PartitionCols:_col0
-                    Select Operator [SEL_29] (rows=80000000 width=860)
+                    Select Operator [SEL_2] (rows=80000000 width=860)
                       Output:["_col0","_col1","_col2"]
-                      Filter Operator [FIL_56] (rows=80000000 width=860)
+                      Filter Operator [FIL_52] (rows=80000000 width=860)
                         predicate:c_customer_sk is not null
-                        TableScan [TS_27] (rows=80000000 width=860)
+                        TableScan [TS_0] (rows=80000000 width=860)
                           default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_first_name","c_last_name"]
-                <-Reducer 5 [SIMPLE_EDGE]
-                  SHUFFLE [RS_30]
+                <-Reducer 8 [SIMPLE_EDGE]
+                  SHUFFLE [RS_31]
                     PartitionCols:_col1
-                    Select Operator [SEL_25] (rows=12152 width=1119)
+                    Select Operator [SEL_28] (rows=383325119 width=88)
                       Output:["_col0","_col1","_col2","_col3","_col4"]
-                      Group By Operator [GBY_24] (rows=12152 width=1119)
+                      Group By Operator [GBY_27] (rows=383325119 width=88)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3
-                      <-Reducer 4 [SIMPLE_EDGE]
-                        SHUFFLE [RS_23]
+                      <-Reducer 7 [SIMPLE_EDGE]
+                        SHUFFLE [RS_26]
                           PartitionCols:_col0, _col1, _col2, _col3
-                          Group By Operator [GBY_22] (rows=24305 width=1119)
+                          Group By Operator [GBY_25] (rows=766650239 width=88)
                             Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col6)","sum(_col7)"],keys:_col1, _col3, _col5, _col13
-                            Select Operator [SEL_21] (rows=24305 width=1119)
+                            Select Operator [SEL_24] (rows=766650239 width=88)
                               Output:["_col1","_col3","_col5","_col13","_col6","_col7"]
-                              Merge Join Operator [MERGEJOIN_59] (rows=24305 width=1119)
-                                Conds:RS_18._col2=RS_19._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7","_col13"]
-                              <-Map 10 [SIMPLE_EDGE]
-                                SHUFFLE [RS_19]
+                              Merge Join Operator [MERGEJOIN_59] (rows=766650239 width=88)
+                                Conds:RS_21._col2=RS_22._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7","_col13"]
+                              <-Map 11 [SIMPLE_EDGE]
+                                SHUFFLE [RS_22]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_11] (rows=6000 width=107)
+                                  Select Operator [SEL_14] (rows=6000 width=107)
                                     Output:["_col0"]
-                                    Filter Operator [FIL_55] (rows=6000 width=107)
+                                    Filter Operator [FIL_56] (rows=6000 width=107)
                                       predicate:(((hd_dep_count = 8) or (hd_vehicle_count > 0)) and hd_demo_sk is not null)
-                                      TableScan [TS_9] (rows=7200 width=107)
+                                      TableScan [TS_12] (rows=7200 width=107)
                                         default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_dep_count","hd_vehicle_count"]
-                              <-Reducer 3 [SIMPLE_EDGE]
-                                SHUFFLE [RS_18]
+                              <-Reducer 6 [SIMPLE_EDGE]
+                                SHUFFLE [RS_21]
                                   PartitionCols:_col2
-                                  Merge Join Operator [MERGEJOIN_58] (rows=22096 width=1119)
-                                    Conds:RS_15._col4=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7","_col13"]
-                                  <-Map 9 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_16]
+                                  Merge Join Operator [MERGEJOIN_58] (rows=696954748 width=88)
+                                    Conds:RS_18._col4=RS_19._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7","_col13"]
+                                  <-Map 10 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_19]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_8] (rows=852 width=1910)
+                                      Select Operator [SEL_11] (rows=852 width=1910)
                                         Output:["_col0","_col2"]
-                                        Filter Operator [FIL_54] (rows=852 width=1910)
+                                        Filter Operator [FIL_55] (rows=852 width=1910)
                                           predicate:(s_number_employees BETWEEN 200 AND 295 and s_store_sk is not null)
-                                          TableScan [TS_6] (rows=1704 width=1910)
+                                          TableScan [TS_9] (rows=1704 width=1910)
                                             default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_number_employees","s_city"]
-                                  <-Reducer 2 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_15]
+                                  <-Reducer 5 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_18]
                                       PartitionCols:_col4
-                                      Merge Join Operator [MERGEJOIN_57] (rows=20088 width=1119)
-                                        Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                      <-Map 1 [SIMPLE_EDGE]
-                                        SHUFFLE [RS_12]
+                                      Merge Join Operator [MERGEJOIN_57] (rows=633595212 width=88)
+                                        Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                                      <-Map 4 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_15]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_2] (rows=1 width=0)
+                                          Select Operator [SEL_5] (rows=575995635 width=88)
                                             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                            Filter Operator [FIL_52] (rows=1 width=0)
+                                            Filter Operator [FIL_53] (rows=575995635 width=88)
                                               predicate:(ss_sold_date_sk is not null and ss_store_sk is not null and ss_hdemo_sk is not null and ss_customer_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_customer_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_ticket_number","ss_coupon_amt","ss_net_profit"]
-                                      <-Map 8 [SIMPLE_EDGE]
-                                        SHUFFLE [RS_13]
+                                              TableScan [TS_3] (rows=575995635 width=88)
+                                                default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_ticket_number","ss_coupon_amt","ss_net_profit"]
+                                      <-Map 9 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_16]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_5] (rows=18262 width=1119)
+                                          Select Operator [SEL_8] (rows=18262 width=1119)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_53] (rows=18262 width=1119)
+                                            Filter Operator [FIL_54] (rows=18262 width=1119)
                                               predicate:((d_year) IN (1998, 1999, 2000) and (d_dow = 1) and d_date_sk is not null)
-                                              TableScan [TS_3] (rows=73049 width=1119)
+                                              TableScan [TS_6] (rows=73049 width=1119)
                                                 default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_dow"]