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/08/10 16:33:06 UTC

[27/39] hive git commit: HIVE-12181 : Change hive.stats.fetch.column.stats value to true for MiniTezCliDriver (Ashutosh Chauhan via Jesus Camacho Rodriguez)

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
index 31c5b08..ac1b211 100644
--- a/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
+++ b/ql/src/test/results/clientpositive/tez/explainuser_2.q.out
@@ -190,42 +190,42 @@ Stage-0
     Stage-1
       Reducer 3
       File Output Operator [FS_16]
-        Select Operator [SEL_15] (rows=605 width=10)
+        Select Operator [SEL_15] (rows=141 width=268)
           Output:["_col0","_col1","_col2"]
-          Merge Join Operator [MERGEJOIN_26] (rows=605 width=10)
+          Merge Join Operator [MERGEJOIN_26] (rows=141 width=268)
             Conds:RS_12._col3=RS_13._col0(Inner),Output:["_col0","_col3","_col6"]
           <-Map 5 [SIMPLE_EDGE]
             SHUFFLE [RS_13]
               PartitionCols:_col0
-              Select Operator [SEL_8] (rows=500 width=10)
+              Select Operator [SEL_8] (rows=500 width=178)
                 Output:["_col0","_col1"]
-                Filter Operator [FIL_24] (rows=500 width=10)
+                Filter Operator [FIL_24] (rows=500 width=178)
                   predicate:key is not null
-                  TableScan [TS_6] (rows=500 width=10)
-                    default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                  TableScan [TS_6] (rows=500 width=178)
+                    default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
           <-Reducer 2 [SIMPLE_EDGE]
             SHUFFLE [RS_12]
               PartitionCols:_col3
-              Merge Join Operator [MERGEJOIN_25] (rows=550 width=10)
+              Merge Join Operator [MERGEJOIN_25] (rows=58 width=177)
                 Conds:RS_9._col0=RS_10._col1(Inner),Output:["_col0","_col3"]
               <-Map 1 [SIMPLE_EDGE]
                 SHUFFLE [RS_9]
                   PartitionCols:_col0
-                  Select Operator [SEL_2] (rows=500 width=10)
+                  Select Operator [SEL_2] (rows=500 width=369)
                     Output:["_col0"]
-                    Filter Operator [FIL_22] (rows=500 width=10)
+                    Filter Operator [FIL_22] (rows=500 width=91)
                       predicate:value is not null
-                      TableScan [TS_0] (rows=500 width=10)
-                        default@srcpart,z,Tbl:COMPLETE,Col:NONE,Output:["value"]
+                      TableScan [TS_0] (rows=500 width=91)
+                        default@srcpart,z,Tbl:COMPLETE,Col:COMPLETE,Output:["value"]
               <-Map 4 [SIMPLE_EDGE]
                 SHUFFLE [RS_10]
                   PartitionCols:_col1
-                  Select Operator [SEL_5] (rows=25 width=7)
+                  Select Operator [SEL_5] (rows=25 width=175)
                     Output:["_col0","_col1"]
-                    Filter Operator [FIL_23] (rows=25 width=7)
+                    Filter Operator [FIL_23] (rows=25 width=175)
                       predicate:(key is not null and value is not null)
-                      TableScan [TS_3] (rows=25 width=7)
-                        default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                      TableScan [TS_3] (rows=25 width=175)
+                        default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
 
 PREHOOK: query: EXPLAIN
 select 
@@ -302,127 +302,127 @@ Stage-0
     Stage-1
       Reducer 5
       File Output Operator [FS_55]
-        Limit [LIM_54] (rows=100 width=10)
+        Limit [LIM_54] (rows=24 width=285)
           Number of rows:100
-          Select Operator [SEL_53] (rows=805 width=10)
+          Select Operator [SEL_53] (rows=24 width=285)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
           <-Reducer 4 [SIMPLE_EDGE]
             SHUFFLE [RS_52]
-              Group By Operator [GBY_50] (rows=805 width=10)
+              Group By Operator [GBY_50] (rows=24 width=285)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"],keys:KEY._col0, KEY._col1, KEY._col2
               <-Reducer 3 [SIMPLE_EDGE]
                 SHUFFLE [RS_49]
                   PartitionCols:_col0, _col1, _col2
-                  Group By Operator [GBY_48] (rows=1610 width=10)
+                  Group By Operator [GBY_48] (rows=24 width=285)
                     Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col13)","count(_col21)","count(_col3)"],keys:_col12, _col20, _col2
-                    Select Operator [SEL_47] (rows=1610 width=10)
+                    Select Operator [SEL_47] (rows=650 width=534)
                       Output:["_col12","_col20","_col2","_col13","_col21","_col3"]
-                      Merge Join Operator [MERGEJOIN_97] (rows=1610 width=10)
+                      Merge Join Operator [MERGEJOIN_97] (rows=650 width=534)
                         Conds:RS_44._col1, _col3=RS_45._col15, _col17(Inner),Output:["_col2","_col3","_col12","_col13","_col20","_col21"]
                       <-Reducer 11 [SIMPLE_EDGE]
                         SHUFFLE [RS_45]
                           PartitionCols:_col15, _col17
-                          Select Operator [SEL_40] (rows=1464 width=10)
+                          Select Operator [SEL_40] (rows=190 width=447)
                             Output:["_col14","_col15","_col17","_col6","_col7"]
-                            Merge Join Operator [MERGEJOIN_96] (rows=1464 width=10)
+                            Merge Join Operator [MERGEJOIN_96] (rows=190 width=447)
                               Conds:RS_37._col6, _col4=RS_38._col4, _col2(Inner),Output:["_col2","_col3","_col14","_col15","_col17"]
                             <-Reducer 10 [SIMPLE_EDGE]
                               SHUFFLE [RS_37]
                                 PartitionCols:_col6, _col4
-                                Merge Join Operator [MERGEJOIN_94] (rows=1331 width=10)
+                                Merge Join Operator [MERGEJOIN_94] (rows=40 width=352)
                                   Conds:RS_34._col3=RS_35._col1(Inner),Output:["_col2","_col3","_col4","_col6"]
                                 <-Map 14 [SIMPLE_EDGE]
                                   SHUFFLE [RS_35]
                                     PartitionCols:_col1
-                                    Select Operator [SEL_17] (rows=12 width=7)
+                                    Select Operator [SEL_17] (rows=2 width=180)
                                       Output:["_col1"]
-                                      Filter Operator [FIL_88] (rows=12 width=7)
+                                      Filter Operator [FIL_88] (rows=2 width=175)
                                         predicate:((key = 'src1key') and value is not null)
-                                        TableScan [TS_15] (rows=25 width=7)
-                                          default@src1,src1,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                        TableScan [TS_15] (rows=25 width=175)
+                                          default@src1,src1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                                 <-Reducer 9 [SIMPLE_EDGE]
                                   SHUFFLE [RS_34]
                                     PartitionCols:_col3
-                                    Merge Join Operator [MERGEJOIN_93] (rows=1210 width=10)
+                                    Merge Join Operator [MERGEJOIN_93] (rows=40 width=352)
                                       Conds:RS_31._col2=RS_32._col0(Inner),Output:["_col2","_col3","_col4","_col6"]
                                     <-Map 13 [SIMPLE_EDGE]
                                       SHUFFLE [RS_32]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_14] (rows=250 width=10)
+                                        Select Operator [SEL_14] (rows=2 width=178)
                                           Output:["_col0"]
-                                          Filter Operator [FIL_87] (rows=250 width=10)
+                                          Filter Operator [FIL_87] (rows=2 width=178)
                                             predicate:((value = 'd1value') and key is not null)
-                                            TableScan [TS_12] (rows=500 width=10)
-                                              default@src,d1,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                            TableScan [TS_12] (rows=500 width=178)
+                                              default@src,d1,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                                     <-Reducer 8 [SIMPLE_EDGE]
                                       SHUFFLE [RS_31]
                                         PartitionCols:_col2
