http://git-wip-us.apache.org/repos/asf/hive/blob/8f7c5788/ql/src/test/results/clientpositive/llap/count.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/count.q.out 
b/ql/src/test/results/clientpositive/llap/count.q.out
index 0ef26e5..81b94e7 100644
--- a/ql/src/test/results/clientpositive/llap/count.q.out
+++ b/ql/src/test/results/clientpositive/llap/count.q.out
@@ -49,22 +49,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(DISTINCT b), count(DISTINCT c), 
sum(d)
                       keys: a (type: int), b (type: int), c (type: int)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: int), 
_col2 (type: int)
                         sort order: +++
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                         value expressions: _col5 (type: bigint)
             Execution mode: llap
             LLAP IO: no inputs
@@ -76,10 +76,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -123,21 +123,21 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(), count(a), count(b), count(c), 
count(d), count(DISTINCT a), count(DISTINCT b), count(DISTINCT c), 
count(DISTINCT d), count(DISTINCT a, b), count(DISTINCT b, c), count(DISTINCT 
c, d), count(DISTINCT a, d), count(DISTINCT a, c), count(DISTINCT b, d), 
count(DISTINCT a, b, c), count(DISTINCT b, c, d), count(DISTINCT a, c, d), 
count(DISTINCT a, b, d), count(DISTINCT a, b, c, d)
                       keys: a (type: int), b (type: int), c (type: int), d 
(type: int)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, 
_col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: int), 
_col2 (type: int), _col3 (type: int)
                         sort order: ++++
-                        Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                         value expressions: _col4 (type: bigint), _col5 (type: 
bigint), _col6 (type: bigint), _col7 (type: bigint), _col8 (type: bigint)
             Execution mode: llap
             LLAP IO: no inputs
@@ -148,14 +148,14 @@ STAGE PLANS:
                 aggregations: count(VALUE._col0), count(VALUE._col1), 
count(VALUE._col2), count(VALUE._col3), count(VALUE._col4), count(DISTINCT 
KEY._col0:0._col0), count(DISTINCT KEY._col0:1._col0), count(DISTINCT 
KEY._col0:2._col0), count(DISTINCT KEY._col0:3._col0), count(DISTINCT 
KEY._col0:4._col0, KEY._col0:4._col1), count(DISTINCT KEY._col0:5._col0, 
KEY._col0:5._col1), count(DISTINCT KEY._col0:6._col0, KEY._col0:6._col1), 
count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1), count(DISTINCT 
KEY._col0:8._col0, KEY._col0:8._col1), count(DISTINCT KEY._col0:9._col0, 
KEY._col0:9._col1), count(DISTINCT KEY._col0:10._col0, KEY._col0:10._col1, 
KEY._col0:10._col2), count(DISTINCT KEY._col0:11._col0, KEY._col0:11._col1, 
KEY._col0:11._col2), count(DISTINCT KEY._col0:12._col0, KEY._col0:12._col1, 
KEY._col0:12._col2), count(DISTINCT KEY._col0:13._col0, KEY._col0:13._col1, 
KEY._col0:13._col2), count(DISTINCT KEY._col0:14._col0, KEY._col0:14._col1, 
KEY._col0:14._col2, KEY._col0:14._col3)
                 mode: mergepartial
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19
-                Statistics: Num rows: 1 Data size: 192 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 1 Data size: 208 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: _col0 (type: bigint), _col0 (type: bigint), 
_col1 (type: bigint), _col2 (type: bigint), _col3 (type: bigint), _col4 (type: 
bigint), _col5 (type: bigint), _col6 (type: bigint), _col7 (type: bigint), 
_col8 (type: bigint), _col9 (type: bigint), _col10 (type: bigint), _col11 
(type: bigint), _col12 (type: bigint), _col13 (type: bigint), _col14 (type: 
bigint), _col15 (type: bigint), _col16 (type: bigint), _col17 (type: bigint), 
_col18 (type: bigint), _col19 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20
-                  Statistics: Num rows: 1 Data size: 192 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 208 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 1 Data size: 208 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -196,16 +196,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: a (type: int), b (type: int), c (type: 
int)
                       sort order: +++
                       Map-reduce partition columns: a (type: int)
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: d (type: int)
             Execution mode: llap
             LLAP IO: no inputs
