http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_order_null.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_order_null.q.out 
b/ql/src/test/results/clientpositive/llap/vector_order_null.q.out
index cb4053e..d42196c 100644
--- a/ql/src/test/results/clientpositive/llap/vector_order_null.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_order_null.q.out
@@ -875,7 +875,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: za
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -923,9 +923,9 @@ x.a x.b
 1      A
 2      A
 2      B
-NULL   NULL
 2      NULL
 3      NULL
+NULL   NULL
 PREHOOK: query: EXPLAIN VECTORIZATION DETAIL
 SELECT x.* FROM src_null_n3 x ORDER BY b desc nulls last, a
 PREHOOK: type: QUERY
@@ -997,7 +997,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: za
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: -+
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1045,9 +1045,9 @@ x.a       x.b
 2      B
 1      A
 2      A
-NULL   NULL
 2      NULL
 3      NULL
+NULL   NULL
 PREHOOK: query: EXPLAIN VECTORIZATION DETAIL
 SELECT x.* FROM src_null_n3 x ORDER BY a asc nulls last, b desc
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_outer_join1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_outer_join1.q.out 
b/ql/src/test/results/clientpositive/llap/vector_outer_join1.q.out
index c74a588..e9ebb74 100644
--- a/ql/src/test/results/clientpositive/llap/vector_outer_join1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_outer_join1.q.out
@@ -120,11 +120,11 @@ POSTHOOK: query: select * from small_alltypesorc3a
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc3a
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: select * from small_alltypesorc4a
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc4a
@@ -211,11 +211,11 @@ POSTHOOK: Input: default@small_alltypesorc_a
 -64    -7196   NULL    658026952       -64.0   -7196.0 NULL    4tAur   
1969-12-31 15:59:53.866 1969-12-31 15:59:58.174 NULL    true
 -64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: explain vectorization detail
 select * 
 from small_alltypesorc_a c
@@ -248,7 +248,7 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: c
-                  Statistics: Num rows: 15 Data size: 3697 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 15 Data size: 3745 Basic stats: 
COMPLETE Column stats: COMPLETE
                   TableScan Vectorization:
                       native: true
                       vectorizationSchemaColumns: [0:ctinyint:tinyint, 
1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]
@@ -259,7 +259,7 @@ STAGE PLANS:
                         className: VectorSelectOperator
                         native: true
                         projectedOutputColumnNums: [0, 1, 2, 3, 4, 5, 6, 7, 8, 
9, 10, 11]
-                    Statistics: Num rows: 15 Data size: 3697 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 15 Data size: 3745 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Map Join Operator
                       condition map:
                            Left Outer Join 0 to 1
@@ -279,13 +279,13 @@ STAGE PLANS:
                       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
                       input vertices:
                         1 Map 2
-                      Statistics: Num rows: 28 Data size: 15376 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 28 Data size: 15472 Basic stats: 
COMPLETE Column stats: COMPLETE
                       File Output Operator
                         compressed: false
                         File Sink Vectorization:
                             className: VectorFileSinkOperator
                             native: false
-                        Statistics: Num rows: 28 Data size: 15376 Basic stats: 
COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 28 Data size: 15472 Basic stats: 
COMPLETE Column stats: COMPLETE
                         table:
                             input format: 
org.apache.hadoop.mapred.SequenceFileInputFormat
                             output format: 
org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
@@ -311,7 +311,7 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: cd
-                  Statistics: Num rows: 15 Data size: 3697 Basic stats: 
COMPLETE Column stats: COMPLETE
+                  Statistics: Num rows: 15 Data size: 3745 Basic stats: 
COMPLETE Column stats: COMPLETE
                   TableScan Vectorization:
                       native: true
                       vectorizationSchemaColumns: [0:ctinyint:tinyint, 
1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<writeid:bigint,bucketid:int,rowid:bigint>]
@@ -322,7 +322,7 @@ STAGE PLANS:
                         className: VectorSelectOperator
                         native: true
                         projectedOutputColumnNums: [0, 1, 2, 3, 4, 5, 6, 7, 8, 
9, 10, 11]
-                    Statistics: Num rows: 15 Data size: 3697 Basic stats: 
COMPLETE Column stats: COMPLETE
+                    Statistics: Num rows: 15 Data size: 3745 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
                       key expressions: _col2 (type: int)
                       sort order: +