-                                        Merge Join Operator [MERGEJOIN_92] (rows=1100 width=10)
+                                        Merge Join Operator [MERGEJOIN_92] (rows=40 width=352)
                                           Conds:RS_28._col1=RS_29._col3(Inner),Output:["_col2","_col3","_col4","_col6"]
                                         <-Map 12 [SIMPLE_EDGE]
                                           SHUFFLE [RS_29]
                                             PartitionCols:_col3
-                                            Select Operator [SEL_11] (rows=42 width=34)
+                                            Select Operator [SEL_11] (rows=8 width=531)
                                               Output:["_col0","_col1","_col2","_col3","_col4"]
-                                              Filter Operator [FIL_86] (rows=42 width=34)
+                                              Filter Operator [FIL_86] (rows=8 width=534)
                                                 predicate:((v3 = 'ssv3') and k2 is not null and k3 is not null and k1 is not null and v1 is not null and v2 is not null)
-                                                TableScan [TS_9] (rows=85 width=34)
-                                                  default@ss,ss,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
+                                                TableScan [TS_9] (rows=85 width=534)
+                                                  default@ss,ss,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
                                         <-Map 7 [SIMPLE_EDGE]
                                           SHUFFLE [RS_28]
                                             PartitionCols:_col1
-                                            Select Operator [SEL_8] (rows=1000 width=10)
+                                            Select Operator [SEL_8] (rows=10 width=185)
                                               Output:["_col1"]
-                                              Filter Operator [FIL_85] (rows=1000 width=10)
+                                              Filter Operator [FIL_85] (rows=10 width=178)
                                                 predicate:((key = 'srcpartkey') and value is not null)
-                                                TableScan [TS_6] (rows=2000 width=10)
-                                                  default@srcpart,srcpart,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                                TableScan [TS_6] (rows=2000 width=178)
+                                                  default@srcpart,srcpart,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                             <-Reducer 16 [SIMPLE_EDGE]
                               SHUFFLE [RS_38]
                                 PartitionCols:_col4, _col2
-                                Merge Join Operator [MERGEJOIN_95] (rows=275 width=10)
+                                Merge Join Operator [MERGEJOIN_95] (rows=19 width=356)
                                   Conds:RS_24._col0=RS_25._col0(Inner),Output:["_col2","_col3","_col4","_col5"]
                                 <-Map 15 [SIMPLE_EDGE]
                                   SHUFFLE [RS_24]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_20] (rows=42 width=34)
+                                    Select Operator [SEL_20] (rows=8 width=531)
                                       Output:["_col0","_col2","_col3","_col4","_col5"]
-                                      Filter Operator [FIL_89] (rows=42 width=34)
+                                      Filter Operator [FIL_89] (rows=8 width=534)
                                         predicate:((v1 = 'srv1') and k2 is not null and k3 is not null and v2 is not null and v3 is not null and k1 is not null)
-                                        TableScan [TS_18] (rows=85 width=34)
-                                          default@sr,sr,Tbl:COMPLETE,Col:NONE,Output:["k1","v1","k2","v2","k3","v3"]
+                                        TableScan [TS_18] (rows=85 width=534)
+                                          default@sr,sr,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v1","k2","v2","k3","v3"]
                                 <-Map 17 [SIMPLE_EDGE]
                                   SHUFFLE [RS_25]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_23] (rows=250 width=10)
+                                    Select Operator [SEL_23] (rows=500 width=178)
                                       Output:["_col0"]
-                                      Filter Operator [FIL_90] (rows=250 width=10)
+                                      Filter Operator [FIL_90] (rows=500 width=178)
                                         predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3') and key is not null)
-                                        TableScan [TS_21] (rows=500 width=10)
-                                          default@src,d2,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                        TableScan [TS_21] (rows=500 width=178)
+                                          default@src,d2,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                       <-Reducer 2 [SIMPLE_EDGE]
                         SHUFFLE [RS_44]
                           PartitionCols:_col1, _col3
-                          Merge Join Operator [MERGEJOIN_91] (rows=275 width=10)
+                          Merge Join Operator [MERGEJOIN_91] (rows=414 width=269)
                             Conds:RS_41._col0=RS_42._col0(Inner),Output:["_col1","_col2","_col3"]
                           <-Map 1 [SIMPLE_EDGE]
                             SHUFFLE [RS_41]
                               PartitionCols:_col0
-                              Select Operator [SEL_2] (rows=170 width=34)
+                              Select Operator [SEL_2] (rows=170 width=356)
                                 Output:["_col0","_col1","_col2","_col3"]
-                                Filter Operator [FIL_83] (rows=170 width=34)
+                                Filter Operator [FIL_83] (rows=170 width=356)
                                   predicate:(v2 is not null and v3 is not null and k1 is not null)
-                                  TableScan [TS_0] (rows=170 width=34)
-                                    default@cs,cs,Tbl:COMPLETE,Col:NONE,Output:["k1","v2","k3","v3"]
+                                  TableScan [TS_0] (rows=170 width=356)
+                                    default@cs,cs,Tbl:COMPLETE,Col:COMPLETE,Output:["k1","v2","k3","v3"]
                           <-Map 6 [SIMPLE_EDGE]
                             SHUFFLE [RS_42]
                               PartitionCols:_col0
-                              Select Operator [SEL_5] (rows=250 width=10)
+                              Select Operator [SEL_5] (rows=500 width=178)
                                 Output:["_col0"]
-                                Filter Operator [FIL_84] (rows=250 width=10)
+                                Filter Operator [FIL_84] (rows=500 width=178)
                                   predicate:((value) IN ('2000Q1', '2000Q2', '2000Q3') and key is not null)
-                                  TableScan [TS_3] (rows=500 width=10)
-                                    default@src,d3,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                  TableScan [TS_3] (rows=500 width=178)
+                                    default@src,d3,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
 
 PREHOOK: query: explain
 SELECT x.key, z.value, y.value
@@ -463,132 +463,132 @@ Stage-0
     Stage-1
       Reducer 7
       File Output Operator [FS_59]
-        Group By Operator [GBY_57] (rows=550 width=10)
+        Group By Operator [GBY_57] (rows=28 width=177)
           Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
         <-Union 6 [SIMPLE_EDGE]
           <-Reducer 15 [CONTAINS]
             Reduce Output Operator [RS_56]
               PartitionCols:_col0, _col1
-              Group By Operator [GBY_55] (rows=1100 width=10)
+              Group By Operator [GBY_55] (rows=28 width=177)
                 Output:["_col0","_col1"],keys:_col0, _col1
-                Select Operator [SEL_51] (rows=550 width=10)
+                Select Operator [SEL_51] (rows=73 width=177)
                   Output:["_col0","_col1"]
-                  Merge Join Operator [MERGEJOIN_85] (rows=550 width=10)
+                  Merge Join Operator [MERGEJOIN_85] (rows=73 width=177)
                     Conds:RS_48._col2=RS_49._col0(Inner),Output:["_col1","_col2"]
                   <-Map 18 [SIMPLE_EDGE]
                     SHUFFLE [RS_49]
                       PartitionCols:_col0
-                      Select Operator [SEL_44] (rows=500 width=10)
+                      Select Operator [SEL_44] (rows=500 width=87)
                         Output:["_col0"]
-                        Filter Operator [FIL_81] (rows=500 width=10)
+                        Filter Operator [FIL_81] (rows=500 width=87)
                           predicate:key is not null
-                          TableScan [TS_42] (rows=500 width=10)
-                            default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key"]
+                          TableScan [TS_42] (rows=500 width=87)
+                            default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key"]
                   <-Reducer 14 [SIMPLE_EDGE]
                     SHUFFLE [RS_48]
                       PartitionCols:_col2
