http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/llap/subquery_select.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/subquery_select.q.out 
b/ql/src/test/results/clientpositive/llap/subquery_select.q.out
index 6870ad1..0435530 100644
--- a/ql/src/test/results/clientpositive/llap/subquery_select.q.out
+++ b/ql/src/test/results/clientpositive/llap/subquery_select.q.out
@@ -32,14 +32,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_size (type: int)
-                    outputColumnNames: _col0
-                    Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_size (type: int), p_size is null (type: 
boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: int)
                       sort order: +
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: boolean)
                   Select Operator
                     expressions: p_size (type: int)
                     outputColumnNames: p_size
@@ -77,12 +78,12 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: int)
                   1 _col0 (type: int)
-                outputColumnNames: _col0, _col2
-                Statistics: Num rows: 27 Data size: 116 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3
+                Statistics: Num rows: 27 Data size: 224 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 27 Data size: 116 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: int), _col2 (type: boolean)
+                  Statistics: Num rows: 27 Data size: 224 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col0 (type: int), _col1 (type: boolean), 
_col3 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -92,10 +93,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col0, _col2, _col3, _col4
-                Statistics: Num rows: 27 Data size: 548 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3, _col4, _col5
+                Statistics: Num rows: 27 Data size: 440 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (false) WHEN (_col2 is not null) THEN (true) WHEN (_col0 is null) THEN 
(null) WHEN ((_col4 < _col3)) THEN (null) ELSE (false) END (type: boolean)
+                  expressions: _col0 (type: int), CASE WHEN (_col4) THEN 
(false) WHEN (_col3 is not null) THEN (true) WHEN (_col1) THEN (null) WHEN 
(_col5) THEN (null) ELSE (false) END (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 27 Data size: 216 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -136,10 +137,14 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  Reduce Output Operator
-                    sort order: 
-                    Statistics: Num rows: 1 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: bigint), _col1 (type: 
bigint)
+                  Select Operator
+                    expressions: (_col0 = 0L) (type: boolean), (_col1 < _col0) 
(type: boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    Reduce Output Operator
+                      sort order: 
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: boolean), _col1 (type: 
boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -219,15 +224,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 2808 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_type (type: string), p_size (type: int)
-                    outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 26 Data size: 2808 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_type (type: string), p_size (type: int), 
p_size is null (type: boolean)
+                    outputColumnNames: _col0, _col1, _col2
+                    Statistics: Num rows: 26 Data size: 2912 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: 26 Data size: 2808 Basic stats: 
COMPLETE Column stats: COMPLETE
-                      value expressions: _col1 (type: int)
+                      Statistics: Num rows: 26 Data size: 2912 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: int), _col2 (type: 
boolean)
                   Filter Operator
                     predicate: p_type is not null (type: boolean)
                     Statistics: Num rows: 26 Data size: 2808 Basic stats: 
COMPLETE Column stats: COMPLETE
@@ -269,14 +274,14 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
-                outputColumnNames: _col0, _col1, _col3, _col4
-                Statistics: Num rows: 40 Data size: 4560 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col2, _col4, _col5, _col6
+                Statistics: Num rows: 40 Data size: 4720 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: string), _col1 (type: int)
                   sort order: ++
                   Map-reduce partition columns: _col0 (type: string), _col1 
(type: int)
-                  Statistics: Num rows: 40 Data size: 4560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col3 (type: bigint), _col4 (type: bigint)
+                  Statistics: Num rows: 40 Data size: 4720 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col2 (type: boolean), _col4 (type: 
bigint), _col5 (type: boolean), _col6 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -286,10 +291,10 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: string), _col1 (type: int)
                   1 _col1 (type: string), _col0 (type: int)
-                outputColumnNames: _col1, _col3, _col4, _col7
-                Statistics: Num rows: 48 Data size: 660 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col1, _col2, _col4, _col5, _col6, _col9
+                Statistics: Num rows: 48 Data size: 852 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (false) WHEN (_col3 is null) THEN (false) WHEN (_col7 is not null) THEN 
(true) WHEN (_col1 is null) THEN (null) WHEN ((_col4 < _col3)) THEN (null) ELSE 
(false) END (type: boolean)
+                  expressions: _col1 (type: int), CASE WHEN (_col5) THEN 
(false) WHEN (_col4 is null) THEN (false) WHEN (_col9 is not null) THEN (true) 
WHEN (_col2) THEN (null) WHEN (_col6) THEN (null) ELSE (false) END (type: 
boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 48 Data size: 384 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -314,12 +319,16 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1, _col2
                   Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Reduce Output Operator
-                    key expressions: _col0 (type: string)
-                    sort order: +
-                    Map-reduce partition columns: _col0 (type: string)
+                  Select Operator
+                    expressions: _col0 (type: string), _col1 (type: bigint), 
(_col1 = 0L) (type: boolean), (_col2 < _col1) (type: boolean)
+                    outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col1 (type: bigint), _col2 (type: 
bigint)
+                    Reduce Output Operator
+                      key expressions: _col0 (type: string)
+                      sort order: +
+                      Map-reduce partition columns: _col0 (type: string)
+                      Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: bigint), _col2 (type: 
boolean), _col3 (type: boolean)
         Reducer 5 
             Execution mode: vectorized, llap
             Reduce Operator Tree:
@@ -421,14 +430,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_size (type: int)
-                    outputColumnNames: _col0
-                    Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_size (type: int), p_size is null (type: 
boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: int)
                       sort order: +
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: boolean)
                   Select Operator
                     expressions: p_size (type: int)
                     outputColumnNames: p_size
@@ -466,12 +476,12 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: int)
                   1 _col0 (type: int)
-                outputColumnNames: _col0, _col2
-                Statistics: Num rows: 27 Data size: 116 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3
+                Statistics: Num rows: 27 Data size: 224 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 27 Data size: 116 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: int), _col2 (type: boolean)
+                  Statistics: Num rows: 27 Data size: 224 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col0 (type: int), _col1 (type: boolean), 
_col3 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -481,10 +491,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col0, _col2, _col3, _col4
-                Statistics: Num rows: 27 Data size: 548 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3, _col4, _col5
+                Statistics: Num rows: 27 Data size: 440 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (true) WHEN (_col2 is not null) THEN (false) WHEN (_col0 is null) THEN 
(null) WHEN ((_col4 < _col3)) THEN (null) ELSE (true) END (type: boolean)
+                  expressions: _col0 (type: int), CASE WHEN (_col4) THEN 
(true) WHEN (_col3 is not null) THEN (false) WHEN (_col1) THEN (null) WHEN 
(_col5) THEN (null) ELSE (true) END (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 27 Data size: 216 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -525,10 +535,14 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  Reduce Output Operator
-                    sort order: 
-                    Statistics: Num rows: 1 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: bigint), _col1 (type: 
bigint)
+                  Select Operator
+                    expressions: (_col0 = 0L) (type: boolean), (_col1 < _col0) 
(type: boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    Reduce Output Operator
+                      sort order: 
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: boolean), _col1 (type: 
boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -708,15 +722,15 @@ STAGE PLANS:
                   predicate: (sq_count_check(CASE WHEN (_col3 is null) THEN 
(0) ELSE (_col3) END, true) > 0) (type: boolean)
                   Statistics: Num rows: 13 Data size: 1452 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: _col0 (type: string), _col1 (type: int)
-                    outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 13 Data size: 1404 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: _col0 (type: string), _col1 (type: int), 
_col1 is null (type: boolean)
+                    outputColumnNames: _col0, _col1, _col2
+                    Statistics: Num rows: 13 Data size: 1456 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: 13 Data size: 1404 Basic stats: 
COMPLETE Column stats: COMPLETE
-                      value expressions: _col1 (type: int)
+                      Statistics: Num rows: 13 Data size: 1456 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: int), _col2 (type: 
boolean)
         Reducer 4 
             Execution mode: llap
             Reduce Operator Tree:
@@ -726,14 +740,14 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
-                outputColumnNames: _col0, _col1, _col3, _col4
-                Statistics: Num rows: 13 Data size: 1612 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col2, _col4, _col5, _col6
+                Statistics: Num rows: 13 Data size: 1664 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col1 (type: int), _col0 (type: string)
                   sort order: ++
                   Map-reduce partition columns: _col1 (type: int), _col0 
(type: string)
-                  Statistics: Num rows: 13 Data size: 1612 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col3 (type: bigint), _col4 (type: bigint)
+                  Statistics: Num rows: 13 Data size: 1664 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col2 (type: boolean), _col4 (type: 
bigint), _col5 (type: boolean), _col6 (type: boolean)
         Reducer 5 
             Execution mode: llap
             Reduce Operator Tree:
@@ -743,10 +757,10 @@ STAGE PLANS:
                 keys:
                   0 _col1 (type: int), _col0 (type: string)
                   1 _col0 (type: int), _col1 (type: string)
-                outputColumnNames: _col1, _col3, _col4, _col7
-                Statistics: Num rows: 13 Data size: 312 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col1, _col2, _col4, _col5, _col6, _col9
+                Statistics: Num rows: 13 Data size: 364 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (true) WHEN (_col3 is null) THEN (true) WHEN (_col7 is not null) THEN 
(false) WHEN (_col1 is null) THEN (null) WHEN ((_col4 < _col3)) THEN (null) 
ELSE (true) END (type: boolean)
+                  expressions: _col1 (type: int), CASE WHEN (_col5) THEN 
(true) WHEN (_col4 is null) THEN (true) WHEN (_col9 is not null) THEN (false) 
WHEN (_col2) THEN (null) WHEN (_col6) THEN (null) ELSE (true) END (type: 
boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 13 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -793,12 +807,16 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1, _col2
                   Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Reduce Output Operator
-                    key expressions: _col0 (type: string)
-                    sort order: +
-                    Map-reduce partition columns: _col0 (type: string)
+                  Select Operator
+                    expressions: _col0 (type: string), _col1 (type: bigint), 
(_col1 = 0L) (type: boolean), (_col2 < _col1) (type: boolean)
+                    outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col1 (type: bigint), _col2 (type: 
bigint)
+                    Reduce Output Operator
+                      key expressions: _col0 (type: string)
+                      sort order: +
+                      Map-reduce partition columns: _col0 (type: string)
+                      Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: bigint), _col2 (type: 
boolean), _col3 (type: boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -932,10 +950,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0
                 Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
+                Select Operator
+                  expressions: true (type: boolean)
+                  outputColumnNames: _col0
                   Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: boolean)
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -1212,10 +1234,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0
                 Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
+                Select Operator
+                  expressions: true (type: boolean)
+                  outputColumnNames: _col0
                   Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: boolean)
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -1616,16 +1642,16 @@ STAGE PLANS:
                      Left Outer Join 0 to 1
                 keys:
                   0 _col0 (type: string)