@@ -217,10 +217,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -264,15 +264,15 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: a (type: int), b (type: int), c (type: 
int), d (type: int)
                       sort order: ++++
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -282,14 +282,14 @@ STAGE PLANS:
                 aggregations: count(), count(KEY._col0:0._col0), 
count(KEY._col0:1._col0), count(KEY._col0:2._col0), count(KEY._col0:3._col0), 
count(DISTINCT KEY._col0:0._col0), count(DISTINCT KEY._col0:1._col0), 
count(DISTINCT KEY._col0:2._col0), count(DISTINCT KEY._col0:3._col0), 
count(DISTINCT KEY._col0:4._col0, KEY._col0:4._col1), count(DISTINCT 
KEY._col0:5._col0, KEY._col0:5._col1), count(DISTINCT KEY._col0:6._col0, 
KEY._col0:6._col1), count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1), 
count(DISTINCT KEY._col0:8._col0, KEY._col0:8._col1), count(DISTINCT 
KEY._col0:9._col0, KEY._col0:9._col1), count(DISTINCT KEY._col0:10._col0, 
KEY._col0:10._col1, KEY._col0:10._col2), count(DISTINCT KEY._col0:11._col0, 
KEY._col0:11._col1, KEY._col0:11._col2), count(DISTINCT KEY._col0:12._col0, 
KEY._col0:12._col1, KEY._col0:12._col2), count(DISTINCT KEY._col0:13._col0, 
KEY._col0:13._col1, KEY._col0:13._col2), count(DISTINCT KEY._col0:14._col0, 
KEY._col0:14._col1, KEY._col0:14._col2, KEY._col0:1
 4._col3)
                 mode: complete
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19
-                Statistics: Num rows: 1 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 1 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: _col0 (type: bigint), _col0 (type: bigint), 
_col1 (type: bigint), _col2 (type: bigint), _col3 (type: bigint), _col4 (type: 
bigint), _col5 (type: bigint), _col6 (type: bigint), _col7 (type: bigint), 
_col8 (type: bigint), _col9 (type: bigint), _col10 (type: bigint), _col11 
(type: bigint), _col12 (type: bigint), _col13 (type: bigint), _col14 (type: 
bigint), _col15 (type: bigint), _col16 (type: bigint), _col17 (type: bigint), 
_col18 (type: bigint), _col19 (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20
-                  Statistics: Num rows: 1 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 1 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 1 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -330,21 +330,21 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Group By Operator
                       aggregations: count(), count(a), count(b), count(c), 
count(d), count(DISTINCT a), count(DISTINCT b), count(DISTINCT c), 
count(DISTINCT d), count(DISTINCT a, b), count(DISTINCT b, c), count(DISTINCT 
c, d), count(DISTINCT a, d), count(DISTINCT a, c), count(DISTINCT b, d), 
count(DISTINCT a, b, c), count(DISTINCT b, c, d), count(DISTINCT a, c, d), 
count(DISTINCT a, b, d), count(DISTINCT a, b, c, d)
                       keys: a (type: int), b (type: int), c (type: int), d 
(type: int)
                       mode: hash
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, 
_col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22, _col23
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: int), 
_col2 (type: int), _col3 (type: int)
                         sort order: ++++
-                        Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                         value expressions: _col4 (type: bigint), _col5 (type: 
bigint), _col6 (type: bigint), _col7 (type: bigint), _col8 (type: bigint)
             Execution mode: llap
             LLAP IO: no inputs
@@ -355,14 +355,14 @@ STAGE PLANS:
                 aggregations: count(VALUE._col0), count(VALUE._col1), 
count(VALUE._col2), count(VALUE._col3), count(VALUE._col4), count(DISTINCT 
KEY._col0:0._col0), count(DISTINCT KEY._col0:1._col0), count(DISTINCT 
KEY._col0:2._col0), count(DISTINCT KEY._col0:3._col0), count(DISTINCT 
KEY._col0:4._col0, KEY._col0:4._col1), count(DISTINCT KEY._col0:5._col0, 
KEY._col0:5._col1), count(DISTINCT KEY._col0:6._col0, KEY._col0:6._col1), 
count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1), count(DISTINCT 
KEY._col0:8._col0, KEY._col0:8._col1), count(DISTINCT KEY._col0:9._col0, 
KEY._col0:9._col1), count(DISTINCT KEY._col0:10._col0, KEY._col0:10._col1, 
KEY._col0:10._col2), count(DISTINCT KEY._col0:11._col0, KEY._col0:11._col1, 
KEY._col0:11._col2), count(DISTINCT KEY._col0:12._col0, KEY._col0:12._col1, 
KEY._col0:12._col2), count(DISTINCT KEY._col0:13._col0, KEY._col0:13._col1, 
KEY._col0:13._col2), count(DISTINCT KEY._col0:14._col0, KEY._col0:14._col1, 
KEY._col0:14._col2, KEY._col0:14._col3)
                 mode: mergepartial
                 outputColumnNames: $f0, $f1, $f2, $f3, $f4, $f5, $f6, $f7, 