-                      Merge Join Operator [MERGEJOIN_84] (rows=288 width=10)
+                      Merge Join Operator [MERGEJOIN_84] (rows=30 width=177)
                         Conds:RS_45._col1=RS_46._col1(Inner),Output:["_col1","_col2"]
                       <-Map 17 [SIMPLE_EDGE]
                         SHUFFLE [RS_46]
                           PartitionCols:_col1
-                          Select Operator [SEL_41] (rows=25 width=7)
+                          Select Operator [SEL_41] (rows=25 width=175)
                             Output:["_col0","_col1"]
-                            Filter Operator [FIL_80] (rows=25 width=7)
+                            Filter Operator [FIL_80] (rows=25 width=175)
                               predicate:(key is not null and value is not null)
-                              TableScan [TS_39] (rows=25 width=7)
-                                default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                              TableScan [TS_39] (rows=25 width=175)
+                                default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                       <-Reducer 13 [SIMPLE_EDGE]
                         SHUFFLE [RS_45]
                           PartitionCols:_col1
-                          Select Operator [SEL_38] (rows=262 width=10)
+                          Select Operator [SEL_38] (rows=262 width=178)
                             Output:["_col1"]
-                            Group By Operator [GBY_37] (rows=262 width=10)
+                            Group By Operator [GBY_37] (rows=262 width=178)
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 12 [SIMPLE_EDGE]
                               <-Map 11 [CONTAINS]
                                 Reduce Output Operator [RS_36]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_35] (rows=525 width=10)
+                                  Group By Operator [GBY_35] (rows=262 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_28] (rows=25 width=7)
+                                    Select Operator [SEL_28] (rows=25 width=175)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_78] (rows=25 width=7)
+                                      Filter Operator [FIL_78] (rows=25 width=175)
                                         predicate:value is not null
-                                        TableScan [TS_26] (rows=25 width=7)
+                                        TableScan [TS_26] (rows=25 width=175)
                                           Output:["key","value"]
                               <-Map 16 [CONTAINS]
                                 Reduce Output Operator [RS_36]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_35] (rows=525 width=10)
+                                  Group By Operator [GBY_35] (rows=262 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_31] (rows=500 width=10)
+                                    Select Operator [SEL_31] (rows=500 width=178)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_79] (rows=500 width=10)
+                                      Filter Operator [FIL_79] (rows=500 width=178)
                                         predicate:value is not null
-                                        TableScan [TS_29] (rows=500 width=10)
+                                        TableScan [TS_29] (rows=500 width=178)
                                           Output:["key","value"]
           <-Reducer 5 [CONTAINS]
             Reduce Output Operator [RS_56]
               PartitionCols:_col0, _col1
-              Group By Operator [GBY_55] (rows=1100 width=10)
+              Group By Operator [GBY_55] (rows=28 width=177)
                 Output:["_col0","_col1"],keys:_col0, _col1
-                Select Operator [SEL_25] (rows=550 width=10)
+                Select Operator [SEL_25] (rows=73 width=177)
                   Output:["_col0","_col1"]
-                  Merge Join Operator [MERGEJOIN_83] (rows=550 width=10)
+                  Merge Join Operator [MERGEJOIN_83] (rows=73 width=177)
                     Conds:RS_22._col2=RS_23._col0(Inner),Output:["_col1","_col2"]
                   <-Map 10 [SIMPLE_EDGE]
                     SHUFFLE [RS_23]
                       PartitionCols:_col0
-                      Select Operator [SEL_18] (rows=500 width=10)
+                      Select Operator [SEL_18] (rows=500 width=87)
                         Output:["_col0"]
-                        Filter Operator [FIL_77] (rows=500 width=10)
+                        Filter Operator [FIL_77] (rows=500 width=87)
                           predicate:key is not null
-                          TableScan [TS_16] (rows=500 width=10)
-                            default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key"]
+                          TableScan [TS_16] (rows=500 width=87)
+                            default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key"]
                   <-Reducer 4 [SIMPLE_EDGE]
                     SHUFFLE [RS_22]
                       PartitionCols:_col2
-                      Merge Join Operator [MERGEJOIN_82] (rows=288 width=10)
+                      Merge Join Operator [MERGEJOIN_82] (rows=30 width=177)
                         Conds:RS_19._col1=RS_20._col1(Inner),Output:["_col1","_col2"]
                       <-Map 9 [SIMPLE_EDGE]
                         SHUFFLE [RS_20]
                           PartitionCols:_col1
-                          Select Operator [SEL_15] (rows=25 width=7)
+                          Select Operator [SEL_15] (rows=25 width=175)
                             Output:["_col0","_col1"]
-                            Filter Operator [FIL_76] (rows=25 width=7)
+                            Filter Operator [FIL_76] (rows=25 width=175)
                               predicate:(key is not null and value is not null)
-                              TableScan [TS_13] (rows=25 width=7)
-                                default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                              TableScan [TS_13] (rows=25 width=175)
+                                default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                       <-Reducer 3 [SIMPLE_EDGE]
                         SHUFFLE [RS_19]
                           PartitionCols:_col1
-                          Select Operator [SEL_12] (rows=262 width=10)
+                          Select Operator [SEL_12] (rows=262 width=178)
                             Output:["_col1"]
-                            Group By Operator [GBY_11] (rows=262 width=10)
+                            Group By Operator [GBY_11] (rows=262 width=178)
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 2 [SIMPLE_EDGE]
                               <-Map 1 [CONTAINS]
                                 Reduce Output Operator [RS_10]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_9] (rows=525 width=10)
+                                  Group By Operator [GBY_9] (rows=262 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_2] (rows=25 width=7)
+                                    Select Operator [SEL_2] (rows=25 width=175)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_74] (rows=25 width=7)
+                                      Filter Operator [FIL_74] (rows=25 width=175)
                                         predicate:value is not null
-                                        TableScan [TS_0] (rows=25 width=7)
+                                        TableScan [TS_0] (rows=25 width=175)
                                           Output:["key","value"]
                               <-Map 8 [CONTAINS]
                                 Reduce Output Operator [RS_10]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_9] (rows=525 width=10)
+                                  Group By Operator [GBY_9] (rows=262 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_5] (rows=500 width=10)
+                                    Select Operator [SEL_5] (rows=500 width=178)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_75] (rows=500 width=10)
+                                      Filter Operator [FIL_75] (rows=500 width=178)
                                         predicate:value is not null
-                                        TableScan [TS_3] (rows=500 width=10)
+                                        TableScan [TS_3] (rows=500 width=178)
                                           Output:["key","value"]
 
 PREHOOK: query: explain
@@ -650,265 +650,265 @@ Stage-0
     Stage-1
       Reducer 9
       File Output Operator [FS_122]
-        Group By Operator [GBY_120] (rows=550 width=10)
+        Group By Operator [GBY_120] (rows=107 width=177)
           Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
         <-Union 8 [SIMPLE_EDGE]
           <-Reducer 32 [CONTAINS]
             Reduce Output Operator [RS_119]
               PartitionCols:_col0, _col1
-              Group By Operator [GBY_118] (rows=1100 width=10)
+              Group By Operator [GBY_118] (rows=107 width=177)
                 Output:["_col0","_col1"],keys:_col0, _col1
-                Select Operator [SEL_114] (rows=550 width=10)
+                Select Operator [SEL_114] (rows=124 width=177)
                   Output:["_col0","_col1"]
-                  Merge Join Operator [MERGEJOIN_170] (rows=550 width=10)
+                  Merge Join Operator [MERGEJOIN_170] (rows=124 width=177)
                     Conds:RS_111._col2=RS_112._col0(Inner),Output:["_col2","_col5"]
                   <-Map 37 [SIMPLE_EDGE]
                     SHUFFLE [RS_112]
                       PartitionCols:_col0
-                      Select Operator [SEL_107] (rows=500 width=10)
+                      Select Operator [SEL_107] (rows=500 width=178)
                         Output:["_col0","_col1"]