-                  1 _col2 (type: string)
-                outputColumnNames: _col1, _col2, _col3
-                Statistics: Num rows: 37 Data size: 2780 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  1 _col0 (type: string)
+                outputColumnNames: _col1, _col3
+                Statistics: Num rows: 37 Data size: 2724 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), CASE WHEN (_col3 is null) 
THEN (null) ELSE (_col2) END (type: string)
+                  expressions: _col1 (type: int), _col3 (type: string)
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 37 Data size: 6956 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 37 Data size: 2724 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 37 Data size: 6956 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 37 Data size: 2724 Basic stats: 
COMPLETE Column stats: COMPLETE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -1639,16 +1665,12 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 13 Data size: 3744 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Select Operator
-                  expressions: _col1 (type: string), true (type: boolean), 
_col0 (type: string)
-                  outputColumnNames: _col0, _col1, _col2
-                  Statistics: Num rows: 13 Data size: 3796 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Reduce Output Operator
-                    key expressions: _col2 (type: string)
-                    sort order: +
-                    Map-reduce partition columns: _col2 (type: string)
-                    Statistics: Num rows: 13 Data size: 3796 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: string), _col1 (type: 
boolean)
+                Reduce Output Operator
+                  key expressions: _col0 (type: string)
+                  sort order: +
+                  Map-reduce partition columns: _col0 (type: string)
+                  Statistics: Num rows: 13 Data size: 3744 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col1 (type: string)
 
   Stage: Stage-0
     Fetch Operator
@@ -1876,12 +1898,12 @@ STAGE PLANS:
                     Statistics: Num rows: 166 Data size: 29548 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: value (type: string)
-                      outputColumnNames: _col1
-                      Statistics: Num rows: 166 Data size: 29548 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      outputColumnNames: _col0
+                      Statistics: Num rows: 166 Data size: 15106 Basic stats: 
COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
                         sort order: 
-                        Statistics: Num rows: 166 Data size: 29548 Basic 
stats: COMPLETE Column stats: COMPLETE
-                        value expressions: _col1 (type: string)
+                        Statistics: Num rows: 166 Data size: 15106 Basic 
stats: COMPLETE Column stats: COMPLETE
+                        value expressions: _col0 (type: string)
             Execution mode: vectorized, llap
             LLAP IO: no inputs
         Map 4 
@@ -1931,22 +1953,18 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col1, _col2
+                outputColumnNames: _col0, _col1
                 Statistics: Num rows: 166 Data size: 45650 Basic stats: 
COMPLETE Column stats: COMPLETE
-                Select Operator
-                  expressions: _col2 (type: string), _col1 (type: string)
+                Group By Operator
+                  keys: _col0 (type: string), _col1 (type: string)
+                  mode: hash
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 166 Data size: 45650 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Group By Operator
-                    keys: _col0 (type: string), _col1 (type: string)
-                    mode: hash
-                    outputColumnNames: _col0, _col1
+                  Statistics: Num rows: 83 Data size: 22825 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), _col1 
(type: string)
                     Statistics: Num rows: 83 Data size: 22825 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), 
_col1 (type: string)
-                      Statistics: Num rows: 83 Data size: 22825 Basic stats: 
COMPLETE Column stats: COMPLETE
         Reducer 5 
             Execution mode: vectorized, llap
             Reduce Operator Tree:
@@ -2066,13 +2084,13 @@ STAGE PLANS:
                     Statistics: Num rows: 166 Data size: 29548 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: value (type: string)
-                      outputColumnNames: _col1
-                      Statistics: Num rows: 166 Data size: 29548 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      outputColumnNames: _col0
+                      Statistics: Num rows: 166 Data size: 15106 Basic stats: 
COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
-                        key expressions: _col1 (type: string)
+                        key expressions: _col0 (type: string)
                         sort order: +
-                        Map-reduce partition columns: _col1 (type: string)
-                        Statistics: Num rows: 166 Data size: 29548 Basic 
stats: COMPLETE Column stats: COMPLETE
+                        Map-reduce partition columns: _col0 (type: string)
+                        Statistics: Num rows: 166 Data size: 15106 Basic 
stats: COMPLETE Column stats: COMPLETE
             Execution mode: vectorized, llap
             LLAP IO: no inputs
         Reducer 2 
@@ -2105,16 +2123,12 @@ STAGE PLANS:
                 Filter Operator
                   predicate: _col1 is not null (type: boolean)
                   Statistics: Num rows: 250 Data size: 68750 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Select Operator
-                    expressions: _col1 (type: string), _col0 (type: string)
-                    outputColumnNames: _col0, _col1
+                  Reduce Output Operator
+                    key expressions: _col0 (type: string)
+                    sort order: +
+                    Map-reduce partition columns: _col0 (type: string)
                     Statistics: Num rows: 250 Data size: 68750 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    Reduce Output Operator
-                      key expressions: _col1 (type: string)
-                      sort order: +
-                      Map-reduce partition columns: _col1 (type: string)
-                      Statistics: Num rows: 250 Data size: 68750 Basic stats: 
COMPLETE Column stats: COMPLETE
-                      value expressions: _col0 (type: string)
+                    value expressions: _col1 (type: string)
         Reducer 4 
             Execution mode: llap
             Reduce Operator Tree:
@@ -2122,12 +2136,12 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 _col1 (type: string)
-                  1 _col1 (type: string)
-                outputColumnNames: _col0, _col3
+                  0 _col0 (type: string)
+                  1 _col0 (type: string)
+                outputColumnNames: _col1, _col2
                 Statistics: Num rows: 166 Data size: 45650 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: string), _col3 (type: string)
+                  expressions: _col1 (type: string), _col2 (type: string)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 166 Data size: 45650 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Group By Operator
@@ -2225,14 +2239,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_size (type: int)
-                    outputColumnNames: _col0
-                    Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_size (type: int), p_size is null (type: 
boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: int)
                       sort order: +
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: boolean)
             Execution mode: vectorized, llap
             LLAP IO: no inputs
         Map 4 
@@ -2274,12 +2289,12 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: int)
                   1 _col0 (type: int)
-                outputColumnNames: _col0, _col2
-                Statistics: Num rows: 27 Data size: 116 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3
+                Statistics: Num rows: 27 Data size: 224 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 27 Data size: 116 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: int), _col2 (type: boolean)
+                  Statistics: Num rows: 27 Data size: 224 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col0 (type: int), _col1 (type: boolean), 
_col3 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -2289,10 +2304,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col0, _col2, _col3, _col4
-                Statistics: Num rows: 27 Data size: 548 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3, _col4, _col5
+                Statistics: Num rows: 27 Data size: 440 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (false) WHEN (_col2 is not null) THEN (true) WHEN (_col0 is null) THEN 
(null) WHEN ((_col4 < _col3)) THEN (null) ELSE (false) END (type: boolean)
+                  expressions: _col0 (type: int), CASE WHEN (_col4) THEN 
(false) WHEN (_col3 is not null) THEN (true) WHEN (_col1) THEN (null) WHEN 
(_col5) THEN (null) ELSE (false) END (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 27 Data size: 216 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -2328,10 +2343,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
-                  Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: bigint), _col1 (type: bigint)
+                Select Operator
+                  expressions: (_col0 = 0L) (type: boolean), (_col1 < _col0) 
(type: boolean)
+                  outputColumnNames: _col0, _col1
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: boolean), _col1 (type: 
boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -2727,16 +2746,16 @@ STAGE PLANS:
                      Left Outer Join 0 to 1
                 keys:
                   0 _col0 (type: string)
-                  1 _col2 (type: string)
-                outputColumnNames: _col1, _col2, _col3
-                Statistics: Num rows: 36 Data size: 264 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  1 _col0 (type: string)
+                outputColumnNames: _col1, _col3
+                Statistics: Num rows: 36 Data size: 204 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), (1 + CASE WHEN (_col3 is 
null) THEN (null) ELSE (_col2) END) (type: int)
+                  expressions: _col1 (type: int), _col3 (type: int)
                   outputColumnNames: _col0, _col1
-                  Statistics: Num rows: 36 Data size: 288 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 36 Data size: 204 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
                     compressed: false
-                    Statistics: Num rows: 36 Data size: 288 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 36 Data size: 204 Basic stats: 
COMPLETE Column stats: COMPLETE
                     table:
                         input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                         output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -2751,15 +2770,15 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 13 Data size: 1404 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), true (type: boolean), _col0 
(type: string)
-                  outputColumnNames: _col0, _col1, _col2
-                  Statistics: Num rows: 13 Data size: 1456 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  expressions: _col0 (type: string), (1 + _col1) (type: int)
+                  outputColumnNames: _col0, _col1
+                  Statistics: Num rows: 13 Data size: 1404 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
-                    key expressions: _col2 (type: string)
+                    key expressions: _col0 (type: string)
                     sort order: +
-                    Map-reduce partition columns: _col2 (type: string)
-                    Statistics: Num rows: 13 Data size: 1456 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: int), _col1 (type: boolean)
+                    Map-reduce partition columns: _col0 (type: string)
+                    Statistics: Num rows: 13 Data size: 1404 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    value expressions: _col1 (type: int)
 
   Stage: Stage-0
     Fetch Operator
@@ -3051,7 +3070,7 @@ STAGE PLANS:
                 Reduce Output Operator
                   sort order: 
                   Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col1 (type: int)
+                  value expressions: _col1 (type: boolean)
         Reducer 5 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3064,7 +3083,7 @@ STAGE PLANS:
                 outputColumnNames: _col1, _col2
                 Statistics: Num rows: 26 Data size: 2808 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col2 (type: string), (_col1 = 1) (type: 
boolean)
+                  expressions: _col2 (type: string), _col1 (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 26 Data size: 2808 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
@@ -3096,10 +3115,14 @@ STAGE PLANS:
                 Limit
                   Number of rows: 1
                   Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  Reduce Output Operator
-                    sort order: 
+                  Select Operator
+                    expressions: (_col0 = 1) (type: boolean)
+                    outputColumnNames: _col0
                     Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                    value expressions: _col0 (type: int)
+                    Reduce Output Operator
+                      sort order: 
+                      Statistics: Num rows: 1 Data size: 4 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -3182,15 +3205,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 5954 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_name (type: string), p_type (type: string), 
p_size (type: int)
-                    outputColumnNames: _col0, _col1, _col2
-                    Statistics: Num rows: 26 Data size: 5954 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_name (type: string), p_type (type: string), 
p_size (type: int), p_size is null (type: boolean), p_name is null (type: 
boolean)
+                    outputColumnNames: _col0, _col1, _col2, _col3, _col4
+                    Statistics: Num rows: 26 Data size: 6162 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col1 (type: string)
                       sort order: +
                       Map-reduce partition columns: _col1 (type: string)
-                      Statistics: Num rows: 26 Data size: 5954 Basic stats: 
COMPLETE Column stats: COMPLETE
-                      value expressions: _col0 (type: string), _col2 (type: 
int)
+                      Statistics: Num rows: 26 Data size: 6162 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: string), _col2 (type: 
int), _col3 (type: boolean), _col4 (type: boolean)
             Execution mode: vectorized, llap
             LLAP IO: no inputs
         Map 6 