$f8, $f9, $f10, $f11, $f12, $f13, $f14, $f15, $f16, $f17, $f18, $f19
-                Statistics: Num rows: 1 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 1 Data size: 336 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: $f0 (type: bigint), $f0 (type: bigint), $f1 
(type: bigint), $f2 (type: bigint), $f3 (type: bigint), $f4 (type: bigint), $f5 
(type: bigint), $f6 (type: bigint), $f7 (type: bigint), $f8 (type: bigint), $f9 
(type: bigint), $f10 (type: bigint), $f11 (type: bigint), $f12 (type: bigint), 
$f13 (type: bigint), $f14 (type: bigint), $f15 (type: bigint), $f16 (type: 
bigint), $f17 (type: bigint), $f18 (type: bigint), $f19 (type: bigint)
                   outputColumnNames: $f0, $f00, $f1, $f2, $f3, $f4, $f5, $f6, 
$f7, $f8, $f9, $f10, $f11, $f12, $f13, $f14, $f15, $f16, $f17, $f18, $f19
-                  Statistics: Num rows: 1 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 336 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 1 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 1 Data size: 336 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -404,16 +404,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 9 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int)
                     outputColumnNames: a, b
-                    Statistics: Num rows: 9 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 9 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: a (type: int), b (type: int)
                       sort order: ++
                       Map-reduce partition columns: a (type: int), b (type: 
int)
-                      Statistics: Num rows: 9 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 9 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -423,12 +423,12 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int), KEY._col1 (type: int)
                 mode: complete
                 outputColumnNames: a, b
-                Statistics: Num rows: 4 Data size: 34 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: a (type: int)
                   sort order: +
                   Map-reduce partition columns: a (type: int)
-                  Statistics: Num rows: 4 Data size: 34 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   value expressions: b (type: int)
         Reducer 3 
             Execution mode: llap
@@ -438,14 +438,14 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: a, $f1
-                Statistics: Num rows: 2 Data size: 17 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: $f1 (type: bigint)
                   outputColumnNames: _o__c0
-                  Statistics: Num rows: 2 Data size: 17 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 2 Data size: 17 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 2 Data size: 16 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -490,16 +490,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 19 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 19 Data size: 76 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: b (type: int)
                     outputColumnNames: b
-                    Statistics: Num rows: 19 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 19 Data size: 76 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: b (type: int)
                       sort order: +
                       Map-reduce partition columns: b (type: int)
-                      Statistics: Num rows: 19 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 19 Data size: 76 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -575,16 +575,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 9 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 9 Data size: 72 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: b (type: int), c (type: int)
                     outputColumnNames: b, c
-                    Statistics: Num rows: 9 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 9 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: b (type: int), c (type: int)
                       sort order: ++
                       Map-reduce partition columns: b (type: int), c (type: 
int)
-                      Statistics: Num rows: 9 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 9 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -594,12 +594,12 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int), KEY._col1 (type: int)
                 mode: complete
                 outputColumnNames: b, c
-                Statistics: Num rows: 4 Data size: 34 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: c (type: int)
                   sort order: +
                   Map-reduce partition columns: c (type: int)
-                  Statistics: Num rows: 4 Data size: 34 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   value expressions: b (type: int)
         Reducer 3 
             Execution mode: llap
@@ -609,14 +609,14 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: c, $f1
-                Statistics: Num rows: 2 Data size: 17 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: $f1 (type: bigint)
                   outputColumnNames: _o__c0
-                  Statistics: Num rows: 2 Data size: 17 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 16 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 2 Data size: 17 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 2 Data size: 16 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -663,16 +663,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 6 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 6 Data size: 72 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: b (type: int), c (type: int), d (type: int)
                     outputColumnNames: b, c, d