-                        Filter Operator [FIL_164] (rows=500 width=10)
+                        Filter Operator [FIL_164] (rows=500 width=178)
                           predicate:key is not null
-                          TableScan [TS_105] (rows=500 width=10)
-                            default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                          TableScan [TS_105] (rows=500 width=178)
+                            default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                   <-Reducer 31 [SIMPLE_EDGE]
                     SHUFFLE [RS_111]
                       PartitionCols:_col2
-                      Merge Join Operator [MERGEJOIN_169] (rows=484 width=10)
+                      Merge Join Operator [MERGEJOIN_169] (rows=51 width=86)
                         Conds:RS_108._col1=RS_109._col1(Inner),Output:["_col2"]
                       <-Map 36 [SIMPLE_EDGE]
                         SHUFFLE [RS_109]
                           PartitionCols:_col1
-                          Select Operator [SEL_104] (rows=25 width=7)
+                          Select Operator [SEL_104] (rows=25 width=175)
                             Output:["_col0","_col1"]
-                            Filter Operator [FIL_163] (rows=25 width=7)
+                            Filter Operator [FIL_163] (rows=25 width=175)
                               predicate:(key is not null and value is not null)
-                              TableScan [TS_102] (rows=25 width=7)
-                                default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                              TableScan [TS_102] (rows=25 width=175)
+                                default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                       <-Reducer 30 [SIMPLE_EDGE]
                         SHUFFLE [RS_108]
                           PartitionCols:_col1
-                          Select Operator [SEL_101] (rows=440 width=10)
+                          Select Operator [SEL_101] (rows=440 width=178)
                             Output:["_col1"]
-                            Group By Operator [GBY_100] (rows=440 width=10)
+                            Group By Operator [GBY_100] (rows=440 width=178)
                               Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                             <-Union 29 [SIMPLE_EDGE]
                               <-Map 35 [CONTAINS]
                                 Reduce Output Operator [RS_99]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_98] (rows=881 width=10)
+                                  Group By Operator [GBY_98] (rows=440 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_94] (rows=500 width=10)
+                                    Select Operator [SEL_94] (rows=500 width=178)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_162] (rows=500 width=10)
+                                      Filter Operator [FIL_162] (rows=500 width=178)
                                         predicate:value is not null
-                                        TableScan [TS_92] (rows=500 width=10)
+                                        TableScan [TS_92] (rows=500 width=178)
                                           Output:["key","value"]
                               <-Reducer 28 [CONTAINS]
                                 Reduce Output Operator [RS_99]
                                   PartitionCols:_col0, _col1
-                                  Group By Operator [GBY_98] (rows=881 width=10)
+                                  Group By Operator [GBY_98] (rows=440 width=178)
                                     Output:["_col0","_col1"],keys:_col1, _col0
-                                    Select Operator [SEL_91] (rows=381 width=10)
+                                    Select Operator [SEL_91] (rows=381 width=178)
                                       Output:["_col0","_col1"]
-                                      Group By Operator [GBY_90] (rows=381 width=10)
+                                      Group By Operator [GBY_90] (rows=381 width=178)
                                         Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                       <-Union 27 [SIMPLE_EDGE]
                                         <-Map 34 [CONTAINS]
                                           Reduce Output Operator [RS_89]
                                             PartitionCols:_col0, _col1
-                                            Group By Operator [GBY_88] (rows=762 width=10)
+                                            Group By Operator [GBY_88] (rows=381 width=178)
                                               Output:["_col0","_col1"],keys:_col1, _col0
-                                              Select Operator [SEL_84] (rows=500 width=10)
+                                              Select Operator [SEL_84] (rows=500 width=178)
                                                 Output:["_col0","_col1"]
-                                                Filter Operator [FIL_161] (rows=500 width=10)
+                                                Filter Operator [FIL_161] (rows=500 width=178)
                                                   predicate:value is not null
-                                                  TableScan [TS_82] (rows=500 width=10)
+                                                  TableScan [TS_82] (rows=500 width=178)
                                                     Output:["key","value"]
                                         <-Reducer 26 [CONTAINS]
                                           Reduce Output Operator [RS_89]
                                             PartitionCols:_col0, _col1
-                                            Group By Operator [GBY_88] (rows=762 width=10)
+                                            Group By Operator [GBY_88] (rows=381 width=178)
                                               Output:["_col0","_col1"],keys:_col1, _col0
-                                              Select Operator [SEL_81] (rows=262 width=10)
+                                              Select Operator [SEL_81] (rows=262 width=178)
                                                 Output:["_col0","_col1"]
-                                                Group By Operator [GBY_80] (rows=262 width=10)
+                                                Group By Operator [GBY_80] (rows=262 width=178)
                                                   Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                                 <-Union 25 [SIMPLE_EDGE]
                                                   <-Map 24 [CONTAINS]
                                                     Reduce Output Operator [RS_79]
                                                       PartitionCols:_col0, _col1
-                                                      Group By Operator [GBY_78] (rows=525 width=10)
+                                                      Group By Operator [GBY_78] (rows=262 width=178)
                                                         Output:["_col0","_col1"],keys:_col1, _col0
-                                                        Select Operator [SEL_71] (rows=25 width=7)
+                                                        Select Operator [SEL_71] (rows=25 width=175)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_159] (rows=25 width=7)
+                                                          Filter Operator [FIL_159] (rows=25 width=175)
                                                             predicate:value is not null
-                                                            TableScan [TS_69] (rows=25 width=7)
+                                                            TableScan [TS_69] (rows=25 width=175)
                                                               Output:["key","value"]
                                                   <-Map 33 [CONTAINS]
                                                     Reduce Output Operator [RS_79]
                                                       PartitionCols:_col0, _col1
-                                                      Group By Operator [GBY_78] (rows=525 width=10)
+                                                      Group By Operator [GBY_78] (rows=262 width=178)
                                                         Output:["_col0","_col1"],keys:_col1, _col0
-                                                        Select Operator [SEL_74] (rows=500 width=10)
+                                                        Select Operator [SEL_74] (rows=500 width=178)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_160] (rows=500 width=10)
+                                                          Filter Operator [FIL_160] (rows=500 width=178)
                                                             predicate:value is not null
-                                                            TableScan [TS_72] (rows=500 width=10)
+                                                            TableScan [TS_72] (rows=500 width=178)
                                                               Output:["key","value"]
           <-Reducer 7 [CONTAINS]
             Reduce Output Operator [RS_119]
               PartitionCols:_col0, _col1
-              Group By Operator [GBY_118] (rows=1100 width=10)
+              Group By Operator [GBY_118] (rows=107 width=177)
                 Output:["_col0","_col1"],keys:_col0, _col1
-                Group By Operator [GBY_67] (rows=550 width=10)
+                Group By Operator [GBY_67] (rows=90 width=177)
                   Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                 <-Union 6 [SIMPLE_EDGE]
                   <-Reducer 19 [CONTAINS]
                     Reduce Output Operator [RS_66]
                       PartitionCols:_col0, _col1
-                      Group By Operator [GBY_65] (rows=1100 width=10)
+                      Group By Operator [GBY_65] (rows=90 width=177)
                         Output:["_col0","_col1"],keys:_col0, _col1
-                        Select Operator [SEL_61] (rows=550 width=10)
+                        Select Operator [SEL_61] (rows=107 width=177)
                           Output:["_col0","_col1"]
-                          Merge Join Operator [MERGEJOIN_168] (rows=550 width=10)
+                          Merge Join Operator [MERGEJOIN_168] (rows=107 width=177)
                             Conds:RS_58._col2=RS_59._col0(Inner),Output:["_col2","_col5"]
                           <-Map 23 [SIMPLE_EDGE]
                             SHUFFLE [RS_59]
                               PartitionCols:_col0
-                              Select Operator [SEL_54] (rows=500 width=10)
+                              Select Operator [SEL_54] (rows=500 width=178)
                                 Output:["_col0","_col1"]
