http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/constprog_semijoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/constprog_semijoin.q.out 
b/ql/src/test/results/clientpositive/spark/constprog_semijoin.q.out
index e1e36c0..9b0baaa 100644
--- a/ql/src/test/results/clientpositive/spark/constprog_semijoin.q.out
+++ b/ql/src/test/results/clientpositive/spark/constprog_semijoin.q.out
@@ -65,7 +65,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -142,12 +142,12 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id where 
table1_n10.val = 't1val01'
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 val101
 3      t1val01 val104
 3      t1val01 val106
@@ -163,8 +163,8 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 4 (PARTITION-LEVEL 
SORT, 2)
-        Reducer 3 <- Map 5 (PARTITION-LEVEL SORT, 2), Reducer 2 
(PARTITION-LEVEL SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 4 (PARTITION-LEVEL 
SORT, 4)
+        Reducer 3 <- Map 5 (PARTITION-LEVEL SORT, 4), Reducer 2 
(PARTITION-LEVEL SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -277,13 +277,13 @@ PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table2_n6
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table2_n6.val2 from 
table1_n10 inner join table2_n6 on table1_n10.val = 't1val01' and table1_n10.id 
= table2_n6.id left semi join table3_n0 on table1_n10.dimid = table3_n0.id
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table2_n6
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 t2val201
 3      t1val01 t2val203
 3      t1val01 t2val203
@@ -299,8 +299,8 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 4 (PARTITION-LEVEL 
SORT, 2)
-        Reducer 3 <- Map 5 (PARTITION-LEVEL SORT, 2), Reducer 2 
(PARTITION-LEVEL SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 4 (PARTITION-LEVEL 
SORT, 4)
+        Reducer 3 <- Map 5 (PARTITION-LEVEL SORT, 4), Reducer 2 
(PARTITION-LEVEL SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -412,13 +412,13 @@ PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table2_n6
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table2_n6.val2 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id inner 
join table2_n6 on table1_n10.val = 't1val01' and table1_n10.id = table2_n6.id
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table2_n6
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 t2val201
 3      t1val01 t2val203
 3      t1val01 t2val203
@@ -434,7 +434,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -509,12 +509,12 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid <> 100
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 PREHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  IN (100,200)
 PREHOOK: type: QUERY
 POSTHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  IN (100,200)
@@ -527,7 +527,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -600,12 +600,12 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  IN (100,200)
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 val101
 3      t1val01 val104
 PREHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  = 200
@@ -620,7 +620,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -695,12 +695,12 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  = 200
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 PREHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  = 100
 PREHOOK: type: QUERY
 POSTHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  = 100
@@ -713,7 +713,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -786,12 +786,12 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100 where table1_n10.dimid  = 100
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 val101
 3      t1val01 val104
 PREHOOK: query: explain select table1_n10.id, table1_n10.val, table1_n10.val1 
from table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100
@@ -806,7 +806,7 @@ STAGE PLANS:
   Stage: Stage-1
     Spark
       Edges:
-        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 2), Map 3 (PARTITION-LEVEL 
SORT, 2)
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 4), Map 3 (PARTITION-LEVEL 
SORT, 4)
 #### A masked pattern was here ####
       Vertices:
         Map 1 
@@ -879,11 +879,11 @@ PREHOOK: query: select table1_n10.id, table1_n10.val, 
table1_n10.val1 from table
 PREHOOK: type: QUERY
 PREHOOK: Input: default@table1_n10
 PREHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+PREHOOK: Output: hdfs://### HDFS PATH ###
 POSTHOOK: query: select table1_n10.id, table1_n10.val, table1_n10.val1 from 
table1_n10 left semi join table3_n0 on table1_n10.dimid = table3_n0.id and 
table3_n0.id = 100
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@table1_n10
 POSTHOOK: Input: default@table3_n0
-#### A masked pattern was here ####
+POSTHOOK: Output: hdfs://### HDFS PATH ###
 1      t1val01 val101
 3      t1val01 val104

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/groupby_resolution.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/groupby_resolution.q.out 
b/ql/src/test/results/clientpositive/spark/groupby_resolution.q.out
index 8f2a79a..c2006db 100644
--- a/ql/src/test/results/clientpositive/spark/groupby_resolution.q.out
+++ b/ql/src/test/results/clientpositive/spark/groupby_resolution.q.out
@@ -693,7 +693,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:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/limit_pushdown.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/limit_pushdown.q.out 
b/ql/src/test/results/clientpositive/spark/limit_pushdown.q.out
index 2087587..fea2866 100644
--- a/ql/src/test/results/clientpositive/spark/limit_pushdown.q.out
+++ b/ql/src/test/results/clientpositive/spark/limit_pushdown.q.out
@@ -431,6 +431,7 @@ POSTHOOK: query: select distinct(cdouble) as dis from 
alltypesorc order by dis l
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-16243.0
 -16269.0
 -16274.0
 -16277.0
@@ -450,7 +451,6 @@ POSTHOOK: Input: default@alltypesorc
 -16372.0
 -16373.0
 -16379.0
-NULL
 PREHOOK: query: explain
 select ctinyint, count(distinct(cdouble)) from alltypesorc group by ctinyint 
order by ctinyint limit 20
 PREHOOK: type: QUERY
@@ -527,6 +527,7 @@ POSTHOOK: query: select ctinyint, count(distinct(cdouble)) 
from alltypesorc grou
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45    24
 -46    24
 -47    22
 -48    29
@@ -546,7 +547,6 @@ POSTHOOK: Input: default@alltypesorc
 -62    27
 -63    19
 -64    24
-NULL   2932
 PREHOOK: query: explain 
 select ctinyint, count(cdouble) from (select ctinyint, cdouble from 
alltypesorc group by ctinyint, cdouble) t1 group by ctinyint order by ctinyint 
limit 20
 PREHOOK: type: QUERY
@@ -623,6 +623,7 @@ POSTHOOK: query: select ctinyint, count(cdouble) from 
(select ctinyint, cdouble
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45    24
 -46    24
 -47    22
 -48    29
@@ -642,7 +643,6 @@ POSTHOOK: Input: default@alltypesorc
 -62    27
 -63    19
 -64    24
-NULL   2932
 PREHOOK: query: explain
 select ctinyint, count(distinct(cstring1)), count(distinct(cstring2)) from 
alltypesorc group by ctinyint order by ctinyint limit 20
 PREHOOK: type: QUERY
@@ -714,6 +714,7 @@ POSTHOOK: query: select ctinyint, 
count(distinct(cstring1)), count(distinct(cstr
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
+-45    3       24
 -46    3       19
 -47    3       23
 -48    3       27
@@ -733,7 +734,6 @@ POSTHOOK: Input: default@alltypesorc
 -62    3       23
 -63    3       16
 -64    3       13
-NULL   3065    3
 PREHOOK: query: explain
 select key,value from src order by key limit 0
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out 
b/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
index a05c114..8e3aafb 100644
--- a/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
+++ b/ql/src/test/results/clientpositive/spark/limit_pushdown2.q.out
@@ -1170,23 +1170,23 @@ order by key, value limit 20
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@src
 #### A masked pattern was here ####
-NULL   NULL    261.182
-NULL   val_0   1.0
-NULL   val_10  11.0
-NULL   val_100 101.0
-NULL   val_103 104.0
-NULL   val_104 105.0
-NULL   val_105 106.0
-NULL   val_11  12.0
-NULL   val_111 112.0
-NULL   val_113 114.0
-NULL   val_114 115.0
-NULL   val_116 117.0
-NULL   val_118 119.0
-NULL   val_119 120.0
-NULL   val_12  13.0
-NULL   val_120 121.0
-NULL   val_125 126.0
-NULL   val_126 127.0
-NULL   val_128 129.0
-NULL   val_129 130.0
+0      val_0   1.0
+10     val_10  11.0
+100    val_100 101.0
+103    val_103 104.0
+104    val_104 105.0
+105    val_105 106.0
+11     val_11  12.0
+111    val_111 112.0
+113    val_113 114.0
+114    val_114 115.0
+116    val_116 117.0
+118    val_118 119.0
+119    val_119 120.0
+12     val_12  13.0
+120    val_120 121.0
+125    val_125 126.0
+126    val_126 127.0
+128    val_128 129.0
+129    val_129 130.0
+131    val_131 132.0

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_0.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_0.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_0.q.out
index a9090b7..0a7ef69 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_0.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_0.q.out
@@ -128,7 +128,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -306,7 +306,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -634,7 +634,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -812,7 +812,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1140,7 +1140,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -1318,7 +1318,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -31043,7 +31043,7 @@ STAGE PLANS:
                   Statistics: Num rows: 3072 Data size: 36864 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col1 (type: string)
-                    null sort order: a
+                    null sort order: z
                     sort order: +
                     Statistics: Num rows: 3072 Data size: 36864 Basic stats: 
COMPLETE Column stats: NONE
                     tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_12.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_12.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_12.q.out
index fd2947d..d7d1a9b 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_12.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_12.q.out
@@ -199,7 +199,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aaa
+                reduceColumnNullOrder: zzz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_13.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_13.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_13.q.out
index 15eb73b..6dcbb5e 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_13.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_13.q.out
@@ -201,7 +201,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aaaaaaaaaaaaaaaaaaaaa
+                reduceColumnNullOrder: zzzzzzzzzzzzzzzzzzzzz
                 reduceColumnSortOrder: +++++++++++++++++++++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -311,46 +311,46 @@ LIMIT 40
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
-NULL   -55     1969-12-31 16:00:11.38  -55.0   NULL    55      -55     0       
-55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 -55.0   
0.47781818181818186     -55.0   0.0     -55
-NULL   -55     1969-12-31 16:00:11.751 -55.0   NULL    55      -55     0       
-55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 -55.0   
0.47781818181818186     -55.0   0.0     -55
-NULL   -56     1969-12-31 16:00:13.602 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -56     1969-12-31 16:00:13.958 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -56     1969-12-31 16:00:15.038 -56.0   NULL    56      -56     0       
-56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 -56.0   
0.4692857142857143      -56.0   0.0     -56
-NULL   -57     1969-12-31 16:00:11.451 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:11.883 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:12.626 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:13.578 -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -57     1969-12-31 16:00:15.39  -57.0   NULL    57      -57     0       
-57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 -57.0   
0.4610526315789474      -57.0   0.0     -57
-NULL   -58     1969-12-31 16:00:12.065 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:12.683 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:12.948 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:14.066 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -58     1969-12-31 16:00:15.658 -58.0   NULL    58      -58     0       
-58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     -10.175 -58.0   
0.4531034482758621      -58.0   0.0     -58
-NULL   -59     1969-12-31 16:00:12.008 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:13.15  -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:13.625 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:15.296 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -59     1969-12-31 16:00:15.861 -59.0   NULL    59      -59     0       
-59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 -59.0   
0.44542372881355935     -59.0   0.0     -59
-NULL   -60     1969-12-31 16:00:11.504 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:11.641 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:11.996 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -60     1969-12-31 16:00:12.779 -60.0   NULL    60      -60     0       
-60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 -60.0   
0.438   -60.0   0.0     -60
-NULL   -61     1969-12-31 16:00:11.842 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:12.454 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:14.192 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:16.558 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -62     1969-12-31 16:00:12.388 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.591 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.154 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.247 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.517 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.965 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -63     1969-12-31 16:00:11.946 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:12.188 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:15.436 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -64     1969-12-31 16:00:11.912 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:12.339 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:13.274 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
+true   -55     1969-12-31 16:00:12.297 -55.0   1cGVWH7n1QU     55      -55     
0       -55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 
-55.0   0.47781818181818186     -55.0   0.0     -55
+true   -55     1969-12-31 16:00:13.15  -55.0   1cGVWH7n1QU     55      -55     
0       -55.0   -0.0    55.0    -4375.415       0.0     55.0    0.0     -10.175 
-55.0   0.47781818181818186     -55.0   0.0     -55
+true   -56     1969-12-31 16:00:11.242 -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:13.534 -56.0   1cGVWH7n1QU     56      -56     
0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 
-56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:14.038 -56.0   1cGVWH7n1QU     56      -56     
0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     -10.175 
-56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:14.689 -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -56     1969-12-31 16:00:16.37  -56.0   cvLH6Eat2yFsyy7p        56      
-56     0       -56.0   -0.0    56.0    -4454.9683      0.0     56.0    0.0     
-10.175 -56.0   0.4692857142857143      -56.0   0.0     -56
+true   -57     1969-12-31 16:00:11.534 -57.0   cvLH6Eat2yFsyy7p        57      
-57     0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     
-10.175 -57.0   0.4610526315789474      -57.0   0.0     -57
+true   -57     1969-12-31 16:00:13.365 -57.0   1cGVWH7n1QU     57      -57     
0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 
-57.0   0.4610526315789474      -57.0   0.0     -57
+true   -57     1969-12-31 16:00:14.225 -57.0   821UdmGbkEf4j   57      -57     
0       -57.0   -0.0    57.0    -4534.521       0.0     57.0    0.0     -10.175 
-57.0   0.4610526315789474      -57.0   0.0     -57
+true   -58     1969-12-31 16:00:12.918 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -58     1969-12-31 16:00:13.209 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -58     1969-12-31 16:00:14.933 -58.0   cvLH6Eat2yFsyy7p        58      
-58     0       -58.0   -0.0    58.0    -4614.074       0.0     58.0    0.0     
-10.175 -58.0   0.4531034482758621      -58.0   0.0     -58
+true   -59     1969-12-31 16:00:11.065 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.109 -59.0   1cGVWH7n1QU     59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.231 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:11.758 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:12.227 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:15.242 -59.0   821UdmGbkEf4j   59      -59     
0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     -10.175 
-59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:15.278 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:16.069 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -59     1969-12-31 16:00:16.125 -59.0   cvLH6Eat2yFsyy7p        59      
-59     0       -59.0   -0.0    59.0    -4693.627       0.0     59.0    0.0     
-10.175 -59.0   0.44542372881355935     -59.0   0.0     -59
+true   -60     1969-12-31 16:00:11.849 -60.0   1cGVWH7n1QU     60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:12.223 -60.0   1cGVWH7n1QU     60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:12.291 -60.0   821UdmGbkEf4j   60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:13.567 -60.0   821UdmGbkEf4j   60      -60     
0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     -10.175 
-60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:15.188 -60.0   cvLH6Eat2yFsyy7p        60      
-60     0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     
-10.175 -60.0   0.438   -60.0   0.0     -60
+true   -60     1969-12-31 16:00:16.165 -60.0   cvLH6Eat2yFsyy7p        60      
-60     0       -60.0   -0.0    60.0    -4773.18        0.0     60.0    0.0     
-10.175 -60.0   0.438   -60.0   0.0     -60
+true   -61     1969-12-31 16:00:12.045 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.75  -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:15.325 -61.0   821UdmGbkEf4j   61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:15.694 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -62     1969-12-31 16:00:13.677 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:14.872 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:15.153 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -63     1969-12-31 16:00:13.752 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:14.899 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:15.827 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -64     1969-12-31 16:00:11.952 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:12.857 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
 PREHOOK: query: EXPLAIN VECTORIZATION EXPRESSION
 SELECT   cboolean1,
          ctinyint,
@@ -639,43 +639,43 @@ LIMIT 40
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
-NULL   -61     1969-12-31 16:00:00.142 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:02.698 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:03.049 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:04.165 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -61     1969-12-31 16:00:04.977 -61.0   NULL    61      -61     0       
-61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 -61.0   
0.4308196721311476      -61.0   0.0     -61
-NULL   -62     1969-12-31 16:00:00.037 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.22  -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.515 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:01.734 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:02.373 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:03.85  -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:08.198 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:09.025 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:09.889 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.069 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.225 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:10.485 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.388 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:12.591 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.154 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.247 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.517 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -62     1969-12-31 16:00:14.965 -62.0   NULL    62      -62     0       
-62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 -62.0   
0.4238709677419355      -62.0   0.0     -62
-NULL   -63     1969-12-31 16:00:01.843 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:03.552 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:06.852 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:07.375 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:10.205 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:11.946 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:12.188 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -63     1969-12-31 16:00:15.436 -63.0   NULL    63      -63     0       
-63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 -63.0   
0.41714285714285715     -63.0   0.0     -63
-NULL   -64     1969-12-31 16:00:00.199 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:00.29  -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:01.785 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:03.944 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:05.997 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:10.858 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:11.912 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:12.339 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
-NULL   -64     1969-12-31 16:00:13.274 -64.0   NULL    64      -64     0       
-64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 -64.0   
0.410625        -64.0   0.0     -64
+true   -61     1969-12-31 16:00:00.554 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:02.339 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:02.497 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:03.742 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:07.538 -61.0   821UdmGbkEf4j   61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:09.809 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:10.713 -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.045 -61.0   1cGVWH7n1QU     61      -61     
0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     -10.175 
-61.0   0.4308196721311476      -61.0   0.0     -61
+true   -61     1969-12-31 16:00:12.75  -61.0   cvLH6Eat2yFsyy7p        61      
-61     0       -61.0   -0.0    61.0    -4852.733       0.0     61.0    0.0     
-10.175 -61.0   0.4308196721311476      -61.0   0.0     -61
+true   -62     1969-12-31 16:00:00.337 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:00.659 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:00.684 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:01.419 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:02.123 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:02.922 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:04.978 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.756 -62.0   1cGVWH7n1QU     62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.847 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:07.903 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:13.677 -62.0   cvLH6Eat2yFsyy7p        62      
-62     0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     
-10.175 -62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:14.872 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -62     1969-12-31 16:00:15.153 -62.0   821UdmGbkEf4j   62      -62     
0       -62.0   -0.0    62.0    -4932.286       0.0     62.0    0.0     -10.175 
-62.0   0.4238709677419355      -62.0   0.0     -62
+true   -63     1969-12-31 16:00:05.654 -63.0   821UdmGbkEf4j   63      -63     
0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 
-63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:07.623 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:09.14  -63.0   821UdmGbkEf4j   63      -63     
0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     -10.175 
-63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:13.752 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:14.899 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -63     1969-12-31 16:00:15.827 -63.0   cvLH6Eat2yFsyy7p        63      
-63     0       -63.0   -0.0    63.0    -5011.839       0.0     63.0    0.0     
-10.175 -63.0   0.41714285714285715     -63.0   0.0     -63
+true   -64     1969-12-31 15:59:58.959 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.013 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.172 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:00.631 -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:01.305 -64.0   cvLH6Eat2yFsyy7p        64      
-64     0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     
-10.175 -64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:01.79  -64.0   1cGVWH7n1QU     64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:02.496 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:03.088 -64.0   cvLH6Eat2yFsyy7p        64      
-64     0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     
-10.175 -64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:04.662 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:10.273 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:11.952 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64
+true   -64     1969-12-31 16:00:12.857 -64.0   821UdmGbkEf4j   64      -64     
0       -64.0   -0.0    64.0    -5091.392       0.0     64.0    0.0     -10.175 
-64.0   0.410625        -64.0   0.0     -64

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_14.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_14.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_14.q.out
index 03afcc1..e5e140d 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_14.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_14.q.out
@@ -201,7 +201,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aaaa
+                reduceColumnNullOrder: zzzz
                 reduceColumnSortOrder: ++++
                 allNative: false
                 usesVectorUDFAdaptor: false

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
index 9e9f4df..5097f39 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
@@ -117,7 +117,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_7.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_7.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_7.q.out
index 7a41e77..ea298f6 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_7.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_7.q.out
@@ -123,7 +123,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aaaaaaaaaaaaaaa
+                reduceColumnNullOrder: zzzzzzzzzzzzzzz
                 reduceColumnSortOrder: +++++++++++++++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -221,31 +221,31 @@ LIMIT 25
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
-NULL   -2118149242     -7196   56      1969-12-31 15:59:50.462 NULL    
-4236298484     0       7196    -56     -39     -15242201945432 NULL    -56     0
-NULL   -2121399625     -7196   27      1969-12-31 15:59:50.046 NULL    
-4242799250     0       7196    -27     -10     -15265591701500 NULL    -27     0
-NULL   -2124802690     -7196   -6      1969-12-31 15:59:57.92  NULL    
-4249605380     0       7196    6       23      -15290080157240 NULL    6       0
-NULL   -2128720310     -7196   -52     1969-12-31 15:59:45.978 NULL    
-4257440620     0       7196    52      69      -15318271350760 NULL    52      0
-NULL   -2132232110     -200    60      1969-12-31 15:59:47.019 NULL    
-4264464220     -200    200     -60     -43     -426446422000   NULL    -60     0
-NULL   -2132536965     -7196   9       1969-12-31 15:59:46     NULL    
-4265073930     0       7196    -9      8       -15345736000140 NULL    -9      0
-NULL   -2135141157     -7196   50      1969-12-31 15:59:50.192 NULL    
-4270282314     0       7196    -50     -33     -15364475765772 NULL    -50     0
-NULL   -2137537679     -7196   -25     1969-12-31 15:59:50.136 NULL    
-4275075358     0       7196    25      42      -15381721138084 NULL    25      0
-NULL   -2145481991     -7196   56      1969-12-31 15:59:55.667 NULL    
-4290963982     0       7196    -56     -39     -15438888407236 NULL    -56     0
-NULL   NULL    -200    -36     1969-12-31 15:59:57.241 NULL    NULL    -200    
200     36      53      NULL    NULL    36      0
-NULL   NULL    -200    -43     1969-12-31 15:59:53.783 NULL    NULL    -200    
200     43      60      NULL    NULL    43      0
-NULL   NULL    -200    -58     1969-12-31 15:59:51.115 NULL    NULL    -200    
200     58      75      NULL    NULL    58      0
-NULL   NULL    -200    22      1969-12-31 15:59:50.109 NULL    NULL    -200    
200     -22     -5      NULL    NULL    -22     0
-NULL   NULL    -200    3       1969-12-31 15:59:50.489 NULL    NULL    -200    
200     -3      14      NULL    NULL    -3      0
-NULL   NULL    -200    43      1969-12-31 15:59:57.003 NULL    NULL    -200    
200     -43     -26     NULL    NULL    -43     0
-NULL   NULL    -200    53      1969-12-31 15:59:49.46  NULL    NULL    -200    
200     -53     -36     NULL    NULL    -53     0
-NULL   NULL    -200    9       1969-12-31 15:59:44.108 NULL    NULL    -200    
200     -9      8       NULL    NULL    -9      0
-NULL   NULL    -7196   -38     1969-12-31 15:59:53.503 NULL    NULL    0       
7196    38      55      NULL    NULL    38      0
-NULL   NULL    -7196   -49     1969-12-31 15:59:51.009 NULL    NULL    0       
7196    49      66      NULL    NULL    49      0
-NULL   NULL    -7196   -49     1969-12-31 15:59:52.052 NULL    NULL    0       
7196    49      66      NULL    NULL    49      0
-NULL   NULL    -7196   -50     1969-12-31 15:59:52.424 NULL    NULL    0       
7196    50      67      NULL    NULL    50      0
-NULL   NULL    -7196   -61     1969-12-31 15:59:44.823 NULL    NULL    0       
7196    61      78      NULL    NULL    61      0
-NULL   NULL    -7196   1       1969-12-31 15:59:48.361 NULL    NULL    0       
7196    -1      16      NULL    NULL    -1      0
-NULL   NULL    -7196   14      1969-12-31 15:59:50.291 NULL    NULL    0       
7196    -14     3       NULL    NULL    -14     0
-NULL   NULL    -7196   22      1969-12-31 15:59:52.699 NULL    NULL    0       
7196    -22     -5      NULL    NULL    -22     0
+true   NULL    -15892  29      1969-12-31 15:59:57.937 821UdmGbkEf4j   NULL    
-215    15892   -29     -12     NULL    171     -29     0
+true   NULL    -15899  50      1969-12-31 15:59:46.926 821UdmGbkEf4j   NULL    
-222    15899   -50     -33     NULL    10210   -50     0
+true   NULL    -15903  -2      1969-12-31 15:59:46.371 cvLH6Eat2yFsyy7p        
NULL    -226    15903   2       19      NULL    14465   2       0
+true   NULL    -15920  -64     1969-12-31 15:59:51.859 cvLH6Eat2yFsyy7p        
NULL    -243    15920   64      81      NULL    6687    64      0
+true   NULL    -15922  -17     1969-12-31 15:59:46.164 821UdmGbkEf4j   NULL    
-245    15922   17      34      NULL    10851   17      0
+true   NULL    -15923  49      1969-12-31 15:59:47.323 cvLH6Eat2yFsyy7p        
NULL    -246    15923   -49     -32     NULL    2628    -49     0
+true   NULL    -15935  -6      1969-12-31 15:59:45.859 1cGVWH7n1QU     NULL    
-1      15935   6       23      NULL    12046   6       0
+true   NULL    -15948  31      1969-12-31 15:59:47.577 821UdmGbkEf4j   NULL    
-14     15948   -31     -14     NULL    7799    -31     0
+true   NULL    -15948  6       1969-12-31 15:59:49.269 1cGVWH7n1QU     NULL    
-14     15948   -6      11      NULL    12436   -6      0
+true   NULL    -15980  -6      1969-12-31 15:59:54.84  1cGVWH7n1QU     NULL    
-46     15980   6       23      NULL    14836   6       0
+true   NULL    -15999  4       1969-12-31 15:59:46.491 1cGVWH7n1QU     NULL    
-65     15999   -4      13      NULL    1231    -4      0
+true   NULL    -16017  -21     1969-12-31 15:59:44.02  821UdmGbkEf4j   NULL    
-83     16017   21      38      NULL    2282    21      0
+true   NULL    -16025  -42     1969-12-31 15:59:54.534 cvLH6Eat2yFsyy7p        
NULL    -91     16025   42      59      NULL    14242   42      0
+true   NULL    -16036  -15     1969-12-31 15:59:58.681 1cGVWH7n1QU     NULL    
-102    16036   15      32      NULL    7928    15      0
+true   NULL    -16059  -35     1969-12-31 15:59:53.038 821UdmGbkEf4j   NULL    
-125    16059   35      52      NULL    12437   35      0
+true   NULL    -16076  59      1969-12-31 15:59:55.023 821UdmGbkEf4j   NULL    
-142    16076   -59     -42     NULL    7907    -59     0
+true   NULL    -16122  50      1969-12-31 15:59:51.608 1cGVWH7n1QU     NULL    
-188    16122   -50     -33     NULL    1828    -50     0
+true   NULL    -16123  -20     1969-12-31 15:59:51.177 1cGVWH7n1QU     NULL    
-189    16123   20      37      NULL    2217    20      0
+true   NULL    -16153  35      1969-12-31 15:59:52.036 1cGVWH7n1QU     NULL    
-219    16153   -35     -18     NULL    14817   -35     0
+true   NULL    -16169  5       1969-12-31 15:59:45.059 1cGVWH7n1QU     NULL    
-235    16169   -5      12      NULL    6104    -5      0
+true   NULL    -16207  -4      1969-12-31 15:59:45.956 cvLH6Eat2yFsyy7p        
NULL    -16     16207   4       21      NULL    8290    4       0
+true   NULL    -16221  -12     1969-12-31 15:59:45.877 1cGVWH7n1QU     NULL    
-30     16221   12      29      NULL    1378    12      0
+true   NULL    -16227  2       1969-12-31 15:59:44.065 821UdmGbkEf4j   NULL    
-36     16227   -2      15      NULL    9761    -2      0
+true   NULL    -16305  3       1969-12-31 15:59:43.878 1cGVWH7n1QU     NULL    
-114    16305   -3      14      NULL    8491    -3      0
+true   NULL    -16339  15      1969-12-31 15:59:53.966 821UdmGbkEf4j   NULL    
-148    16339   -15     2       NULL    12588   -15     0
 PREHOOK: query: EXPLAIN VECTORIZATION EXPRESSION
 SELECT cboolean1,
        cbigint,

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_8.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_8.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_8.q.out
index f76df32..eceec02 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_8.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_8.q.out
@@ -119,7 +119,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aaaaaaaaaaaaaa
+                reduceColumnNullOrder: zzzzzzzzzzzzzz
                 reduceColumnSortOrder: ++++++++++++++
                 allNative: false
                 usesVectorUDFAdaptor: false

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_div0.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_div0.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_div0.q.out
index 76b4e3c..ea2f88d 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_div0.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_div0.q.out
@@ -290,8 +290,8 @@ from alltypesparquet where cbigint > 0 and cbigint < 
100000000 order by s1, s2 l
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
--985319        NULL    -0.000001217879691754650
 -985319        2.0297994862577501E-4   -0.000001217879691754650
+-985319        NULL    -0.000001217879691754650
 -63925 0.11256941728588189     -0.000018771998435666797
 0      NULL    NULL
 0      NULL    NULL
@@ -515,8 +515,8 @@ POSTHOOK: Input: default@alltypesparquet
 -273.0 6028764.868131869       1.0     6028764.868131869       
-0.01098901098901099    -0.004395604395604396
 -257.0 6404096.53307393        1.0     6404096.53307393        
-0.011673151750972763   -0.004669260700389105
 -250.0 6583411.236     1.0     6583411.236     -0.012  -0.0048
--247.0 NULL    1.0     NULL    -0.012145748987854251   -0.004858299595141701
 -247.0 -7546669.174089069      1.0     -7546669.174089069      
-0.012145748987854251   -0.004858299595141701
+-247.0 NULL    1.0     NULL    -0.012145748987854251   -0.004858299595141701
 -246.0 NULL    1.0     NULL    -0.012195121951219513   -0.004878048780487805
 -237.0 NULL    1.0     NULL    -0.012658227848101266   -0.005063291139240506
 -236.0 NULL    1.0     NULL    -0.012711864406779662   -0.005084745762711864
@@ -544,18 +544,18 @@ POSTHOOK: Input: default@alltypesparquet
 -132.0 NULL    1.0     NULL    -0.022727272727272728   -0.00909090909090909
 -129.0 1.2758548906976745E7    1.0     1.2758548906976745E7    
-0.023255813953488372   -0.009302325581395349
 -128.0 NULL    1.0     NULL    -0.0234375      -0.009375
--126.0 NULL    1.0     NULL    -0.023809523809523808   -0.009523809523809523
 -126.0 -1.4793867349206349E7   1.0     -1.4793867349206349E7   
-0.023809523809523808   -0.009523809523809523
+-126.0 NULL    1.0     NULL    -0.023809523809523808   -0.009523809523809523
 -116.0 NULL    1.0     NULL    -0.02586206896551724    -0.010344827586206896
--113.0 NULL    1.0     NULL    -0.02654867256637168    -0.010619469026548672
 -113.0 -1.6495816690265486E7   1.0     -1.6495816690265486E7   
-0.02654867256637168    -0.010619469026548672
+-113.0 NULL    1.0     NULL    -0.02654867256637168    -0.010619469026548672
 -96.0  NULL    1.0     NULL    -0.03125        -0.012499999999999999
 -94.0  -1.9830077510638297E7   1.0     -1.9830077510638297E7   
-0.031914893617021274   -0.01276595744680851
 -93.0  NULL    1.0     NULL    -0.03225806451612903    -0.012903225806451613
 -77.0  2.4513789038961038E7    1.0     2.4513789038961038E7    
-0.03896103896103896    -0.015584415584415584
 -69.0  2.735596747826087E7     1.0     2.735596747826087E7     
-0.043478260869565216   -0.017391304347826087
--62.0  NULL    1.0     NULL    -0.04838709677419355    -0.01935483870967742
 -62.0  3.0444544451612905E7    1.0     3.0444544451612905E7    
-0.04838709677419355    -0.01935483870967742
+-62.0  NULL    1.0     NULL    -0.04838709677419355    -0.01935483870967742
 -60.0  NULL    1.0     NULL    -0.05   -0.02
 -57.0  -3.27022330877193E7     1.0     -3.27022330877193E7     
-0.05263157894736842    -0.021052631578947368
 -49.0  3.35888328367347E7      1.0     3.35888328367347E7      
-0.061224489795918366   -0.024489795918367346

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_limit.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_limit.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_limit.q.out
index 6fd173a..de29f64 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_limit.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_limit.q.out
@@ -148,7 +148,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -305,7 +305,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: a
+                reduceColumnNullOrder: z
                 reduceColumnSortOrder: +
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -370,6 +370,7 @@ POSTHOOK: query: select ctinyint,avg(cdouble + 1) from 
alltypesparquet group by
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
+-45    326.44444444444446
 -46    3033.55
 -47    -574.6428571428571
 -48    1672.909090909091
@@ -389,7 +390,6 @@ POSTHOOK: Input: default@alltypesparquet
 -62    245.69387755102042
 -63    2178.7272727272725
 -64    373.52941176470586
-NULL   9370.0945309795
 PREHOOK: query: explain vectorization detail
 select distinct(ctinyint) from alltypesparquet limit 20
 PREHOOK: type: QUERY
@@ -628,7 +628,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: za
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -696,6 +696,7 @@ POSTHOOK: query: select ctinyint, count(distinct(cdouble)) 
from alltypesparquet
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesparquet
 #### A masked pattern was here ####
+-45    24
 -46    24
 -47    22
 -48    29
@@ -715,7 +716,6 @@ POSTHOOK: Input: default@alltypesparquet
 -62    27
 -63    19
 -64    24
-NULL   2932
 PREHOOK: query: explain vectorization detail
 select ctinyint,cdouble from alltypesparquet order by ctinyint limit 0
 PREHOOK: type: QUERY
@@ -869,7 +869,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/parquet_vectorization_part_project.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_part_project.q.out
 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_part_project.q.out
index c2b34c8..ec4ddb9 100644
--- 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_part_project.q.out
+++ 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_part_project.q.out
@@ -131,13 +131,13 @@ POSTHOOK: Input: default@alltypesparquet_part_n0
 POSTHOOK: Input: default@alltypesparquet_part_n0@ds=2011
 POSTHOOK: Input: default@alltypesparquet_part_n0@ds=2012
 #### A masked pattern was here ####
-NULL
-NULL
--15863.0
--15863.0
--14988.0
--14988.0
--14646.0
--14646.0
--14236.0
--14236.0
+-15990.0
+-15990.0
+-15918.0
+-15918.0
+-15890.0
+-15890.0
+-14305.0
+-14305.0
+-12514.0
+-12514.0

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/spark/pcr.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/pcr.q.out 
b/ql/src/test/results/clientpositive/spark/pcr.q.out
index fd450fe..74439ce 100644
--- a/ql/src/test/results/clientpositive/spark/pcr.q.out
+++ b/ql/src/test/results/clientpositive/spark/pcr.q.out
@@ -83,7 +83,7 @@ STAGE PLANS:
                       Statistics: Num rows: 13 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 13 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -286,7 +286,7 @@ STAGE PLANS:
                       Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int)
-                        null sort order: a
+                        null sort order: z
                         sort order: +
                         Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -575,7 +575,7 @@ STAGE PLANS:
                       Statistics: Num rows: 13 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 13 Data size: 104 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -780,7 +780,7 @@ STAGE PLANS:
                       Statistics: Num rows: 10 Data size: 80 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 10 Data size: 80 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -987,7 +987,7 @@ STAGE PLANS:
                       Statistics: Num rows: 16 Data size: 128 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 16 Data size: 128 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -1253,7 +1253,7 @@ STAGE PLANS:
                       Statistics: Num rows: 33 Data size: 264 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 33 Data size: 264 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -1528,7 +1528,7 @@ STAGE PLANS:
                       Statistics: Num rows: 20 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string)
-                        null sort order: a
+                        null sort order: z
                         sort order: +
                         Statistics: Num rows: 20 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -1716,7 +1716,7 @@ STAGE PLANS:
                     Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: int), _col1 (type: string)
-                      null sort order: aa
+                      null sort order: zz
                       sort order: ++
                       Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                       tag: -1
@@ -1944,7 +1944,7 @@ STAGE PLANS:
                     Statistics: Num rows: 60 Data size: 480 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: int), _col1 (type: string)
-                      null sort order: aa
+                      null sort order: zz
                       sort order: ++
                       Statistics: Num rows: 60 Data size: 480 Basic stats: 
COMPLETE Column stats: NONE
                       tag: -1
@@ -2247,7 +2247,7 @@ STAGE PLANS:
                       Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: 
string), _col2 (type: string)
-                        null sort order: aaa
+                        null sort order: zzz
                         sort order: +++
                         Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -2601,7 +2601,7 @@ STAGE PLANS:
                   Statistics: Num rows: 22 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: int)