-                    Statistics: Num rows: 6 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 6 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: d (type: int), c (type: int)
                       sort order: ++
                       Map-reduce partition columns: d (type: int)
-                      Statistics: Num rows: 6 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 6 Data size: 72 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: b (type: int)
             Execution mode: llap
             LLAP IO: no inputs
@@ -684,14 +684,14 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: d, $f1, $f2
-                Statistics: Num rows: 3 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: $f1 (type: bigint), $f2 (type: bigint)
                   outputColumnNames: _o__c0, _o__c1
-                  Statistics: Num rows: 3 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 3 Data size: 39 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 3 Data size: 36 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -738,16 +738,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int), (d + d) (type: int), (d * 3) (type: int)
                     outputColumnNames: $f0, $f1, $f2, $f3, $f4, $f5
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: $f0 (type: int), $f1 (type: int), $f2 
(type: int)
                       sort order: +++
                       Map-reduce partition columns: $f0 (type: int)
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: $f3 (type: int), $f4 (type: int), $f5 
(type: int)
             Execution mode: llap
             LLAP IO: no inputs
@@ -759,10 +759,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: $f0, $f1, $f2, $f3, $f4, $f5, $f6, $f7, 
$f8, $f9, $f10
-                Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -806,16 +806,16 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: a (type: int), b (type: int), c (type: 
int)
                       sort order: +++
                       Map-reduce partition columns: a (type: int)
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: d (type: int)
             Execution mode: llap
             LLAP IO: no inputs
@@ -827,10 +827,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: int)
                 mode: complete
                 outputColumnNames: a, $f1, $f2, $f3, $f4
-                Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 2 Data size: 39 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 2 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -874,15 +874,15 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: abcd
-                  Statistics: Num rows: 4 Data size: 78 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 4 Data size: 64 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
                     expressions: a (type: int), b (type: int), c (type: int), 
d (type: int)
                     outputColumnNames: a, b, c, d
-                    Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: a (type: int), b (type: int), c (type: 
int), d (type: int)
                       sort order: ++++
-                      Statistics: Num rows: 4 Data size: 78 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 4 Data size: 64 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -892,14 +892,14 @@ STAGE PLANS:
                 aggregations: count(), count(KEY._col0:0._col0), 
count(KEY._col0:1._col0), count(KEY._col0:2._col0), count(KEY._col0:3._col0), 
count(DISTINCT KEY._col0:0._col0), count(DISTINCT KEY._col0:1._col0), 
count(DISTINCT KEY._col0:2._col0), count(DISTINCT KEY._col0:3._col0), 
count(DISTINCT KEY._col0:4._col0, KEY._col0:4._col1), count(DISTINCT 
KEY._col0:5._col0, KEY._col0:5._col1), count(DISTINCT KEY._col0:6._col0, 
KEY._col0:6._col1), count(DISTINCT KEY._col0:7._col0, KEY._col0:7._col1), 
count(DISTINCT KEY._col0:8._col0, KEY._col0:8._col1), count(DISTINCT 
KEY._col0:9._col0, KEY._col0:9._col1), count(DISTINCT KEY._col0:10._col0, 
KEY._col0:10._col1, KEY._col0:10._col2), count(DISTINCT KEY._col0:11._col0, 
KEY._col0:11._col1, KEY._col0:11._col2), count(DISTINCT KEY._col0:12._col0, 
KEY._col0:12._col1, KEY._col0:12._col2), count(DISTINCT KEY._col0:13._col0, 
KEY._col0:13._col1, KEY._col0:13._col2), count(DISTINCT KEY._col0:14._col0, 
KEY._col0:14._col1, KEY._col0:14._col2, KEY._col0:1
 4._col3)
                 mode: complete
                 outputColumnNames: $f0, $f1, $f2, $f3, $f4, $f5, $f6, $f7, 
$f8, $f9, $f10, $f11, $f12, $f13, $f14, $f15, $f16, $f17, $f18, $f19
-                Statistics: Num rows: 1 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 1 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
                   expressions: $f0 (type: bigint), $f0 (type: bigint), $f1 