@@ -333,7 +333,7 @@ STAGE PLANS:
                           native: true
                           nativeConditionsMet: 
hive.vectorized.execution.reducesink.new.enabled IS true, hive.execution.engine 
tez IN [tez, spark] IS true, No PTF TopN IS true, No DISTINCT columns IS true, 
BinarySortableSerDe for keys IS true, LazyBinarySerDe for values IS true
                           valueColumnNums: [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11]
-                      Statistics: Num rows: 15 Data size: 3697 Basic stats: 
COMPLETE Column stats: COMPLETE
+                      Statistics: Num rows: 15 Data size: 3745 Basic stats: 
COMPLETE Column stats: COMPLETE
                       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)
             Execution mode: vectorized, llap
             LLAP IO: all inputs
@@ -387,11 +387,11 @@ POSTHOOK: Input: default@small_alltypesorc_a
 -64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL    -64     
-8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        NULL    
1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -6907   
253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    NULL    
1969-12-31 15:59:53.66  true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -9842   
253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    1969-12-31 
16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false   NULL    
NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false   NULL    
NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false   NULL    NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false   NULL    
NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false   NULL    
NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false   NULL    
-16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false   NULL    -16307  559926362       -1645852809     NULL    
-16307.0        nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:58.072 false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false   NULL    -16309  -826497289      -1645852809     NULL    
-16309.0        54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    
1969-12-31 16:00:10.761 false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true    NULL    
-16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true    NULL    -16379  -894716315      1864027286      NULL    
-16379.0        2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    
1969-12-31 15:59:47.059 true    true
 PREHOOK: query: explain vectorization detail
 select c.ctinyint 
 from small_alltypesorc_a c

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_outer_join2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_outer_join2.q.out 
b/ql/src/test/results/clientpositive/llap/vector_outer_join2.q.out
index 2e90aae..00931ae 100644
--- a/ql/src/test/results/clientpositive/llap/vector_outer_join2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_outer_join2.q.out
@@ -94,11 +94,11 @@ POSTHOOK: query: select * from small_alltypesorc1a_n0
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc1a_n0
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+-51    NULL    -1064981602     -1444011153     -51.0   NULL    
aY3tpnr6wfvmWMG0U881    2Ol4N3Ha0815Ej54lA2N    1969-12-31 16:00:08.451 NULL    
false   false
+-51    NULL    -1065775394     -1331703092     -51.0   NULL    
aD88uS2N8DmqPlvjOa7F46i7        Ut8ka2o8iokF504065PYS   1969-12-31 16:00:08.451 
NULL    false   true
+-51    NULL    -1066684273     2034191923      -51.0   NULL    
2W4Kg220OcCy065HG60k6e  D7GOQhc3qbAR6   1969-12-31 16:00:08.451 NULL    false   
false
+-51    NULL    -1067683781     1750003656      -51.0   NULL    IbgbUvP5        
47x2I874        1969-12-31 16:00:08.451 NULL    false   true
+-51    NULL    -1071480828     -1401575336     -51.0   NULL    
aw724t8c5558x2xneC624   4uE7l74tESBiKfu7c8wM7GA 1969-12-31 16:00:08.451 NULL    
true    true
 PREHOOK: query: select * from small_alltypesorc2a_n0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc2a_n0
@@ -120,11 +120,11 @@ POSTHOOK: query: select * from small_alltypesorc3a_n0
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc3a_n0
 #### A masked pattern was here ####