@@ -3265,10 +3288,14 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  Reduce Output Operator
-                    sort order: 
-                    Statistics: Num rows: 1 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: bigint), _col1 (type: 
bigint)
+                  Select Operator
+                    expressions: (_col0 = 0L) (type: boolean), (_col1 < _col0) 
(type: boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    Reduce Output Operator
+                      sort order: 
+                      Statistics: Num rows: 1 Data size: 8 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: boolean), _col1 (type: 
boolean)
         Reducer 2 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3278,14 +3305,14 @@ STAGE PLANS:
                 keys:
                   0 _col1 (type: string)
                   1 _col0 (type: string)
-                outputColumnNames: _col0, _col1, _col2, _col4, _col5
-                Statistics: Num rows: 40 Data size: 9400 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col6, 
_col7, _col8
+                Statistics: Num rows: 40 Data size: 9720 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col1 (type: string), _col2 (type: int)
                   sort order: ++
                   Map-reduce partition columns: _col1 (type: string), _col2 
(type: int)
-                  Statistics: Num rows: 40 Data size: 9400 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: string), _col4 (type: 
bigint), _col5 (type: bigint)
+                  Statistics: Num rows: 40 Data size: 9720 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col0 (type: string), _col3 (type: 
boolean), _col4 (type: boolean), _col6 (type: bigint), _col7 (type: boolean), 
_col8 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3295,14 +3322,14 @@ STAGE PLANS:
                 keys:
                   0 _col1 (type: string), _col2 (type: int)
                   1 _col1 (type: string), _col0 (type: int)
-                outputColumnNames: _col0, _col2, _col4, _col5, _col8
-                Statistics: Num rows: 48 Data size: 6468 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col2, _col3, _col4, _col6, _col7, 
_col8, _col11
+                Statistics: Num rows: 48 Data size: 6852 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: 48 Data size: 6468 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col2 (type: int), _col4 (type: bigint), 
_col5 (type: bigint), _col8 (type: boolean)
+                  Statistics: Num rows: 48 Data size: 6852 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col2 (type: int), _col3 (type: boolean), 
_col4 (type: boolean), _col6 (type: bigint), _col7 (type: boolean), _col8 
(type: boolean), _col11 (type: boolean)
         Reducer 4 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3312,12 +3339,12 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: string)
                   1 _col0 (type: string)
-                outputColumnNames: _col0, _col2, _col4, _col5, _col8, _col10
-                Statistics: Num rows: 49 Data size: 6621 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col2, _col3, _col4, _col6, _col7, _col8, 
_col11, _col13
+                Statistics: Num rows: 49 Data size: 1084 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 49 Data size: 6621 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: string), _col2 (type: int), 
_col4 (type: bigint), _col5 (type: bigint), _col8 (type: boolean), _col10 
(type: boolean)
+                  Statistics: Num rows: 49 Data size: 1084 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col2 (type: int), _col3 (type: boolean), 
_col4 (type: boolean), _col6 (type: bigint), _col7 (type: boolean), _col8 
(type: boolean), _col11 (type: boolean), _col13 (type: boolean)
         Reducer 5 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3327,10 +3354,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col0, _col2, _col4, _col5, _col8, _col10, 
_col11, _col12
-                Statistics: Num rows: 49 Data size: 7405 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col2, _col3, _col4, _col6, _col7, _col8, 
_col11, _col13, _col14, _col15
+                Statistics: Num rows: 49 Data size: 1476 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col2 (type: int), (CASE WHEN ((_col4 = 0L)) 
THEN (false) WHEN (_col4 is null) THEN (false) WHEN (_col8 is not null) THEN 
(true) WHEN (_col2 is null) THEN (null) WHEN ((_col5 < _col4)) THEN (null) ELSE 
(false) END and CASE WHEN ((_col11 = 0L)) THEN (false) WHEN (_col10 is not 
null) THEN (true) WHEN (_col0 is null) THEN (null) WHEN ((_col12 < _col11)) 
THEN (null) ELSE (false) END) (type: boolean)
+                  expressions: _col2 (type: int), (CASE WHEN (_col7) THEN 
(false) WHEN (_col6 is null) THEN (false) WHEN (_col11 is not null) THEN (true) 
WHEN (_col3) THEN (null) WHEN (_col8) THEN (null) ELSE (false) END and CASE 
WHEN (_col14) THEN (false) WHEN (_col13 is not null) THEN (true) WHEN (_col4) 
THEN (null) WHEN (_col15) THEN (null) ELSE (false) END) (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 49 Data size: 392 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -3355,12 +3382,16 @@ STAGE PLANS:
                   mode: complete
                   outputColumnNames: _col0, _col1, _col2
                   Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Reduce Output Operator
-                    key expressions: _col0 (type: string)
-                    sort order: +
-                    Map-reduce partition columns: _col0 (type: string)
+                  Select Operator
+                    expressions: _col0 (type: string), _col1 (type: bigint), 
(_col1 = 0L) (type: boolean), (_col2 < _col1) (type: boolean)
+                    outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col1 (type: bigint), _col2 (type: 
bigint)
+                    Reduce Output Operator
+                      key expressions: _col0 (type: string)
+                      sort order: +
+                      Map-reduce partition columns: _col0 (type: string)
+                      Statistics: Num rows: 13 Data size: 1560 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: bigint), _col2 (type: 
boolean), _col3 (type: boolean)
         Reducer 8 
             Execution mode: vectorized, llap
             Reduce Operator Tree:
@@ -3613,14 +3644,15 @@ STAGE PLANS:
                   alias: part
                   Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: p_size (type: int)
-                    outputColumnNames: _col0
-                    Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    expressions: p_size (type: int), p_size is null (type: 
boolean)
+                    outputColumnNames: _col0, _col1
+                    Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col0 (type: int)
                       sort order: +
                       Map-reduce partition columns: _col0 (type: int)
-                      Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col1 (type: boolean)
                   Select Operator
                     expressions: p_size (type: int)
                     outputColumnNames: p_size
@@ -3657,12 +3689,12 @@ STAGE PLANS:
                 keys:
                   0 _col0 (type: int)
                   1 _col0 (type: int)
-                outputColumnNames: _col0, _col2
-                Statistics: Num rows: 27 Data size: 116 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3
+                Statistics: Num rows: 27 Data size: 224 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 27 Data size: 116 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col0 (type: int), _col2 (type: boolean)
+                  Statistics: Num rows: 27 Data size: 224 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col0 (type: int), _col1 (type: boolean), 
_col3 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3672,10 +3704,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col0, _col2, _col3, _col4
-                Statistics: Num rows: 27 Data size: 548 Basic stats: COMPLETE 
Column stats: COMPLETE
+                outputColumnNames: _col0, _col1, _col3, _col4, _col5
+                Statistics: Num rows: 27 Data size: 440 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: int), CASE WHEN ((_col3 = 0L)) 
THEN (false) WHEN (_col2 is not null) THEN (true) WHEN (_col0 is null) THEN 
(null) WHEN ((_col4 < _col3)) THEN (null) ELSE (false) END (type: boolean)
+                  expressions: _col0 (type: int), CASE WHEN (_col4) THEN 
(false) WHEN (_col3 is not null) THEN (true) WHEN (_col1) THEN (null) WHEN 
(_col5) THEN (null) ELSE (false) END (type: boolean)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 27 Data size: 216 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -3768,10 +3800,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
-                  Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: bigint), _col1 (type: bigint)
+                Select Operator
+                  expressions: (_col0 = 0L) (type: boolean), (_col1 < _col0) 
(type: boolean)
+                  outputColumnNames: _col0, _col1
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: boolean), _col1 (type: 
boolean)
 
   Stage: Stage-0
     Fetch Operator
@@ -3965,11 +4001,11 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col1
-                Statistics: Num rows: 26 Data size: 208 Basic stats: COMPLETE 
Column stats: COMPLETE
+                Statistics: Num rows: 26 Data size: 104 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col1 (type: bigint)
+                  Statistics: Num rows: 26 Data size: 104 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col1 (type: boolean)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3980,11 +4016,11 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col1, _col2
-                Statistics: Num rows: 26 Data size: 416 Basic stats: COMPLETE 
Column stats: COMPLETE
+                Statistics: Num rows: 26 Data size: 312 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
-                  Statistics: Num rows: 26 Data size: 416 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  value expressions: _col1 (type: bigint), _col2 (type: double)
+                  Statistics: Num rows: 26 Data size: 312 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col1 (type: boolean), _col2 (type: 
double)
         Reducer 4 
             Execution mode: llap
             Reduce Operator Tree:
@@ -3995,9 +4031,9 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col1, _col2, _col3
-                Statistics: Num rows: 26 Data size: 520 Basic stats: COMPLETE 
Column stats: COMPLETE
+                Statistics: Num rows: 26 Data size: 416 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: CASE WHEN ((_col1 > 409437L)) THEN (_col2) ELSE 
(_col3) END (type: double)
+                  expressions: CASE WHEN (_col1) THEN (_col2) ELSE (_col3) END 
(type: double)
                   outputColumnNames: _col0
                   Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -4015,10 +4051,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0
                 Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
-                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: bigint)
+                Select Operator
+                  expressions: (_col0 > 409437L) (type: boolean)
+                  outputColumnNames: _col0
+                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: boolean)
         Reducer 8 
             Execution mode: vectorized, llap
             Reduce Operator Tree:
@@ -4166,10 +4206,14 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0
                 Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Reduce Output Operator
-                  sort order: 
-                  Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col0 (type: int)
+                Select Operator
+                  expressions: UDFToLong(_col0) (type: bigint)
+                  outputColumnNames: _col0
+                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  Reduce Output Operator
+                    sort order: 
+                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: COMPLETE
+                    value expressions: _col0 (type: bigint)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -4180,9 +4224,9 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1
-                Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: COMPLETE
+                Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: (UDFToLong(_col0) > _col1) (type: boolean)
+                  expressions: (_col0 > _col1) (type: boolean)
                   outputColumnNames: _col0
                   Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -4267,13 +4311,13 @@ STAGE PLANS:
                       Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
                       value expressions: _col1 (type: int)
                   Select Operator