(type: bigint), $f2 (type: bigint), $f3 (type: bigint), $f4 (type: bigint), $f5 
(type: bigint), $f6 (type: bigint), $f7 (type: bigint), $f8 (type: bigint), $f9 
(type: bigint), $f10 (type: bigint), $f11 (type: bigint), $f12 (type: bigint), 
$f13 (type: bigint), $f14 (type: bigint), $f15 (type: bigint), $f16 (type: 
bigint), $f17 (type: bigint), $f18 (type: bigint), $f19 (type: bigint)
                   outputColumnNames: $f0, $f00, $f1, $f2, $f3, $f4, $f5, $f6, 
$f7, $f8, $f9, $f10, $f11, $f12, $f13, $f14, $f15, $f16, $f17, $f18, $f19
-                  Statistics: Num rows: 1 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 1 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 1 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 1 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat

http://git-wip-us.apache.org/repos/asf/hive/blob/8f7c5788/ql/src/test/results/clientpositive/llap/cross_product_check_1.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/cross_product_check_1.q.out 
b/ql/src/test/results/clientpositive/llap/cross_product_check_1.q.out
index 2bc17cb..7dffba9 100644
--- a/ql/src/test/results/clientpositive/llap/cross_product_check_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/cross_product_check_1.q.out
@@ -49,14 +49,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string), value (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string), _col1 (type: 
string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -64,14 +64,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string), value (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string), _col1 (type: 
string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -85,10 +85,10 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 5000 Data size: 110120 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 5000 Data size: 3596680 Basic stats: 
COMPLETE Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 5000 Data size: 110120 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 5000 Data size: 3596680 Basic stats: 
COMPLETE Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -122,19 +122,19 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: d1
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string), value (type: string)
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -142,19 +142,19 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: d2
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string), value (type: string)
                       outputColumnNames: _col0, _col1
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 3680 Basic stats: 
COMPLETE Column stats: NONE
                         value expressions: _col1 (type: string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -162,14 +162,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string), value (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string), _col1 (type: 
string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -183,10 +183,10 @@ STAGE PLANS:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
                 outputColumnNames: _col0, _col1, _col2, _col3
-                Statistics: Num rows: 11 Data size: 114 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 11 Data size: 4048 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 11 Data size: 114 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 11 Data size: 4048 Basic stats: 
COMPLETE Column stats: NONE
                   value expressions: _col0 (type: string), _col1 (type: 
string), _col2 (type: string), _col3 (type: string)
         Reducer 3 
             Execution mode: llap
@@ -198,10 +198,10 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
-                Statistics: Num rows: 5500 Data size: 120932 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 5500 Data size: 3956348 Basic stats: 
COMPLETE Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 5500 Data size: 120932 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 5500 Data size: 3956348 Basic stats: 
COMPLETE Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -242,14 +242,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string), value (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string), _col1 (type: 
string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -257,38 +257,38 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: d1
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Map 6 
             Map Operator Tree:
                 TableScan
                   alias: d2
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -301,10 +301,10 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 2500 Data size: 54560 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 2500 Data size: 1338340 Basic stats: 
COMPLETE Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 2500 Data size: 54560 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 2500 Data size: 1338340 Basic stats: 
COMPLETE Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -319,17 +319,17 @@ STAGE PLANS:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
                 outputColumnNames: _col0
-                Statistics: Num rows: 11 Data size: 114 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 11 Data size: 2024 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: string)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 11 Data size: 114 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 11 Data size: 2024 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string)
                     sort order: +
                     Map-reduce partition columns: _col0 (type: string)
-                    Statistics: Num rows: 11 Data size: 114 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 11 Data size: 2024 Basic stats: 
COMPLETE Column stats: NONE
         Reducer 5 
             Execution mode: llap
             Reduce Operator Tree:
@@ -337,10 +337,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: mergepartial
                 outputColumnNames: _col0
-                Statistics: Num rows: 5 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 5 Data size: 920 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 5 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 5 Data size: 920 Basic stats: COMPLETE 
Column stats: NONE
                   value expressions: _col0 (type: string)
 
   Stage: Stage-0
@@ -373,14 +373,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string), value (type: string)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 175168 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string), _col1 (type: 
string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -388,14 +388,14 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: d1
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string)
                     outputColumnNames: _col0
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                       value expressions: _col0 (type: string)
             Execution mode: llap
             LLAP IO: no inputs