-                                Filter Operator [FIL_158] (rows=500 width=10)
+                                Filter Operator [FIL_158] (rows=500 width=178)
                                   predicate:key is not null
-                                  TableScan [TS_52] (rows=500 width=10)
-                                    default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                  TableScan [TS_52] (rows=500 width=178)
+                                    default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                           <-Reducer 18 [SIMPLE_EDGE]
                             SHUFFLE [RS_58]
                               PartitionCols:_col2
-                              Merge Join Operator [MERGEJOIN_167] (rows=419 width=10)
+                              Merge Join Operator [MERGEJOIN_167] (rows=44 width=86)
                                 Conds:RS_55._col1=RS_56._col1(Inner),Output:["_col2"]
                               <-Map 22 [SIMPLE_EDGE]
                                 SHUFFLE [RS_56]
                                   PartitionCols:_col1
-                                  Select Operator [SEL_51] (rows=25 width=7)
+                                  Select Operator [SEL_51] (rows=25 width=175)
                                     Output:["_col0","_col1"]
-                                    Filter Operator [FIL_157] (rows=25 width=7)
+                                    Filter Operator [FIL_157] (rows=25 width=175)
                                       predicate:(key is not null and value is not null)
-                                      TableScan [TS_49] (rows=25 width=7)
-                                        default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                      TableScan [TS_49] (rows=25 width=175)
+                                        default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                               <-Reducer 17 [SIMPLE_EDGE]
                                 SHUFFLE [RS_55]
                                   PartitionCols:_col1
-                                  Select Operator [SEL_48] (rows=381 width=10)
+                                  Select Operator [SEL_48] (rows=381 width=178)
                                     Output:["_col1"]
-                                    Group By Operator [GBY_47] (rows=381 width=10)
+                                    Group By Operator [GBY_47] (rows=381 width=178)
                                       Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                     <-Union 16 [SIMPLE_EDGE]
                                       <-Map 21 [CONTAINS]
                                         Reduce Output Operator [RS_46]
                                           PartitionCols:_col0, _col1
-                                          Group By Operator [GBY_45] (rows=762 width=10)
+                                          Group By Operator [GBY_45] (rows=381 width=178)
                                             Output:["_col0","_col1"],keys:_col1, _col0
-                                            Select Operator [SEL_41] (rows=500 width=10)
+                                            Select Operator [SEL_41] (rows=500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_156] (rows=500 width=10)
+                                              Filter Operator [FIL_156] (rows=500 width=178)
                                                 predicate:value is not null
-                                                TableScan [TS_39] (rows=500 width=10)
+                                                TableScan [TS_39] (rows=500 width=178)
                                                   Output:["key","value"]
                                       <-Reducer 15 [CONTAINS]
                                         Reduce Output Operator [RS_46]
                                           PartitionCols:_col0, _col1
-                                          Group By Operator [GBY_45] (rows=762 width=10)
+                                          Group By Operator [GBY_45] (rows=381 width=178)
                                             Output:["_col0","_col1"],keys:_col1, _col0
-                                            Select Operator [SEL_38] (rows=262 width=10)
+                                            Select Operator [SEL_38] (rows=262 width=178)
                                               Output:["_col0","_col1"]
-                                              Group By Operator [GBY_37] (rows=262 width=10)
+                                              Group By Operator [GBY_37] (rows=262 width=178)
                                                 Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                               <-Union 14 [SIMPLE_EDGE]
                                                 <-Map 13 [CONTAINS]
                                                   Reduce Output Operator [RS_36]
                                                     PartitionCols:_col0, _col1
-                                                    Group By Operator [GBY_35] (rows=525 width=10)
+                                                    Group By Operator [GBY_35] (rows=262 width=178)
                                                       Output:["_col0","_col1"],keys:_col1, _col0
-                                                      Select Operator [SEL_28] (rows=25 width=7)
+                                                      Select Operator [SEL_28] (rows=25 width=175)
                                                         Output:["_col0","_col1"]
-                                                        Filter Operator [FIL_154] (rows=25 width=7)
+                                                        Filter Operator [FIL_154] (rows=25 width=175)
                                                           predicate:value is not null
-                                                          TableScan [TS_26] (rows=25 width=7)
+                                                          TableScan [TS_26] (rows=25 width=175)
                                                             Output:["key","value"]
                                                 <-Map 20 [CONTAINS]
                                                   Reduce Output Operator [RS_36]
                                                     PartitionCols:_col0, _col1
-                                                    Group By Operator [GBY_35] (rows=525 width=10)
+                                                    Group By Operator [GBY_35] (rows=262 width=178)
                                                       Output:["_col0","_col1"],keys:_col1, _col0
-                                                      Select Operator [SEL_31] (rows=500 width=10)
+                                                      Select Operator [SEL_31] (rows=500 width=178)
                                                         Output:["_col0","_col1"]
-                                                        Filter Operator [FIL_155] (rows=500 width=10)
+                                                        Filter Operator [FIL_155] (rows=500 width=178)
                                                           predicate:value is not null
-                                                          TableScan [TS_29] (rows=500 width=10)
+                                                          TableScan [TS_29] (rows=500 width=178)
                                                             Output:["key","value"]
                   <-Reducer 5 [CONTAINS]
                     Reduce Output Operator [RS_66]
                       PartitionCols:_col0, _col1
-                      Group By Operator [GBY_65] (rows=1100 width=10)
+                      Group By Operator [GBY_65] (rows=90 width=177)
                         Output:["_col0","_col1"],keys:_col0, _col1
-                        Select Operator [SEL_25] (rows=550 width=10)
+                        Select Operator [SEL_25] (rows=73 width=177)
                           Output:["_col0","_col1"]
-                          Merge Join Operator [MERGEJOIN_166] (rows=550 width=10)
+                          Merge Join Operator [MERGEJOIN_166] (rows=73 width=177)
                             Conds:RS_22._col2=RS_23._col0(Inner),Output:["_col2","_col5"]
                           <-Map 12 [SIMPLE_EDGE]
                             SHUFFLE [RS_23]
                               PartitionCols:_col0
-                              Select Operator [SEL_18] (rows=500 width=10)
+                              Select Operator [SEL_18] (rows=500 width=178)
                                 Output:["_col0","_col1"]
-                                Filter Operator [FIL_153] (rows=500 width=10)
+                                Filter Operator [FIL_153] (rows=500 width=178)
                                   predicate:key is not null
-                                  TableScan [TS_16] (rows=500 width=10)
-                                    default@src,y,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                  TableScan [TS_16] (rows=500 width=178)
+                                    default@src,y,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                           <-Reducer 4 [SIMPLE_EDGE]
                             SHUFFLE [RS_22]
                               PartitionCols:_col2
-                              Merge Join Operator [MERGEJOIN_165] (rows=288 width=10)
+                              Merge Join Operator [MERGEJOIN_165] (rows=30 width=86)
                                 Conds:RS_19._col1=RS_20._col1(Inner),Output:["_col2"]
                               <-Map 11 [SIMPLE_EDGE]
                                 SHUFFLE [RS_20]
                                   PartitionCols:_col1
-                                  Select Operator [SEL_15] (rows=25 width=7)
+                                  Select Operator [SEL_15] (rows=25 width=175)
                                     Output:["_col0","_col1"]
-                                    Filter Operator [FIL_152] (rows=25 width=7)
+                                    Filter Operator [FIL_152] (rows=25 width=175)
                                       predicate:(key is not null and value is not null)
-                                      TableScan [TS_13] (rows=25 width=7)
-                                        default@src1,x,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                                      TableScan [TS_13] (rows=25 width=175)
+                                        default@src1,x,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
                               <-Reducer 3 [SIMPLE_EDGE]
                                 SHUFFLE [RS_19]
                                   PartitionCols:_col1
-                                  Select Operator [SEL_12] (rows=262 width=10)
+                                  Select Operator [SEL_12] (rows=262 width=178)
                                     Output:["_col1"]