-NULL   -13166  626923679       NULL    NULL    -13166.0        821UdmGbkEf4j   
NULL    1969-12-31 15:59:55.089 1969-12-31 16:00:15.69  true    NULL
-NULL   -14426  626923679       NULL    NULL    -14426.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:11.505 1969-12-31 16:00:13.309 true    NULL
-NULL   -14847  626923679       NULL    NULL    -14847.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:00.612 1969-12-31 15:59:43.704 true    NULL
-NULL   -15632  528534767       NULL    NULL    -15632.0        
cvLH6Eat2yFsyy7p        NULL    NULL    1969-12-31 15:59:53.593 true    NULL
-NULL   -15830  253665376       NULL    NULL    -15830.0        1cGVWH7n1QU     
NULL    1969-12-31 16:00:02.582 1969-12-31 16:00:00.518 true    NULL
+-64    -10462  626923679       NULL    -64.0   -10462.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:02.496 1969-12-31 16:00:00.164 true    NULL
+-64    -15920  528534767       NULL    -64.0   -15920.0        
cvLH6Eat2yFsyy7p        NULL    1969-12-31 15:59:51.859 1969-12-31 16:00:14.468 
true    NULL
+-64    -6907   253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    
NULL    1969-12-31 15:59:53.66  true    NULL
+-64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
+-64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
 PREHOOK: query: select * from small_alltypesorc4a_n0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc4a_n0
@@ -206,26 +206,26 @@ POSTHOOK: query: select * from small_alltypesorc_a_n0
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc_a_n0
 #### A masked pattern was here ####
+-51    NULL    -1064981602     -1444011153     -51.0   NULL    
aY3tpnr6wfvmWMG0U881    2Ol4N3Ha0815Ej54lA2N    1969-12-31 16:00:08.451 NULL    
false   false
+-51    NULL    -1065775394     -1331703092     -51.0   NULL    
aD88uS2N8DmqPlvjOa7F46i7        Ut8ka2o8iokF504065PYS   1969-12-31 16:00:08.451 
NULL    false   true
+-51    NULL    -1066684273     2034191923      -51.0   NULL    
2W4Kg220OcCy065HG60k6e  D7GOQhc3qbAR6   1969-12-31 16:00:08.451 NULL    false   
false
+-51    NULL    -1067683781     1750003656      -51.0   NULL    IbgbUvP5        
47x2I874        1969-12-31 16:00:08.451 NULL    false   true
+-51    NULL    -1071480828     -1401575336     -51.0   NULL    
aw724t8c5558x2xneC624   4uE7l74tESBiKfu7c8wM7GA 1969-12-31 16:00:08.451 NULL    
true    true
 -60    -200    NULL    NULL    -60.0   -200.0  NULL    NULL    1969-12-31 
16:00:11.996 1969-12-31 15:59:55.451 NULL    NULL
 -61    -7196   NULL    NULL    -61.0   -7196.0 NULL    8Mlns2Tl6E0g    
1969-12-31 15:59:44.823 1969-12-31 15:59:58.174 NULL    false
 -61    -7196   NULL    NULL    -61.0   -7196.0 NULL    fUJIN   1969-12-31 
16:00:11.842 1969-12-31 15:59:58.174 NULL    false
 -62    -7196   NULL    NULL    -62.0   -7196.0 NULL    jf1Cw6qhkNToQuud        
1969-12-31 16:00:12.388 1969-12-31 15:59:58.174 NULL    false
 -62    -7196   NULL    NULL    -62.0   -7196.0 NULL    yLiOchx5PfDTFdcMduBTg   
1969-12-31 16:00:02.373 1969-12-31 15:59:58.174 NULL    false
+-64    -10462  626923679       NULL    -64.0   -10462.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:02.496 1969-12-31 16:00:00.164 true    NULL
+-64    -15920  528534767       NULL    -64.0   -15920.0        
cvLH6Eat2yFsyy7p        NULL    1969-12-31 15:59:51.859 1969-12-31 16:00:14.468 
true    NULL
+-64    -6907   253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    
NULL    1969-12-31 15:59:53.66  true    NULL
 -64    -7196   NULL    -1615920595     -64.0   -7196.0 NULL    X5rDjl  
1969-12-31 16:00:11.912 1969-12-31 15:59:58.174 NULL    false
 -64    -7196   NULL    -1639157869     -64.0   -7196.0 NULL    