@@ -421,10 +421,10 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1, _col2
-                Statistics: Num rows: 25000 Data size: 675600 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 25000 Data size: 13508400 Basic stats: 
COMPLETE Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 25000 Data size: 675600 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 25000 Data size: 13508400 Basic stats: 
COMPLETE Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -439,17 +439,17 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0
-                Statistics: Num rows: 100 Data size: 1540 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 100 Data size: 18900 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: string)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 100 Data size: 1540 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 100 Data size: 18900 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string)
                     sort order: +
                     Map-reduce partition columns: _col0 (type: string)
-                    Statistics: Num rows: 100 Data size: 1540 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 100 Data size: 18900 Basic stats: 
COMPLETE Column stats: NONE
         Reducer 5 
             Execution mode: llap
             Reduce Operator Tree:
@@ -457,10 +457,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: mergepartial
                 outputColumnNames: _col0
-                Statistics: Num rows: 50 Data size: 770 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 50 Data size: 9450 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 50 Data size: 770 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 50 Data size: 9450 Basic stats: 
COMPLETE Column stats: NONE
                   value expressions: _col0 (type: string)
 
   Stage: Stage-0
@@ -497,59 +497,59 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 500 Data size: 87584 Basic stats: 
COMPLETE Column stats: NONE
                   Select Operator
                     expressions: key (type: string)
                     outputColumnNames: key
-                    Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 500 Data size: 87584 Basic stats: 
COMPLETE Column stats: NONE
                     Group By Operator
                       keys: key (type: string)
                       mode: hash
                       outputColumnNames: _col0
-                      Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 500 Data size: 87584 Basic stats: 
COMPLETE Column stats: NONE
                       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: 87584 Basic 
stats: COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Map 4 
             Map Operator Tree:
                 TableScan
                   alias: d1
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Map 7 
             Map Operator Tree:
                 TableScan
                   alias: d2
-                  Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: key is not null (type: boolean)
-                    Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                      Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: string)
-                        Statistics: Num rows: 10 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
+                        Statistics: Num rows: 10 Data size: 1840 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: llap
             LLAP IO: no inputs
         Reducer 2 
@@ -559,10 +559,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: mergepartial
                 outputColumnNames: _col0
-                Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 250 Data size: 43792 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 250 Data size: 43792 Basic stats: 
COMPLETE Column stats: NONE
                   value expressions: _col0 (type: string)
         Reducer 3 
             Execution mode: llap
@@ -574,10 +574,10 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1250 Data size: 27280 Basic stats: 
COMPLETE Column stats: NONE
+                Statistics: Num rows: 1250 Data size: 450210 Basic stats: 
COMPLETE Column stats: NONE
                 File Output Operator
                   compressed: false
-                  Statistics: Num rows: 1250 Data size: 27280 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 1250 Data size: 450210 Basic stats: 
COMPLETE Column stats: NONE
                   table:
                       input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                       output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -592,17 +592,17 @@ STAGE PLANS:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
                 outputColumnNames: _col0
-                Statistics: Num rows: 11 Data size: 114 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 11 Data size: 2024 Basic stats: COMPLETE 
Column stats: NONE
                 Group By Operator
                   keys: _col0 (type: string)
                   mode: hash
                   outputColumnNames: _col0
-                  Statistics: Num rows: 11 Data size: 114 Basic stats: 
COMPLETE Column stats: NONE
+                  Statistics: Num rows: 11 Data size: 2024 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string)
                     sort order: +
                     Map-reduce partition columns: _col0 (type: string)
-                    Statistics: Num rows: 11 Data size: 114 Basic stats: 
COMPLETE Column stats: NONE
+                    Statistics: Num rows: 11 Data size: 2024 Basic stats: 
COMPLETE Column stats: NONE
         Reducer 6 
             Execution mode: llap
             Reduce Operator Tree:
@@ -610,10 +610,10 @@ STAGE PLANS:
                 keys: KEY._col0 (type: string)
                 mode: mergepartial
                 outputColumnNames: _col0
-                Statistics: Num rows: 5 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
+                Statistics: Num rows: 5 Data size: 920 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 5 Data size: 51 Basic stats: COMPLETE 
Column stats: NONE
+                  Statistics: Num rows: 5 Data size: 920 Basic stats: COMPLETE 
Column stats: NONE
                   value expressions: _col0 (type: string)
 
   Stage: Stage-0

Reply via email to