-                                    Group By Operator [GBY_11] (rows=262 width=10)
+                                    Group By Operator [GBY_11] (rows=262 width=178)
                                       Output:["_col0","_col1"],keys:KEY._col0, KEY._col1
                                     <-Union 2 [SIMPLE_EDGE]
                                       <-Map 1 [CONTAINS]
                                         Reduce Output Operator [RS_10]
                                           PartitionCols:_col0, _col1
-                                          Group By Operator [GBY_9] (rows=525 width=10)
+                                          Group By Operator [GBY_9] (rows=262 width=178)
                                             Output:["_col0","_col1"],keys:_col1, _col0
-                                            Select Operator [SEL_2] (rows=25 width=7)
+                                            Select Operator [SEL_2] (rows=25 width=175)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_150] (rows=25 width=7)
+                                              Filter Operator [FIL_150] (rows=25 width=175)
                                                 predicate:value is not null
-                                                TableScan [TS_0] (rows=25 width=7)
+                                                TableScan [TS_0] (rows=25 width=175)
                                                   Output:["key","value"]
                                       <-Map 10 [CONTAINS]
                                         Reduce Output Operator [RS_10]
                                           PartitionCols:_col0, _col1
-                                          Group By Operator [GBY_9] (rows=525 width=10)
+                                          Group By Operator [GBY_9] (rows=262 width=178)
                                             Output:["_col0","_col1"],keys:_col1, _col0
-                                            Select Operator [SEL_5] (rows=500 width=10)
+                                            Select Operator [SEL_5] (rows=500 width=178)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_151] (rows=500 width=10)
+                                              Filter Operator [FIL_151] (rows=500 width=178)
                                                 predicate:value is not null
-                                                TableScan [TS_3] (rows=500 width=10)
+                                                TableScan [TS_3] (rows=500 width=178)
                                                   Output:["key","value"]
 
 PREHOOK: query: EXPLAIN

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/explainuser_3.q.out b/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
index ff62691..b08f890 100644
--- a/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
+++ b/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
@@ -197,16 +197,16 @@ Stage-2
     Stage-0
       Reducer 2
       File Output Operator [FS_6]
-        Group By Operator [GBY_4] (rows=1 width=984)
+        Group By Operator [GBY_4] (rows=1 width=960)
           Output:["_col0","_col1"],aggregations:["compute_stats(VALUE._col0)","compute_stats(VALUE._col1)"]
         <-Map 1 [SIMPLE_EDGE]
           SHUFFLE [RS_3]
             Group By Operator [GBY_2] (rows=1 width=984)
               Output:["_col0","_col1"],aggregations:["compute_stats(key, 16)","compute_stats(value, 16)"]
-              Select Operator [SEL_1] (rows=500 width=10)
+              Select Operator [SEL_1] (rows=500 width=178)
                 Output:["key","value"]
-                TableScan [TS_0] (rows=500 width=10)
-                  default@src,src,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                TableScan [TS_0] (rows=500 width=178)
+                  default@src,src,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
 
 PREHOOK: query: explain
 CREATE TEMPORARY MACRO SIGMOID (x DOUBLE) 1.0 / (1.0 + EXP(-x))
@@ -266,10 +266,10 @@ Stage-3
               Map 1
               File Output Operator [FS_2]
                 table:{"name:":"default.src_autho_test"}
-                Select Operator [SEL_1] (rows=500 width=10)
+                Select Operator [SEL_1] (rows=500 width=178)
                   Output:["_col0","_col1"]
-                  TableScan [TS_0] (rows=500 width=10)
-                    default@src,src,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                  TableScan [TS_0] (rows=500 width=178)
+                    default@src,src,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
         Stage-0
           Move Operator
              Please refer to the previous Stage-1
@@ -451,16 +451,16 @@ Stage-0
     Stage-1
       Reducer 2 vectorized
       File Output Operator [FS_8]
-        Limit [LIM_7] (rows=5 width=10)
+        Limit [LIM_7] (rows=5 width=178)
           Number of rows:5
-          Select Operator [SEL_6] (rows=500 width=10)
+          Select Operator [SEL_6] (rows=500 width=178)
             Output:["_col0","_col1"]
           <-Map 1 [SIMPLE_EDGE]
             SHUFFLE [RS_2]
-              Select Operator [SEL_1] (rows=500 width=10)
+              Select Operator [SEL_1] (rows=500 width=178)
                 Output:["_col0","_col1"]
-                TableScan [TS_0] (rows=500 width=10)
-                  default@src,src,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
+                TableScan [TS_0] (rows=500 width=178)
+                  default@src,src,Tbl:COMPLETE,Col:COMPLETE,Output:["key","value"]
 
 PREHOOK: query: create table orc_merge5 (userid bigint, string1 string, subtype double, decimal1 decimal, ts timestamp) stored as orc
 PREHOOK: type: CREATETABLE
@@ -651,23 +651,23 @@ Stage-0
     Stage-1
       Map 2
       File Output Operator [FS_10]
-        Select Operator [SEL_9] (rows=550 width=10)
+        Select Operator [SEL_9] (rows=550 width=18)
           Output:["_col0","_col1","_col2"]
-          Map Join Operator [MAPJOIN_15] (rows=550 width=10)
+          Map Join Operator [MAPJOIN_15] (rows=550 width=18)
             BucketMapJoin:true,Conds:RS_6._col0=SEL_5._col0(Inner),HybridGraceHashJoin:true,Output:["_col0","_col1","_col3"]
           <-Map 1 [CUSTOM_EDGE]
             MULTICAST [RS_6]
               PartitionCols:_col0
-              Select Operator [SEL_2] (rows=242 width=10)
+              Select Operator [SEL_2] (rows=242 width=18)
                 Output:["_col0","_col1"]
-                Filter Operator [FIL_13] (rows=242 width=10)
+                Filter Operator [FIL_13] (rows=242 width=18)
                   predicate:key is not null
-                  TableScan [TS_0] (rows=242 width=10)
+                  TableScan [TS_0] (rows=242 width=18)
                     default@tab,a,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
-          <-Select Operator [SEL_5] (rows=500 width=10)
+          <-Select Operator [SEL_5] (rows=500 width=18)
               Output:["_col0","_col1"]
-              Filter Operator [FIL_14] (rows=500 width=10)
+              Filter Operator [FIL_14] (rows=500 width=18)
                 predicate:key is not null