-                    null sort order: a
+                    null sort order: z
                     sort order: +
                     Statistics: Num rows: 22 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                     tag: -1
@@ -2888,7 +2888,7 @@ STAGE PLANS:
                   Statistics: Num rows: 22 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: int)
-                    null sort order: a
+                    null sort order: z
                     sort order: +
                     Statistics: Num rows: 22 Data size: 176 Basic stats: 
COMPLETE Column stats: NONE
                     tag: -1
@@ -3026,7 +3026,7 @@ STAGE PLANS:
                       Statistics: Num rows: 48 Data size: 384 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: 
string), _col2 (type: string)
-                        null sort order: aaa
+                        null sort order: zzz
                         sort order: +++
                         Statistics: Num rows: 48 Data size: 384 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -3362,7 +3362,7 @@ STAGE PLANS:
                       Statistics: Num rows: 30 Data size: 240 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: int), _col1 (type: 
string), _col2 (type: string)
-                        null sort order: aaa
+                        null sort order: zzz
                         sort order: +++
                         Statistics: Num rows: 30 Data size: 240 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -4157,7 +4157,7 @@ STAGE PLANS:
                     Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: _col0 (type: string)
-                      null sort order: a
+                      null sort order: z
                       sort order: +
                       Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                       tag: -1
@@ -4304,7 +4304,7 @@ STAGE PLANS:
                       Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1
@@ -4502,7 +4502,7 @@ STAGE PLANS:
                       Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
                         key expressions: _col0 (type: string), _col2 (type: 
string)
-                        null sort order: aa
+                        null sort order: zz
                         sort order: ++
                         Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                         tag: -1

Reply via email to