IJ0Oj7qAiqNGsN7gn       1969-12-31 16:00:01.785 1969-12-31 15:59:58.174 NULL    
false
 -64    -7196   NULL    -527203677      -64.0   -7196.0 NULL    
JBE4H5RoK412Cs260I72    1969-12-31 15:59:50.184 1969-12-31 15:59:58.174 NULL    
true
 -64    -7196   NULL    406535485       -64.0   -7196.0 NULL    E011i   
1969-12-31 15:59:56.048 1969-12-31 15:59:58.174 NULL    false
 -64    -7196   NULL    658026952       -64.0   -7196.0 NULL    4tAur   
1969-12-31 15:59:53.866 1969-12-31 15:59:58.174 NULL    true
-NULL   -13166  626923679       NULL    NULL    -13166.0        821UdmGbkEf4j   
NULL    1969-12-31 15:59:55.089 1969-12-31 16:00:15.69  true    NULL
-NULL   -14426  626923679       NULL    NULL    -14426.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:11.505 1969-12-31 16:00:13.309 true    NULL
-NULL   -14847  626923679       NULL    NULL    -14847.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:00.612 1969-12-31 15:59:43.704 true    NULL
-NULL   -15632  528534767       NULL    NULL    -15632.0        
cvLH6Eat2yFsyy7p        NULL    NULL    1969-12-31 15:59:53.593 true    NULL
-NULL   -15830  253665376       NULL    NULL    -15830.0        1cGVWH7n1QU     
NULL    1969-12-31 16:00:02.582 1969-12-31 16:00:00.518 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+-64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
+-64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
 PREHOOK: query: explain vectorization detail
 select count(*), sum(t1.c_cbigint) from (select c.cbigint as c_cbigint
 from small_alltypesorc_a_n0 c
@@ -312,7 +312,7 @@ STAGE PLANS:
                         outputColumnNames: _col1
                         input vertices:
                           1 Map 4
-                        Statistics: Num rows: 142 Data size: 1064 Basic stats: 
COMPLETE Column stats: COMPLETE
+                        Statistics: Num rows: 100 Data size: 728 Basic stats: 
COMPLETE Column stats: COMPLETE
                         Group By Operator
                           aggregations: count(), sum(_col1)
                           Group By Vectorization:
@@ -505,4 +505,4 @@ left outer join small_alltypesorc_a_n0 hd
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc_a_n0
 #### A masked pattern was here ####
-34     -26289186744
+24     -3110813706

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_outer_join3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_outer_join3.q.out 
b/ql/src/test/results/clientpositive/llap/vector_outer_join3.q.out
index af69747..a975d8a 100644
--- a/ql/src/test/results/clientpositive/llap/vector_outer_join3.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_outer_join3.q.out
@@ -94,11 +94,11 @@ POSTHOOK: query: select * from small_alltypesorc1a_n1
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc1a_n1
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+-64    -10462  626923679       NULL    -64.0   -10462.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:02.496 1969-12-31 16:00:00.164 true    NULL
+-64    -15920  528534767       NULL    -64.0   -15920.0        
cvLH6Eat2yFsyy7p        NULL    1969-12-31 15:59:51.859 1969-12-31 16:00:14.468 
true    NULL
+-64    -6907   253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    
NULL    1969-12-31 15:59:53.66  true    NULL
+-64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
+-64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
 PREHOOK: query: select * from small_alltypesorc2a_n1
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc2a_n1
@@ -216,16 +216,16 @@ POSTHOOK: Input: default@small_alltypesorc_a_n1
 -51    NULL    NULL    -1874052220     -51.0   NULL    c61B47I604gymFJ sjWQS78 
1969-12-31 16:00:08.451 NULL    false   false
 -51    NULL    NULL    -1927203921     -51.0   NULL    45ja5suO        42S0I0  
1969-12-31 16:00:08.451 NULL    true    true
 -51    NULL    NULL    -1970551565     -51.0   NULL    r2uhJH3 loXMWyrHjVeK    
1969-12-31 16:00:08.451 NULL    false   false
+-64    -10462  626923679       NULL    -64.0   -10462.0        821UdmGbkEf4j   
NULL    1969-12-31 16:00:02.496 1969-12-31 16:00:00.164 true    NULL
+-64    -15920  528534767       NULL    -64.0   -15920.0        
cvLH6Eat2yFsyy7p        NULL    1969-12-31 15:59:51.859 1969-12-31 16:00:14.468 
true    NULL
+-64    -6907   253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    
NULL    1969-12-31 15:59:53.66  true    NULL
 -64    -7196   NULL    -1615920595     -64.0   -7196.0 NULL    X5rDjl  
1969-12-31 16:00:11.912 1969-12-31 15:59:58.174 NULL    false
 -64    -7196   NULL    -1639157869     -64.0   -7196.0 NULL    
IJ0Oj7qAiqNGsN7gn       1969-12-31 16:00:01.785 1969-12-31 15:59:58.174 NULL    
false
 -64    -7196   NULL    -527203677      -64.0   -7196.0 NULL    
JBE4H5RoK412Cs260I72    1969-12-31 15:59:50.184 1969-12-31 15:59:58.174 NULL    
true
 -64    -7196   NULL    406535485       -64.0   -7196.0 NULL    E011i   
1969-12-31 15:59:56.048 1969-12-31 15:59:58.174 NULL    false
 -64    -7196   NULL    658026952       -64.0   -7196.0 NULL    4tAur   
1969-12-31 15:59:53.866 1969-12-31 15:59:58.174 NULL    true
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+-64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
+-64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
 PREHOOK: query: explain vectorization detail formatted
 select count(*) from (select c.cstring1 
 from small_alltypesorc_a_n1 c
@@ -265,7 +265,7 @@ left outer join small_alltypesorc_a_n1 hd
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc_a_n1
 #### A masked pattern was here ####
-20
+32
 PREHOOK: query: explain vectorization detail formatted
 select count(*) from (select c.cstring1 
 from small_alltypesorc_a_n1 c
@@ -305,7 +305,7 @@ left outer join small_alltypesorc_a_n1 hd
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc_a_n1
 #### A masked pattern was here ####
-28
+24
 PREHOOK: query: explain vectorization detail formatted
 select count(*) from (select c.cstring1 
 from small_alltypesorc_a_n1 c
@@ -345,4 +345,4 @@ left outer join small_alltypesorc_a_n1 hd
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc_a_n1
 #### A masked pattern was here ####
-28
+24

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_outer_join4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_outer_join4.q.out 
b/ql/src/test/results/clientpositive/llap/vector_outer_join4.q.out
index 8b2d989..88e4593 100644
--- a/ql/src/test/results/clientpositive/llap/vector_outer_join4.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_outer_join4.q.out
@@ -130,16 +130,16 @@ POSTHOOK: query: select * from small_alltypesorc3b
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@small_alltypesorc3b
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: select * from small_alltypesorc4b
 PREHOOK: type: QUERY
 PREHOOK: Input: default@small_alltypesorc4b
@@ -236,16 +236,16 @@ POSTHOOK: Input: default@small_alltypesorc_b
 -64    -7196   NULL    658026952       -64.0   -7196.0 NULL    4tAur   
1969-12-31 15:59:53.866 1969-12-31 15:59:58.174 NULL    true
 -64    -8080   528534767       NULL    -64.0   -8080.0 cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:58.044 1969-12-31 15:59:48.655 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true
 PREHOOK: query: explain vectorization detail formatted
 select * 
 from small_alltypesorc_b c
@@ -317,16 +317,16 @@ POSTHOOK: Input: default@small_alltypesorc_b
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -3097   
253665376       NULL    -64.0   -3097.0 1cGVWH7n1QU     NULL    1969-12-31 
16:00:00.013 1969-12-31 16:00:06.097 true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -6907   
253665376       NULL    -64.0   -6907.0 1cGVWH7n1QU     NULL    NULL    
1969-12-31 15:59:53.66  true    NULL
 -64    -9842   253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    
1969-12-31 16:00:00.631 1969-12-31 16:00:01.781 true    NULL    -64     -9842   
253665376       NULL    -64.0   -9842.0 1cGVWH7n1QU     NULL    1969-12-31 
16:00:00.631 1969-12-31 16:00:01.781 true    NULL
-NULL   NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false   NULL    
NULL    -1015272448     -1887561756     NULL    NULL    jTQ68531mP      
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:45.854 false   false
-NULL   NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false   NULL    
NULL    -609074876      -1887561756     NULL    NULL    EcM71   
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:55.061 true    false
-NULL   NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false   NULL    
NULL    -700300206      -1887561756     NULL    NULL    kdqQE010        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:58.384 false   false
-NULL   NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true    NULL    NULL    -726473298      1864027286      NULL    NULL    
OFy1a1xf37f75b5N        4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:11.799 
true    true
-NULL   NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false   NULL    NULL    -738747840      -1645852809     NULL    NULL    
vmAT10eeE47fgH20pLi     xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.55  
true    false
-NULL   NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true    NULL    
NULL    -838810013      1864027286      NULL    NULL    N016jPED08o     
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:44.252 false   true
-NULL   NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false   NULL    
NULL    -850295959      -1887561756     NULL    NULL    WMIgGA73        
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:00.348 false   false
-NULL   NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false   NULL    NULL    -886426182      -1887561756     NULL    NULL    
0i88xYq3gx1nW4vKjp7vBp3 4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:04.472 
true    false
-NULL   NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false   NULL    
NULL    -899422227      -1645852809     NULL    NULL    73xdw4X 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:07.395 false   false
-NULL   NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false   NULL    
NULL    -971543377      -1645852809     NULL    NULL    uN803aW 
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.43  false   false
+NULL   -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false   NULL    -16269  -378213344      -1645852809     NULL    -16269.0        
sOdj1Tmvbl03f   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:15.867 false   
false
+NULL   -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false   NULL    -16274  -671342269      -1645852809     NULL    -16274.0        
3DE7EQo4KyT0hS  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:51.469 false   
false
+NULL   -16296  -146635689      -1645852809     NULL    -16296.0        
r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:44.809 
false   false   NULL    -16296  -146635689      -1645852809     NULL    
-16296.0        r251rbt884txX2MNq4MM14  xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:44.809 false   false
+NULL   -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false   NULL    -16296  593429004       -1887561756     NULL    -16296.0        
dhDYJ076SFcC    4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:47.422 false   
false
+NULL   -16300  -860437234      -1645852809     NULL    -16300.0        
Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:45.815 
true    false   NULL    -16300  -860437234      -1645852809     NULL    
-16300.0        Fb2W1r24opqN8m6571p     xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:45.815 true    false
+NULL   -16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false   NULL    
-16306  384405526       -1645852809     NULL    -16306.0        b5SoK8  
xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:11.105 true    false
+NULL   -16307  559926362       -1645852809     NULL    -16307.0        
nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    1969-12-31 15:59:58.072 
false   false   NULL    -16307  559926362       -1645852809     NULL    
-16307.0        nA8bdtWfPPQyP2hL5       xH7445Rals48VOulSyR5F   NULL    
1969-12-31 15:59:58.072 false   false
+NULL   -16309  -826497289      -1645852809     NULL    -16309.0        
54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:10.761 
false   false   NULL    -16309  -826497289      -1645852809     NULL    
-16309.0        54o058c3mK6ewOQ5        xH7445Rals48VOulSyR5F   NULL    
1969-12-31 16:00:10.761 false   false
+NULL   -16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true    NULL    
-16310  206154150       1864027286      NULL    -16310.0        5Hy1y6  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 16:00:00.821 false   true
+NULL   -16379  -894716315      1864027286      NULL    -16379.0        
2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:47.059 
true    true    NULL    -16379  -894716315      1864027286      NULL    
-16379.0        2ArdYqML3654nUjGJk3     4KWs6gw7lv2WYd66P       NULL    
1969-12-31 15:59:47.059 true    true
 PREHOOK: query: explain vectorization detail formatted
 select c.ctinyint 
 from small_alltypesorc_b c

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_outer_reference_windowed.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_outer_reference_windowed.q.out 
b/ql/src/test/results/clientpositive/llap/vector_outer_reference_windowed.q.out
index 2b0a1e7..769e514 100644
--- 
a/ql/src/test/results/clientpositive/llap/vector_outer_reference_windowed.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/vector_outer_reference_windowed.q.out
@@ -588,7 +588,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -616,7 +616,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -891,7 +891,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -919,7 +919,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -1198,7 +1198,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1226,7 +1226,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -1480,7 +1480,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -1880,7 +1880,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1908,7 +1908,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -2183,7 +2183,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -2211,7 +2211,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -2490,7 +2490,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -2518,7 +2518,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col0 ASC NULLS FIRST
+                        order by: _col0 ASC NULLS LAST
                         partition by: _col1
                         raw input shape:
                         window functions:
@@ -2772,7 +2772,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_ptf_part_simple.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_ptf_part_simple.q.out 
b/ql/src/test/results/clientpositive/llap/vector_ptf_part_simple.q.out
index e16f843..1dd8765 100644
--- a/ql/src/test/results/clientpositive/llap/vector_ptf_part_simple.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_ptf_part_simple.q.out
@@ -889,7 +889,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -917,7 +917,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -1167,7 +1167,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -1397,7 +1397,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -1612,7 +1612,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1640,7 +1640,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -1891,7 +1891,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -2122,7 +2122,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -2983,7 +2983,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -3011,7 +3011,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -3213,7 +3213,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -3241,7 +3241,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -3459,7 +3459,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -3642,7 +3642,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -3670,7 +3670,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -3873,7 +3873,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -3901,7 +3901,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -4120,7 +4120,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: 0
                         raw input shape:
                         window functions:
@@ -4572,7 +4572,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -4600,7 +4600,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -5050,7 +5050,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -5078,7 +5078,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -5473,7 +5473,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -5501,7 +5501,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -5844,7 +5844,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aaa
+                reduceColumnNullOrder: aaz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -5872,7 +5872,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0, CASE WHEN ((_col0 = 
'Manufacturer#2')) THEN (TIMESTAMP'2000-01-01 00:00:00') ELSE (CAST( null AS 
TIMESTAMP)) END
                         raw input shape:
                         window functions:
@@ -6374,7 +6374,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: az
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -6402,7 +6402,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0
                         raw input shape:
                         window functions:
@@ -6576,7 +6576,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: aaa
+                reduceColumnNullOrder: aaz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -6604,7 +6604,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         partition by: _col0, CASE WHEN ((_col0 = 
'Manufacturer#2')) THEN (TIMESTAMP'2000-01-01 00:00:00') ELSE (CAST( null AS 
TIMESTAMP)) END
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out 
b/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
index c6b3dcc..1e12fc0 100644
--- a/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_string_concat.q.out
@@ -480,7 +480,6 @@ POSTHOOK: query: SELECT CONCAT(CONCAT(CONCAT('Quarter 
',CAST(CAST((MONTH(dt) - 1
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vectortab2korc_n0
 #### A masked pattern was here ####
-NULL
 Quarter 1-1970
 Quarter 1-1971
 Quarter 1-1972
@@ -530,3 +529,4 @@ Quarter 1-2015
 Quarter 1-2016
 Quarter 1-2017
 Quarter 1-2018
+Quarter 1-2019

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_topnkey.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_topnkey.q.out 
b/ql/src/test/results/clientpositive/llap/vector_topnkey.q.out
index 16803c9..3df3495 100644
--- a/ql/src/test/results/clientpositive/llap/vector_topnkey.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_topnkey.q.out
@@ -96,7 +96,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -138,7 +138,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -287,7 +287,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -326,7 +326,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -535,7 +535,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine tez IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false

Reply via email to