-                    expressions: p_partkey (type: int), p_size (type: int)
+                    expressions: p_partkey (type: int), UDFToDouble(p_size) 
(type: double)
                     outputColumnNames: _col0, _col1
-                    Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 26 Data size: 312 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       sort order: 
-                      Statistics: Num rows: 26 Data size: 208 Basic stats: 
COMPLETE Column stats: COMPLETE
-                      value expressions: _col0 (type: int), _col1 (type: int)
+                      Statistics: Num rows: 26 Data size: 312 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      value expressions: _col0 (type: int), _col1 (type: 
double)
             Execution mode: vectorized, llap
             LLAP IO: no inputs
         Map 4 
@@ -4351,8 +4395,8 @@ STAGE PLANS:
                   0 
                   1 
                 outputColumnNames: _col0, _col1, _col2
-                residual filter predicates: {(UDFToDouble(_col1) > _col2)}
-                Statistics: Num rows: 8 Data size: 128 Basic stats: COMPLETE 
Column stats: COMPLETE
+                residual filter predicates: {(_col1 > _col2)}
+                Statistics: Num rows: 8 Data size: 160 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
                   expressions: _col0 (type: int)
                   outputColumnNames: _col0
@@ -5132,12 +5176,12 @@ STAGE PLANS:
                     Select Operator
                       expressions: _col0 (type: int)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
 
   Stage: Stage-0
     Fetch Operator
@@ -5364,12 +5408,12 @@ STAGE PLANS:
                     Select Operator
                       expressions: _col0 (type: int)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
         Reducer 11 
             Execution mode: llap
             Reduce Operator Tree:
@@ -5414,12 +5458,12 @@ STAGE PLANS:
                   0 _col0 (type: int)
                   1 _col0 (type: int)
                   2 _col1 (type: int)
-                outputColumnNames: _col1, _col4
+                outputColumnNames: _col1, _col3
                 Statistics: Num rows: 4 Data size: 48 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Reduce Output Operator
                   sort order: 
                   Statistics: Num rows: 4 Data size: 48 Basic stats: COMPLETE 
Column stats: COMPLETE
-                  value expressions: _col1 (type: int), _col4 (type: bigint)
+                  value expressions: _col1 (type: int), _col3 (type: bigint)
         Reducer 3 
             Execution mode: llap
             Reduce Operator Tree:
@@ -5429,10 +5473,10 @@ STAGE PLANS:
                 keys:
                   0 
                   1 
-                outputColumnNames: _col1, _col4, _col6
+                outputColumnNames: _col1, _col3, _col5
                 Statistics: Num rows: 4 Data size: 80 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), _col4 (type: bigint), _col6 
(type: bigint)
+                  expressions: _col1 (type: int), _col3 (type: bigint), _col5 
(type: bigint)
                   outputColumnNames: _col0, _col1, _col2
                   Statistics: Num rows: 4 Data size: 80 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -5518,12 +5562,12 @@ STAGE PLANS:
                     Select Operator
                       expressions: _col0 (type: int)
                       outputColumnNames: _col0
-                      Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col0 (type: int)
-                        Statistics: Num rows: 4 Data size: 48 Basic stats: 
COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 4 Data size: 16 Basic stats: 
COMPLETE Column stats: COMPLETE
         Reducer 9 
             Execution mode: vectorized, llap
             Reduce Operator Tree:
@@ -5656,11 +5700,11 @@ STAGE PLANS:
                      Left Outer Join 0 to 1
                 keys:
                   0 _col0 (type: string)
-                  1 _col2 (type: string)
-                outputColumnNames: _col1, _col2, _col3
-                Statistics: Num rows: 36 Data size: 264 Basic stats: COMPLETE 
Column stats: COMPLETE
+                  1 _col0 (type: string)
+                outputColumnNames: _col1, _col3
+                Statistics: Num rows: 36 Data size: 204 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: int), exp(CASE WHEN (_col3 is 
null) THEN (null) ELSE (_col2) END) (type: double)
+                  expressions: _col1 (type: int), exp(_col3) (type: double)
                   outputColumnNames: _col0, _col1
                   Statistics: Num rows: 36 Data size: 432 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator
@@ -5679,16 +5723,12 @@ STAGE PLANS:
                 mode: mergepartial
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 13 Data size: 1404 Basic stats: COMPLETE 
Column stats: COMPLETE
-                Select Operator
-                  expressions: _col1 (type: int), true (type: boolean), _col0 
(type: string)
-                  outputColumnNames: _col0, _col1, _col2
-                  Statistics: Num rows: 13 Data size: 1456 Basic stats: 
COMPLETE Column stats: COMPLETE
-                  Reduce Output Operator
-                    key expressions: _col2 (type: string)
-                    sort order: +
-                    Map-reduce partition columns: _col2 (type: string)
-                    Statistics: Num rows: 13 Data size: 1456 Basic stats: 
COMPLETE Column stats: COMPLETE
-                    value expressions: _col0 (type: int), _col1 (type: boolean)
+                Reduce Output Operator
+                  key expressions: _col0 (type: string)
+                  sort order: +
+                  Map-reduce partition columns: _col0 (type: string)
+                  Statistics: Num rows: 13 Data size: 1404 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  value expressions: _col1 (type: int)
 
   Stage: Stage-0
     Fetch Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/llap/table_access_keys_stats.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/table_access_keys_stats.q.out 
b/ql/src/test/results/clientpositive/llap/table_access_keys_stats.q.out
index 1b6fdbd..27d0459 100644
--- a/ql/src/test/results/clientpositive/llap/table_access_keys_stats.q.out
+++ b/ql/src/test/results/clientpositive/llap/table_access_keys_stats.q.out
@@ -496,7 +496,7 @@ Keys:val
 13.0   1
 17.0   1
 46.0   1
-Warning: Shuffle Join MERGEJOIN[39][tables = [$hdt$_0, $hdt$_1]] in Stage 
'Reducer 2' is a cross product
+Warning: Shuffle Join MERGEJOIN[39][tables = [$hdt$_0, $hdt$_1]] in Stage 
'Reducer 4' is a cross product
 PREHOOK: query: SELECT *
 FROM
 (
@@ -519,7 +519,7 @@ PREHOOK: Input: default@t1_n13
 PREHOOK: Input: default@t2_n8
 PREHOOK: Input: default@t3_n4
 #### A masked pattern was here ####
-Operator:JOIN_11
+Operator:JOIN_8
 Table:default@t2_n8
 Keys:key
 Table:default@t1_n13

http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out 
b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
index 828d25d..6a0b71f 100644
--- a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
@@ -468,15 +468,15 @@ STAGE PLANS:
                     predicate: cint BETWEEN 1000000 AND 3000000 (type: boolean)
                     Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: NONE
                     Select Operator
-                      expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: boolean)
-                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11
+                      expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), 
cdouble (type: double), cstring1 (type: string), cstring2 (type: string), 
ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: 
boolean), cboolean2 (type: boolean), (UDFToInteger(csmallint) <> cint) (type: 
boolean)
+                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12
                       Statistics: Num rows: ###Masked### Data size: 
###Masked### Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col2 (type: int)
                         sort order: +
                         Map-reduce partition columns: _col2 (type: int)
                         Statistics: Num rows: ###Masked### Data size: 
###Masked### Basic stats: COMPLETE Column stats: NONE
-                        value expressions: _col0 (type: tinyint), _col1 (type: 
smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), 
_col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 
(type: timestamp), _col10 (type: boolean), _col11 (type: boolean)
+                        value expressions: _col0 (type: tinyint), _col1 (type: 
smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), 
_col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 
(type: timestamp), _col10 (type: boolean), _col11 (type: boolean), _col12 
(type: boolean)
             Execution mode: vectorized, llap
             LLAP IO: all inputs
         Map 4 
@@ -507,22 +507,26 @@ STAGE PLANS:
                 condition map:
                      Left Outer Join 0 to 1
                 filter predicates:
-                  0 {(UDFToInteger(VALUE._col1) <> KEY.reducesinkkey0)}
+                  0 {VALUE._col11}
                   1 
                 keys:
                   0 KEY.reducesinkkey0 (type: int)
                   1 KEY.reducesinkkey0 (type: int)
-                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
+                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col13, _col14, _col15, _col16, 
_col17, _col18, _col19, _col20, _col21, _col22, _col23, _col24
                 input vertices:
                   1 Map 4
                 Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: NONE
                 DynamicPartitionHashJoin: true
                 HybridGraceHashJoin: true
-                Reduce Output Operator
-                  key expressions: _col2 (type: int)
-                  sort order: +
+                Select Operator
+                  expressions: _col0 (type: tinyint), _col1 (type: smallint), 
_col2 (type: int), _col3 (type: bigint), _col4 (type: float), _col5 (type: 
double), _col6 (type: string), _col7 (type: string), _col8 (type: timestamp), 
_col9 (type: timestamp), _col10 (type: boolean), _col11 (type: boolean), _col13 
(type: tinyint), _col14 (type: smallint), _col15 (type: int), _col16 (type: 
bigint), _col17 (type: float), _col18 (type: double), _col19 (type: string), 
_col20 (type: string), _col21 (type: timestamp), _col22 (type: timestamp), 
_col23 (type: boolean), _col24 (type: boolean)
+                  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: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: NONE
-                  value expressions: _col0 (type: tinyint), _col1 (type: 
smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), 
_col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 
(type: timestamp), _col10 (type: boolean), _col11 (type: boolean), _col12 
(type: tinyint), _col13 (type: smallint), _col14 (type: int), _col15 (type: 
bigint), _col16 (type: float), _col17 (type: double), _col18 (type: string), 
_col19 (type: string), _col20 (type: timestamp), _col21 (type: timestamp), 
_col22 (type: boolean), _col23 (type: boolean)
+                  Reduce Output Operator
+                    key expressions: _col2 (type: int)
+                    sort order: +
+                    Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: NONE
+                    value expressions: _col0 (type: tinyint), _col1 (type: 
smallint), _col3 (type: bigint), _col4 (type: float), _col5 (type: double), 
_col6 (type: string), _col7 (type: string), _col8 (type: timestamp), _col9 
(type: timestamp), _col10 (type: boolean), _col11 (type: boolean), _col12 
(type: tinyint), _col13 (type: smallint), _col14 (type: int), _col15 (type: 
bigint), _col16 (type: float), _col17 (type: double), _col18 (type: string), 
_col19 (type: string), _col20 (type: timestamp), _col21 (type: timestamp), 
_col22 (type: boolean), _col23 (type: boolean)
         Reducer 3 
             Execution mode: vectorized, llap
             Reduce Operator Tree:

Reply via email to