-                TableScan [TS_3] (rows=500 width=10)
+                TableScan [TS_3] (rows=500 width=18)
                   default@tab_part,b,Tbl:COMPLETE,Col:NONE,Output:["key","value"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/explainuser_4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/explainuser_4.q.out b/ql/src/test/results/clientpositive/tez/explainuser_4.q.out
index a978b12..f870e52 100644
--- a/ql/src/test/results/clientpositive/tez/explainuser_4.q.out
+++ b/ql/src/test/results/clientpositive/tez/explainuser_4.q.out
@@ -28,30 +28,30 @@ Stage-0
     Stage-1
       Reducer 3
       File Output Operator [FS_12]
-        Select Operator [SEL_11] (rows=6758 width=215)
+        Select Operator [SEL_11] (rows=7286 width=620)
           Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"]
         <-Reducer 2 [SIMPLE_EDGE]
           SHUFFLE [RS_10]
-            Merge Join Operator [MERGEJOIN_17] (rows=6758 width=215)
+            Merge Join Operator [MERGEJOIN_17] (rows=7286 width=620)
               Conds:RS_6._col2=RS_7._col2(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23"]
             <-Map 1 [SIMPLE_EDGE]
               SHUFFLE [RS_6]
                 PartitionCols:_col2
-                Select Operator [SEL_2] (rows=6144 width=215)
+                Select Operator [SEL_2] (rows=6144 width=251)
                   Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
-                  Filter Operator [FIL_15] (rows=6144 width=215)
+                  Filter Operator [FIL_15] (rows=6144 width=251)
                     predicate:cint BETWEEN 1000000 AND 3000000
-                    TableScan [TS_0] (rows=12288 width=215)
-                      default@alltypesorc,a,Tbl:COMPLETE,Col:NONE,Output:["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"]
+                    TableScan [TS_0] (rows=12288 width=251)
+                      default@alltypesorc,a,Tbl:COMPLETE,Col:COMPLETE,Output:["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"]
             <-Map 4 [SIMPLE_EDGE]
               SHUFFLE [RS_7]
                 PartitionCols:_col2
-                Select Operator [SEL_5] (rows=6144 width=215)
+                Select Operator [SEL_5] (rows=3424 width=251)
                   Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
-                  Filter Operator [FIL_16] (rows=6144 width=215)
+                  Filter Operator [FIL_16] (rows=3424 width=251)
                     predicate:(cint is not null and cbigint is not null and cint BETWEEN 1000000 AND 3000000)
-                    TableScan [TS_3] (rows=12288 width=215)
-                      default@alltypesorc,b,Tbl:COMPLETE,Col:NONE,Output:["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"]
+                    TableScan [TS_3] (rows=12288 width=251)
+                      default@alltypesorc,b,Tbl:COMPLETE,Col:COMPLETE,Output:["ctinyint","csmallint","cint","cbigint","cfloat","cdouble","cstring1","cstring2","ctimestamp1","ctimestamp2","cboolean1","cboolean2"]
 
 PREHOOK: query: select
   *
@@ -113,26 +113,26 @@ Stage-0
           SHUFFLE [RS_11]
             Group By Operator [GBY_10] (rows=1 width=8)
               Output:["_col0"],aggregations:["count()"]
-              Merge Join Operator [MERGEJOIN_19] (rows=6758 width=215)
+              Merge Join Operator [MERGEJOIN_19] (rows=7286 width=8)
                 Conds:RS_6._col0=RS_7._col0(Inner)
               <-Map 1 [SIMPLE_EDGE]
                 SHUFFLE [RS_6]
                   PartitionCols:_col0
-                  Select Operator [SEL_2] (rows=6144 width=215)
+                  Select Operator [SEL_2] (rows=6144 width=2)
                     Output:["_col0"]
-                    Filter Operator [FIL_17] (rows=6144 width=215)
+                    Filter Operator [FIL_17] (rows=6144 width=2)
                       predicate:cint BETWEEN 1000000 AND 3000000
-                      TableScan [TS_0] (rows=12288 width=215)
-                        default@alltypesorc,a,Tbl:COMPLETE,Col:NONE,Output:["cint"]
+                      TableScan [TS_0] (rows=12288 width=2)
+                        default@alltypesorc,a,Tbl:COMPLETE,Col:COMPLETE,Output:["cint"]
               <-Map 4 [SIMPLE_EDGE]
                 SHUFFLE [RS_7]
                   PartitionCols:_col0
-                  Select Operator [SEL_5] (rows=6144 width=215)
+                  Select Operator [SEL_5] (rows=3424 width=8)
                     Output:["_col0"]
-                    Filter Operator [FIL_18] (rows=6144 width=215)
+                    Filter Operator [FIL_18] (rows=3424 width=8)
                       predicate:(cint is not null and cbigint is not null and cint BETWEEN 1000000 AND 3000000)
-                      TableScan [TS_3] (rows=12288 width=215)
-                        default@alltypesorc,b,Tbl:COMPLETE,Col:NONE,Output:["cint","cbigint"]
+                      TableScan [TS_3] (rows=12288 width=8)
+                        default@alltypesorc,b,Tbl:COMPLETE,Col:COMPLETE,Output:["cint","cbigint"]
 
 PREHOOK: query: select
   count(*)
@@ -182,37 +182,37 @@ Stage-0
     Stage-1
       Reducer 4
       File Output Operator [FS_16]
-        Select Operator [SEL_15] (rows=3379 width=215)
+        Select Operator [SEL_15] (rows=2765 width=12)
           Output:["_col0","_col1"]
         <-Reducer 3 [SIMPLE_EDGE]
           SHUFFLE [RS_14]
-            Group By Operator [GBY_12] (rows=3379 width=215)
+            Group By Operator [GBY_12] (rows=2765 width=12)
               Output:["_col0","_col1"],aggregations:["count(VALUE._col0)"],keys:KEY._col0
             <-Reducer 2 [SIMPLE_EDGE]
               SHUFFLE [RS_11]
                 PartitionCols:_col0
-                Group By Operator [GBY_10] (rows=6758 width=215)
+                Group By Operator [GBY_10] (rows=2765 width=12)
                   Output:["_col0","_col1"],aggregations:["count()"],keys:_col0
-                  Merge Join Operator [MERGEJOIN_21] (rows=6758 width=215)
+                  Merge Join Operator [MERGEJOIN_21] (rows=7286 width=4)
                     Conds:RS_6._col1=RS_7._col0(Inner),Output:["_col0"]
                   <-Map 1 [SIMPLE_EDGE]
                     SHUFFLE [RS_6]
                       PartitionCols:_col1
-                      Select Operator [SEL_2] (rows=6144 width=215)
+                      Select Operator [SEL_2] (rows=6144 width=5)
                         Output:["_col0","_col1"]
-                        Filter Operator [FIL_19] (rows=6144 width=215)
+                        Filter Operator [FIL_19] (rows=6144 width=5)
                           predicate:cint BETWEEN 1000000 AND 3000000
-                          TableScan [TS_0] (rows=12288 width=215)
-                            default@alltypesorc,a,Tbl:COMPLETE,Col:NONE,Output:["csmallint","cint"]
+                          TableScan [TS_0] (rows=12288 width=5)
+                            default@alltypesorc,a,Tbl:COMPLETE,Col:COMPLETE,Output:["csmallint","cint"]
                   <-Map 5 [SIMPLE_EDGE]
                     SHUFFLE [RS_7]
                       PartitionCols:_col0
-                      Select Operator [SEL_5] (rows=6144 width=215)
+                      Select Operator [SEL_5] (rows=3424 width=8)
                         Output:["_col0"]
-                        Filter Operator [FIL_20] (rows=6144 width=215)
+                        Filter Operator [FIL_20] (rows=3424 width=8)
                           predicate:(cint is not null and cbigint is not null and cint BETWEEN 1000000 AND 3000000)
-                          TableScan [TS_3] (rows=12288 width=215)
-                            default@alltypesorc,b,Tbl:COMPLETE,Col:NONE,Output:["cint","cbigint"]
+                          TableScan [TS_3] (rows=12288 width=8)
+                            default@alltypesorc,b,Tbl:COMPLETE,Col:COMPLETE,Output:["cint","cbigint"]
 
 PREHOOK: query: select
   a.csmallint, count(*) c1

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/filter_join_breaktask.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/filter_join_breaktask.q.out b/ql/src/test/results/clientpositive/tez/filter_join_breaktask.q.out
index 388ca9d..7655d5d 100644
--- a/ql/src/test/results/clientpositive/tez/filter_join_breaktask.q.out
+++ b/ql/src/test/results/clientpositive/tez/filter_join_breaktask.q.out
@@ -49,22 +49,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: f
-                  Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                   GatherStats: false
                   Filter Operator
                     isSamplingPred: false
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         null sort order: a
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                        Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                         tag: 0
                         auto parallelism: true
             Path -> Alias:
@@ -121,22 +121,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: m
-                  Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                   GatherStats: false
                   Filter Operator
                     isSamplingPred: false
                     predicate: ((value <> '') and key is not null) (type: boolean)
-                    Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int), value (type: string)
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         null sort order: a
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                        Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                         tag: 1
                         value expressions: _col1 (type: string)
                         auto parallelism: true
@@ -194,22 +194,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: g
-                  Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                   GatherStats: false
                   Filter Operator
                     isSamplingPred: false
                     predicate: (value <> '') (type: boolean)
-                    Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                     Select Operator
                       expressions: value (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         null sort order: a
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 25 Data size: 211 Basic stats: COMPLETE Column stats: NONE
+                        Statistics: Num rows: 25 Data size: 411 Basic stats: COMPLETE Column stats: NONE
                         tag: 1
                         auto parallelism: true
             Path -> Alias:
@@ -273,13 +273,13 @@ STAGE PLANS:
                   1 _col0 (type: int)
                 outputColumnNames: _col0, _col3
                 Position of Big Table: 0
-                Statistics: Num rows: 27 Data size: 232 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 27 Data size: 452 Basic stats: COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col3 (type: string)
                   null sort order: a
                   sort order: +
                   Map-reduce partition columns: _col3 (type: string)
-                  Statistics: Num rows: 27 Data size: 232 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 27 Data size: 452 Basic stats: COMPLETE Column stats: NONE
                   tag: 0
                   value expressions: _col0 (type: int)
                   auto parallelism: true
@@ -294,17 +294,17 @@ STAGE PLANS:
                   1 _col0 (type: string)
                 outputColumnNames: _col0, _col5
                 Position of Big Table: 0
-                Statistics: Num rows: 29 Data size: 255 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 29 Data size: 497 Basic stats: COMPLETE Column stats: NONE
                 Select Operator
                   expressions: _col0 (type: int), _col5 (type: string)
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 29 Data size: 255 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 29 Data size: 497 Basic stats: COMPLETE Column stats: NONE
                   File Output Operator
                     compressed: false
                     GlobalTableId: 0
 #### A masked pattern was here ####
                     NumFilesPerFileSink: 1
-                    Statistics: Num rows: 29 Data size: 255 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 29 Data size: 497 Basic stats: COMPLETE Column stats: NONE
 #### A masked pattern was here ####
                     table:
                         input format: org.apache.hadoop.mapred.SequenceFileInputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/groupby1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/groupby1.q.out b/ql/src/test/results/clientpositive/tez/groupby1.q.out
index b70f00a..3abc60f 100644
--- a/ql/src/test/results/clientpositive/tez/groupby1.q.out
+++ b/ql/src/test/results/clientpositive/tez/groupby1.q.out
@@ -35,16 +35,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: src
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
                   Select Operator
                     expressions: key (type: string), substr(value, 5) (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: string)
                       sort order: +
                       Map-reduce partition columns: rand() (type: double)
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
                       value expressions: _col1 (type: string)
         Reducer 2 
             Reduce Operator Tree:
@@ -53,12 +53,12 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: partial1
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 500 Data size: 47500 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string)
                   sort order: +
                   Map-reduce partition columns: _col0 (type: string)
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 47500 Basic stats: COMPLETE Column stats: COMPLETE
                   value expressions: _col1 (type: double)
         Reducer 3 
             Reduce Operator Tree:
@@ -67,14 +67,14 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: final
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 205 Data size: 19475 Basic stats: COMPLETE Column stats: COMPLETE
                 Select Operator
                   expressions: UDFToInteger(_col0) (type: int), _col1 (type: double)
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 205 Data size: 2460 Basic stats: COMPLETE Column stats: COMPLETE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 205 Data size: 2460 Basic stats: COMPLETE Column stats: COMPLETE
                     table:
                         input format: org.apache.hadoop.mapred.TextInputFormat
                         output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/groupby2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/groupby2.q.out b/ql/src/test/results/clientpositive/tez/groupby2.q.out
index 7e6a5c1..f6ddf39 100644
--- a/ql/src/test/results/clientpositive/tez/groupby2.q.out
+++ b/ql/src/test/results/clientpositive/tez/groupby2.q.out
@@ -33,16 +33,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: src
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
                   Select Operator
                     expressions: substr(key, 1, 1) (type: string), substr(value, 5) (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: string), _col1 (type: string)
                       sort order: ++
                       Map-reduce partition columns: _col0 (type: string)
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 89000 Basic stats: COMPLETE Column stats: COMPLETE
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
@@ -50,12 +50,12 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: partial1
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 500 Data size: 100000 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string)
                   sort order: +
                   Map-reduce partition columns: _col0 (type: string)
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 100000 Basic stats: COMPLETE Column stats: COMPLETE
                   value expressions: _col1 (type: bigint), _col2 (type: double)
         Reducer 3 
             Reduce Operator Tree:
@@ -64,14 +64,14 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 205 Data size: 41000 Basic stats: COMPLETE Column stats: COMPLETE
                 Select Operator
                   expressions: _col0 (type: string), UDFToInteger(_col1) (type: int), concat(_col0, _col2) (type: string)
                   outputColumnNames: _col0, _col1, _col2
-                  Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 205 Data size: 76260 Basic stats: COMPLETE Column stats: COMPLETE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 205 Data size: 76260 Basic stats: COMPLETE Column stats: COMPLETE
                     table:
                         input format: org.apache.hadoop.mapred.TextInputFormat
                         output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/17ddc9a1/ql/src/test/results/clientpositive/tez/groupby3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/groupby3.q.out b/ql/src/test/results/clientpositive/tez/groupby3.q.out
index 771a0ed..d9e974f 100644
--- a/ql/src/test/results/clientpositive/tez/groupby3.q.out
+++ b/ql/src/test/results/clientpositive/tez/groupby3.q.out
@@ -51,26 +51,26 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: src
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 45500 Basic stats: COMPLETE Column stats: COMPLETE
                   Select Operator
                     expressions: substr(value, 5) (type: string)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 45500 Basic stats: COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: string)
                       sort order: +
                       Map-reduce partition columns: _col0 (type: string)
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 45500 Basic stats: COMPLETE Column stats: COMPLETE
         Reducer 2 
             Reduce Operator Tree:
               Group By Operator
                 aggregations: sum(KEY._col0:0._col0), avg(KEY._col0:0._col0), avg(DISTINCT KEY._col0:0._col0), max(KEY._col0:0._col0), min(KEY._col0:0._col0), std(KEY._col0:0._col0), stddev_samp(KEY._col0:0._col0), variance(KEY._col0:0._col0), var_samp(KEY._col0:0._col0)
                 mode: partial1
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8
-                Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: COMPLETE
                   value expressions: _col0 (type: double), _col1 (type: struct<count:bigint,sum:double,input:string>), _col2 (type: struct<count:bigint,sum:double,input:string>), _col3 (type: string), _col4 (type: string), _col5 (type: struct<count:bigint,sum:double,variance:double>), _col6 (type: struct<count:bigint,sum:double,variance:double>), _col7 (type: struct<count:bigint,sum:double,variance:double>), _col8 (type: struct<count:bigint,sum:double,variance:double>)
         Reducer 3 
             Reduce Operator Tree:
@@ -78,14 +78,14 @@ STAGE PLANS:
                 aggregations: sum(VALUE._col0), avg(VALUE._col1), avg(VALUE._col2), max(VALUE._col3), min(VALUE._col4), std(VALUE._col5), stddev_samp(VALUE._col6), variance(VALUE._col7), var_samp(VALUE._col8)
                 mode: final
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8
-                Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: NONE
+                Statistics: Num rows: 1 Data size: 424 Basic stats: COMPLETE Column stats: COMPLETE
                 Select Operator
                   expressions: _col0 (type: double), _col1 (type: double), _col2 (type: double), UDFToDouble(_col3) (type: double), UDFToDouble(_col4) (type: double), _col5 (type: double), _col6 (type: double), _col7 (type: double), _col8 (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8
-                  Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 72 Basic stats: COMPLETE Column stats: COMPLETE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 1 Data size: 1208 Basic stats: COMPLETE Column stats: NONE
+                    Statistics: Num rows: 1 Data size: 72 Basic stats: COMPLETE Column stats: COMPLETE
                     table:
                         input format: org.apache.hadoop.mapred.TextInputFormat
                         output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat