http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/ptf_streaming.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/ptf_streaming.q.out 
b/ql/src/test/results/clientpositive/llap/ptf_streaming.q.out
index 3b3b13d..0ed326f 100644
--- a/ql/src/test/results/clientpositive/llap/ptf_streaming.q.out
+++ b/ql/src/test/results/clientpositive/llap/ptf_streaming.q.out
@@ -60,7 +60,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -87,7 +87,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: _col2
                         raw input shape:
                         window functions:
@@ -270,7 +270,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
@@ -297,7 +297,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: _col2
                         raw input shape:
                         window functions:
@@ -442,7 +442,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: abc
                         name: noopstreaming
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         output shape: _col0: int, _col1: string, _col2: 
string, _col3: string, _col4: string, _col5: int, _col6: string, _col7: double, 
_col8: string
                         partition by: _col2
                         raw input shape:
@@ -566,7 +566,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmapstreaming
-                          order by: p_name ASC NULLS FIRST, p_size DESC NULLS 
LAST
+                          order by: p_name ASC NULLS LAST, p_size DESC NULLS 
LAST
                           output shape: p_name: string, p_mfgr: string, 
p_size: int
                           partition by: p_mfgr
                           raw input shape:
@@ -596,7 +596,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmapstreaming
-                        order by: _col1 ASC NULLS FIRST, _col5 DESC NULLS LAST
+                        order by: _col1 ASC NULLS LAST, _col5 DESC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
@@ -623,7 +623,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col1 ASC NULLS FIRST, _col5 DESC NULLS LAST
+                        order by: _col1 ASC NULLS LAST, _col5 DESC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -740,7 +740,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmapstreaming
-                          order by: p_name ASC NULLS FIRST
+                          order by: p_name ASC NULLS LAST
                           output shape: p_name: string, p_mfgr: string, 
p_size: int, p_retailprice: double
                           partition by: p_mfgr
                           raw input shape:
@@ -771,7 +771,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmapstreaming
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -799,7 +799,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: _col2
                         raw input shape:
                         window functions:
@@ -951,7 +951,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -965,7 +965,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmapstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -973,7 +973,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_2
                           name: noopstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -1001,7 +1001,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmapstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1009,7 +1009,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_2
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1036,7 +1036,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: _col2
                         raw input shape:
                         window functions:
@@ -1190,7 +1190,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1204,7 +1204,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmap
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -1212,7 +1212,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_2
                           name: noopstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -1240,7 +1240,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmap
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1248,7 +1248,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_2
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1275,7 +1275,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: _col2
                         raw input shape:
                         window functions:
@@ -1429,7 +1429,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1443,7 +1443,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmapstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -1451,7 +1451,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_2
                           name: noop
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                           partition by: _col2
                           raw input shape:
@@ -1479,7 +1479,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmapstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1487,7 +1487,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_2
                         name: noop
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: 
int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1514,7 +1514,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: _col2
                         raw input shape:
                         window functions:
@@ -1687,7 +1687,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: abc
                         name: noopstreaming
-                        order by: _col1 ASC NULLS FIRST
+                        order by: _col1 ASC NULLS LAST
                         output shape: _col0: int, _col1: string, _col2: 
string, _col5: int, _col7: double
                         partition by: _col2
                         raw input shape:
@@ -1734,7 +1734,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: _col2
                         raw input shape:
                         window functions:
@@ -1921,14 +1921,14 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
                       Partition table definition
                         input alias: ptf_2
                         name: noop
-                        order by: _col2 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
@@ -1942,7 +1942,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmap
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int
                           partition by: _col2, _col1
                           raw input shape:
@@ -1950,7 +1950,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_2
                           name: noopstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int
                           partition by: _col2, _col1
                           raw input shape:
@@ -1978,7 +1978,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmap
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
@@ -1986,7 +1986,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_2
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
@@ -2196,14 +2196,14 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
                       Partition table definition
                         input alias: ptf_2
                         name: noop
-                        order by: _col2 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
@@ -2230,7 +2230,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
@@ -2257,7 +2257,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noop
-                        order by: _col2 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2
                         raw input shape:
@@ -2284,7 +2284,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: _col2
                         raw input shape:
                         window functions:
@@ -2460,14 +2460,14 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
                       Partition table definition
                         input alias: ptf_2
                         name: noop
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
@@ -2481,7 +2481,7 @@ STAGE PLANS:
                         Partition table definition
                           input alias: ptf_1
                           name: noopwithmapstreaming
-                          order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS 
FIRST
+                          order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                           output shape: _col1: string, _col2: string, _col5: 
int
                           partition by: _col2, _col1
                           raw input shape:
@@ -2510,7 +2510,7 @@ STAGE PLANS:
                       Partition table definition
                         input alias: ptf_1
                         name: noopwithmapstreaming
-                        order by: _col2 ASC NULLS FIRST, _col1 ASC NULLS FIRST
+                        order by: _col2 ASC NULLS LAST, _col1 ASC NULLS LAST
                         output shape: _col1: string, _col2: string, _col5: int
                         partition by: _col2, _col1
                         raw input shape:
@@ -2538,7 +2538,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: _col2
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/results_cache_with_masking.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/results_cache_with_masking.q.out 
b/ql/src/test/results/clientpositive/llap/results_cache_with_masking.q.out
index e0e48b0..d6009da 100644
--- a/ql/src/test/results/clientpositive/llap/results_cache_with_masking.q.out
+++ b/ql/src/test/results/clientpositive/llap/results_cache_with_masking.q.out
@@ -107,7 +107,6 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: masking_test_n7
-                  filterExpr: (((key % 2) = 0) and (key < 10)) (type: boolean)
                   Statistics: Num rows: 500 Data size: 1904 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
                     predicate: (((key % 2) = 0) and (key < 10)) (type: boolean)

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/sharedworkext.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/sharedworkext.q.out 
b/ql/src/test/results/clientpositive/llap/sharedworkext.q.out
index c734d00..0b784ee 100644
--- a/ql/src/test/results/clientpositive/llap/sharedworkext.q.out
+++ b/ql/src/test/results/clientpositive/llap/sharedworkext.q.out
@@ -644,7 +644,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:
@@ -702,7 +702,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/llap/skewjoinopt15.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/skewjoinopt15.q.out 
b/ql/src/test/results/clientpositive/llap/skewjoinopt15.q.out
index 547fd81..9d6f83b 100644
--- a/ql/src/test/results/clientpositive/llap/skewjoinopt15.q.out
+++ b/ql/src/test/results/clientpositive/llap/skewjoinopt15.q.out
@@ -256,14 +256,14 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n109
 POSTHOOK: Input: default@t2_n66
 #### A masked pattern was here ####
-NULL   NULL    4       14
-NULL   NULL    5       15
 2      12      2       22
 3      13      3       13
 8      18      8       18
 8      18      8       18
 8      28      8       18
 8      28      8       18
+NULL   NULL    4       14
+NULL   NULL    5       15
 PREHOOK: query: EXPLAIN
 SELECT count(1) FROM T1_n109 a JOIN T2_n66 b ON a.key = b.key
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/smb_mapjoin_15.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/smb_mapjoin_15.q.out 
b/ql/src/test/results/clientpositive/llap/smb_mapjoin_15.q.out
index 4c39f17..3e89bc5 100644
--- a/ql/src/test/results/clientpositive/llap/smb_mapjoin_15.q.out
+++ b/ql/src/test/results/clientpositive/llap/smb_mapjoin_15.q.out
@@ -153,7 +153,7 @@ STAGE PLANS:
                         Statistics: Num rows: ###Masked### Data size: 
###Masked### Basic stats: COMPLETE Column stats: COMPLETE
                         Reduce Output Operator
                           key expressions: _col0 (type: int)
-                          null sort order: a
+                          null sort order: z
                           sort order: +
                           Statistics: Num rows: ###Masked### Data size: 
###Masked### Basic stats: COMPLETE Column stats: COMPLETE
                           tag: -1
@@ -537,7 +537,7 @@ STAGE PLANS:
                 Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: int)
-                  null sort order: a
+                  null sort order: z
                   sort order: +
                   Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                   tag: -1
@@ -812,7 +812,7 @@ STAGE PLANS:
                 Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: int)
-                  null sort order: a
+                  null sort order: z
                   sort order: +
                   Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                   tag: -1
@@ -1087,7 +1087,7 @@ STAGE PLANS:
                 Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                 Reduce Output Operator
                   key expressions: _col0 (type: int)
-                  null sort order: a
+                  null sort order: z
                   sort order: +
                   Statistics: Num rows: ###Masked### Data size: ###Masked### 
Basic stats: COMPLETE Column stats: COMPLETE
                   tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/subquery_in.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/subquery_in.q.out 
b/ql/src/test/results/clientpositive/llap/subquery_in.q.out
index 998f341..ce4c761 100644
--- a/ql/src/test/results/clientpositive/llap/subquery_in.q.out
+++ b/ql/src/test/results/clientpositive/llap/subquery_in.q.out
@@ -340,7 +340,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -521,7 +521,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -4511,7 +4511,7 @@ STAGE PLANS:
                   predicate: (_col1 is not null and _col2 is not null) (type: 
boolean)
                   Statistics: Num rows: 13 Data size: 260 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: (_col1 / _col2) (type: double), _col0 (type: 
int)
+                    expressions: (UDFToDouble(_col1) / _col2) (type: double), 
_col0 (type: int)
                     outputColumnNames: _col0, _col1
                     Statistics: Num rows: 13 Data size: 156 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/subquery_in_having.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/subquery_in_having.q.out 
b/ql/src/test/results/clientpositive/llap/subquery_in_having.q.out
index 3440b7e..382b7a4 100644
--- a/ql/src/test/results/clientpositive/llap/subquery_in_having.q.out
+++ b/ql/src/test/results/clientpositive/llap/subquery_in_having.q.out
@@ -1496,7 +1496,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/subquery_notin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/subquery_notin.q.out 
b/ql/src/test/results/clientpositive/llap/subquery_notin.q.out
index f444ed9..c84477e 100644
--- a/ql/src/test/results/clientpositive/llap/subquery_notin.q.out
+++ b/ql/src/test/results/clientpositive/llap/subquery_notin.q.out
@@ -417,7 +417,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -479,7 +479,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -692,7 +692,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -729,7 +729,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -999,7 +999,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -1037,7 +1037,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -1077,7 +1077,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out 
b/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out
index 8451f48..d0e517a 100644
--- a/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out
+++ b/ql/src/test/results/clientpositive/llap/subquery_scalar.q.out
@@ -1033,7 +1033,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:
@@ -1061,7 +1061,7 @@ STAGE PLANS:
                       Windowing table definition
                         input alias: ptf_1
                         name: windowingtablefunction
-                        order by: _col5 ASC NULLS FIRST
+                        order by: _col5 ASC NULLS LAST
                         partition by: _col2
                         raw input shape:
                         window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/sysdb.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/sysdb.q.out 
b/ql/src/test/results/clientpositive/llap/sysdb.q.out
index 9e32335..3dbe5ce 100644
--- a/ql/src/test/results/clientpositive/llap/sysdb.q.out
+++ b/ql/src/test/results/clientpositive/llap/sysdb.q.out
@@ -3984,11 +3984,11 @@ POSTHOOK: query: select name, slib from serdes order by 
name, slib limit 5
 POSTHOOK: type: QUERY
 POSTHOOK: Input: sys@serdes
 #### A masked pattern was here ####
-NULL   NULL
-NULL   NULL
-NULL   NULL
-NULL   NULL
-NULL   NULL
+NULL   org.apache.hadoop.hive.ql.io.orc.OrcSerde
+NULL   org.apache.hadoop.hive.ql.io.orc.OrcSerde
+NULL   org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe
+NULL   org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
+NULL   org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 PREHOOK: query: select param_key, param_value from serde_params order by 
param_key, param_value limit 5
 PREHOOK: type: QUERY
 PREHOOK: Input: sys@serde_params
@@ -4028,7 +4028,7 @@ POSTHOOK: query: select count(*) from skewed_string_list
 POSTHOOK: type: QUERY
 POSTHOOK: Input: sys@skewed_string_list
 #### A masked pattern was here ####
-3
+6
 PREHOOK: query: select count(*) from skewed_string_list_values
 PREHOOK: type: QUERY
 PREHOOK: Input: sys@skewed_string_list_values
@@ -4037,7 +4037,7 @@ POSTHOOK: query: select count(*) from 
skewed_string_list_values
 POSTHOOK: type: QUERY
 POSTHOOK: Input: sys@skewed_string_list_values
 #### A masked pattern was here ####
-3
+6
 PREHOOK: query: select count(*) from skewed_values
 PREHOOK: type: QUERY
 PREHOOK: Input: sys@skewed_values

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out 
b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
index fd6541e..56e3995 100644
--- a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_1.q.out
@@ -404,11 +404,11 @@ order by a.csmallint
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   6
 -13036 1
 -8915  1
 -3799  1
 10782  1
+NULL   6
 PREHOOK: query: explain
 select
   *
@@ -824,8 +824,8 @@ order by cs
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   6
 -13036 1
 -8915  1
 -3799  1
 10782  1
+NULL   6

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_2.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_2.q.out 
b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_2.q.out
index 3373fc25..171521d 100644
--- a/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_2.q.out
+++ b/ql/src/test/results/clientpositive/llap/tez_dynpart_hashjoin_2.q.out
@@ -163,10 +163,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL
@@ -354,10 +354,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL
@@ -545,10 +545,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out 
b/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out
index 2c38d8c..1b0b6fa 100644
--- a/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out
+++ b/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out
@@ -838,7 +838,7 @@ STAGE PLANS:
                         Statistics: Num rows: 15 Data size: 240 Basic stats: 
COMPLETE Column stats: COMPLETE
                         Reduce Output Operator
                           key expressions: _col0 (type: bigint), _col1 (type: 
bigint)
-                          null sort order: aa
+                          null sort order: zz
                           sort order: ++
                           Statistics: Num rows: 15 Data size: 240 Basic stats: 
COMPLETE Column stats: COMPLETE
                           tag: -1
@@ -926,11 +926,11 @@ POSTHOOK: Input: 
default@l3_clarity__l3_monthly_dw_factplan_dw_stg_2018022300104
 POSTHOOK: Input: default@l3_clarity__l3_snap_number_2018022300104
 POSTHOOK: Input: default@l3_monthly_dw_dimplan
 #### A masked pattern was here ####
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
+7147200        189561  27114
+7147200        191205  27114
+7147200        195775  27114
+7147200        234349  27114
+7147200        350519  27114
 Warning: Shuffle Join MERGEJOIN[48][tables = [$hdt$_1, $hdt$_2]] in Stage 
'Reducer 2' is a cross product
 PREHOOK: query: EXPLAIN EXTENDED
 SELECT DW.PROJECT_OBJECT_ID, S1.PLAN_KEY as PLAN_KEY, S2.PROJECT_KEY AS 
PROJECT_KEY
@@ -1346,7 +1346,7 @@ STAGE PLANS:
                         Statistics: Num rows: 15 Data size: 240 Basic stats: 
COMPLETE Column stats: COMPLETE
                         Reduce Output Operator
                           key expressions: _col0 (type: bigint), _col1 (type: 
bigint)
-                          null sort order: aa
+                          null sort order: zz
                           sort order: ++
                           Statistics: Num rows: 15 Data size: 240 Basic stats: 
COMPLETE Column stats: COMPLETE
                           tag: -1
@@ -1434,8 +1434,8 @@ POSTHOOK: Input: 
default@l3_clarity__l3_monthly_dw_factplan_dw_stg_2018022300104
 POSTHOOK: Input: default@l3_clarity__l3_snap_number_2018022300104
 POSTHOOK: Input: default@l3_monthly_dw_dimplan
 #### A masked pattern was here ####
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
-7147200        NULL    27114
+7147200        189561  27114
+7147200        191205  27114
+7147200        195775  27114
+7147200        234349  27114
+7147200        350519  27114

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out 
b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out
index 5c12e9a..de96847 100644
--- 
a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_1.q.out
@@ -404,11 +404,11 @@ order by a.csmallint
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   6
 -13036 1
 -8915  1
 -3799  1
 10782  1
+NULL   6
 PREHOOK: query: explain
 select
   *
@@ -824,8 +824,8 @@ order by a.csmallint
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   6
 -13036 1
 -8915  1
 -3799  1
 10782  1
+NULL   6

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_2.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_2.q.out 
b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_2.q.out
index 3373fc25..171521d 100644
--- 
a/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_2.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/tez_vector_dynpart_hashjoin_2.q.out
@@ -163,10 +163,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL
@@ -354,10 +354,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL
@@ -545,10 +545,10 @@ POSTHOOK: Input: default@src
 -19    8       626923679       NULL    -19.0   8.0     821UdmGbkEf4j   NULL    
1969-12-31 15:59:46.619 1969-12-31 15:59:46.95  true    NULL
 6      8       528534767       NULL    6.0     8.0     cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:45.459 1969-12-31 16:00:00.236 true    NULL
 NULL   9       -470743566      -1887561756     NULL    9.0     
swx5K33Sm5qcKR5B        4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 16:00:07.318 
true    false
-NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -62    10      528534767       NULL    -62.0   10.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.265 1969-12-31 15:59:56.584 true    NULL
-NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
+NULL   10      813877020       -1645852809     NULL    10.0    
4QG23O2GKF6BUe13O7A2C   xH7445Rals48VOulSyR5F   NULL    1969-12-31 16:00:05.851 
false   false
 -7     19      528534767       NULL    -7.0    19.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 16:00:13.994 1969-12-31 15:59:55.362 true    NULL
+NULL   19      312515097       1864027286      NULL    19.0    ds5YqbRvhf3Sb2  
4KWs6gw7lv2WYd66P       NULL    1969-12-31 15:59:56.211 false   true
 -45    20      253665376       NULL    -45.0   20.0    1cGVWH7n1QU     NULL    
1969-12-31 16:00:09.949 1969-12-31 16:00:10.979 true    NULL
 NULL   34      510824788       -1887561756     NULL    34.0    nj1bXoh6k       
4hA4KQj2vD3fI6gX82220d  NULL    1969-12-31 15:59:46.017 true    false
 41     37      528534767       NULL    41.0    37.0    cvLH6Eat2yFsyy7p        
NULL    1969-12-31 15:59:52.817 1969-12-31 15:59:53.672 true    NULL

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/union_assertion_type.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/union_assertion_type.q.out 
b/ql/src/test/results/clientpositive/llap/union_assertion_type.q.out
index 0420353..e424664 100644
--- a/ql/src/test/results/clientpositive/llap/union_assertion_type.q.out
+++ b/ql/src/test/results/clientpositive/llap/union_assertion_type.q.out
@@ -60,7 +60,6 @@ STAGE PLANS:
       Processor Tree:
         TableScan
           alias: union_table_test_n0
-          filterExpr: (column3 < '5') (type: boolean)
           Filter Operator
             predicate: (column3 < '5') (type: boolean)
             Select Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/update_all_partitioned.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/update_all_partitioned.q.out 
b/ql/src/test/results/clientpositive/llap/update_all_partitioned.q.out
index 4ee1e2e..78c02ce 100644
--- a/ql/src/test/results/clientpositive/llap/update_all_partitioned.q.out
+++ b/ql/src/test/results/clientpositive/llap/update_all_partitioned.q.out
@@ -53,11 +53,11 @@ POSTHOOK: Input: default@acid_uap@ds=tomorrow
 762    BLoMwUJ51ns6pd  tomorrow
 762    a10E76jX35YwquKCTA      tomorrow
 762    q5y2Vy1 tomorrow
-6981   NULL    tomorrow
 6981   1FNNhmiFLGw425NA13g     tomorrow
 6981   4KhrrQ0nJ7bMNTvhSCA     tomorrow
 6981   K630vaVf        tomorrow
 6981   Y5x3JuI3M8jngv5N        tomorrow
+6981   YdG61y00526u5   tomorrow
 PREHOOK: query: update acid_uap set b = 'fred'
 PREHOOK: type: QUERY
 PREHOOK: Input: default@acid_uap

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/update_tmp_table.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/update_tmp_table.q.out 
b/ql/src/test/results/clientpositive/llap/update_tmp_table.q.out
index 446a379..746fb9f 100644
--- a/ql/src/test/results/clientpositive/llap/update_tmp_table.q.out
+++ b/ql/src/test/results/clientpositive/llap/update_tmp_table.q.out
@@ -50,7 +50,6 @@ POSTHOOK: query: select * from acid_utt order by a
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@acid_utt
 #### A masked pattern was here ####
-NULL   0ruyd6Y50JpdGRf6HqD
 -1073279343    oj1YrV5Wa
 -1073051226    A34p7oRr2WvUJNf
 -1072910839    0iqrc5
@@ -60,3 +59,4 @@ NULL  0ruyd6Y50JpdGRf6HqD
 -1071363017    Anj0oF
 -1070551679    iUR3Q
 -1069736047    k17Am8uPHWk02cEf1jet
+NULL   0ruyd6Y50JpdGRf6HqD

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/update_where_partitioned.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/update_where_partitioned.q.out 
b/ql/src/test/results/clientpositive/llap/update_where_partitioned.q.out
index 1834e83..ac603b8 100644
--- a/ql/src/test/results/clientpositive/llap/update_where_partitioned.q.out
+++ b/ql/src/test/results/clientpositive/llap/update_where_partitioned.q.out
@@ -53,11 +53,11 @@ POSTHOOK: Input: default@acid_uwp@ds=tomorrow
 762    BLoMwUJ51ns6pd  tomorrow
 762    a10E76jX35YwquKCTA      tomorrow
 762    q5y2Vy1 tomorrow
-6981   NULL    tomorrow
 6981   1FNNhmiFLGw425NA13g     tomorrow
 6981   4KhrrQ0nJ7bMNTvhSCA     tomorrow
 6981   K630vaVf        tomorrow
 6981   Y5x3JuI3M8jngv5N        tomorrow
+6981   YdG61y00526u5   tomorrow
 PREHOOK: query: update acid_uwp set b = 'fred' where b = 'k17Am8uPHWk02cEf1jet'
 PREHOOK: type: QUERY
 PREHOOK: Input: default@acid_uwp
@@ -99,8 +99,8 @@ POSTHOOK: Input: default@acid_uwp@ds=tomorrow
 762    BLoMwUJ51ns6pd  tomorrow
 762    a10E76jX35YwquKCTA      tomorrow
 762    q5y2Vy1 tomorrow
-6981   NULL    tomorrow
 6981   1FNNhmiFLGw425NA13g     tomorrow
 6981   4KhrrQ0nJ7bMNTvhSCA     tomorrow
 6981   K630vaVf        tomorrow
 6981   Y5x3JuI3M8jngv5N        tomorrow
+6981   YdG61y00526u5   tomorrow

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_between_in.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_between_in.q.out 
b/ql/src/test/results/clientpositive/llap/vector_between_in.q.out
index 26dae0b..c11e209 100644
--- a/ql/src/test/results/clientpositive/llap/vector_between_in.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_between_in.q.out
@@ -1631,9 +1631,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT cdate 
IN (CAST("1969-10-26" AS
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   6231
 false  6041
 true   17
+NULL   6231
 PREHOOK: query: SELECT c0, count(1) from (SELECT cdecimal1 IN 
(2365.8945945946, 881.0135135135, -3367.6517567568) as c0 FROM 
decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1642,9 +1642,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT 
cdecimal1 IN (2365.8945945946,
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   3115
 false  9165
 true   9
+NULL   3115
 PREHOOK: query: SELECT c0, count(1) from (SELECT  cdate BETWEEN 
CAST("1969-12-30" AS DATE) AND CAST("1970-01-02" AS DATE) as c0 FROM 
decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1653,9 +1653,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT  cdate 
BETWEEN CAST("1969-12-3
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   6231
 false  5974
 true   84
+NULL   6231
 PREHOOK: query: SELECT c0, count(1) from (SELECT cdecimal1 NOT BETWEEN -2000 
AND 4390.1351351351 as c0 FROM decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1664,9 +1664,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT 
cdecimal1 NOT BETWEEN -2000 AN
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   3115
 false  3002
 true   6172
+NULL   3115
 PREHOOK: query: SELECT c0, count(1) from (SELECT cdate IN (CAST("1969-10-26" 
AS DATE), CAST("1969-07-14" AS DATE)) as c0 FROM decimal_date_test) tab GROUP 
BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1675,9 +1675,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT cdate 
IN (CAST("1969-10-26" AS
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   6231
 false  6041
 true   17
+NULL   6231
 PREHOOK: query: SELECT c0, count(1) from (SELECT cdecimal1 IN 
(2365.8945945946, 881.0135135135, -3367.6517567568) as c0 FROM 
decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1686,9 +1686,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT 
cdecimal1 IN (2365.8945945946,
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   3115
 false  9165
 true   9
+NULL   3115
 PREHOOK: query: SELECT c0, count(1) from (SELECT  cdate BETWEEN 
CAST("1969-12-30" AS DATE) AND CAST("1970-01-02" AS DATE) as c0 FROM 
decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1697,9 +1697,9 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT  cdate 
BETWEEN CAST("1969-12-3
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   6231
 false  5974
 true   84
+NULL   6231
 PREHOOK: query: SELECT c0, count(1) from (SELECT cdecimal1 NOT BETWEEN -2000 
AND 4390.1351351351 as c0 FROM decimal_date_test) tab GROUP BY c0 ORDER BY c0
 PREHOOK: type: QUERY
 PREHOOK: Input: default@decimal_date_test
@@ -1708,6 +1708,6 @@ POSTHOOK: query: SELECT c0, count(1) from (SELECT 
cdecimal1 NOT BETWEEN -2000 AN
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_date_test
 #### A masked pattern was here ####
-NULL   3115
 false  3002
 true   6172
+NULL   3115

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_case_when_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_case_when_2.q.out 
b/ql/src/test/results/clientpositive/llap/vector_case_when_2.q.out
index 966f6c5..ef8d04f 100644
--- a/ql/src/test/results/clientpositive/llap/vector_case_when_2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_case_when_2.q.out
@@ -158,7 +158,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: zzz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -261,7 +261,6 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@timestamps
 #### A masked pattern was here ####
 ctimestamp1    ctimestamp2     ctimestamp2_description 
ctimestamp2_description_2       ctimestamp2_description_3       field1  field_2 
field_3 field_4 field_5
-NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL
 0004-09-22 18:26:29.519542222  0004-09-21 16:23:25.519542222   1800s or 
Earlier        Old     Old     4       0004-09-22 18:26:29.519542222   26      
NULL    0005-09-22
 0528-10-27 08:15:18.941718273  0528-10-26 06:12:14.941718273   1800s or 
Earlier        Old     Old     528     2018-03-08 23:04:59     15      NULL    
0529-10-27
 1319-02-02 16:31:57.778        1319-02-01 14:28:53.778 1800s or Earlier        
Old     Old     1319    1319-02-02 16:31:57.778 31      NULL    1320-02-02
@@ -312,6 +311,7 @@ NULL        NULL    Unknown NULL    NULL    NULL    
2018-03-08 23:04:59     NULL    NULL    NULL
 9075-06-13 16:20:09.218517797  9075-06-12 14:17:05.218517797   Unknown NULL    
NULL    9075    2018-03-08 23:04:59     20      NULL    9075-06-14
 9209-11-11 04:08:58.223768453  9209-11-10 02:05:54.223768453   Unknown NULL    
NULL    9209    2018-03-08 23:04:59     8       NULL    9209-11-12
 9403-01-09 18:12:33.547        9403-01-08 16:09:29.547 Unknown NULL    NULL    
9403    2018-03-08 23:04:59     12      NULL    9404-01-09
+NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL
 PREHOOK: query: EXPLAIN VECTORIZATION DETAIL
 SELECT
    ctimestamp1,
@@ -443,7 +443,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: zzz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -546,7 +546,6 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@timestamps
 #### A masked pattern was here ####
 ctimestamp1    ctimestamp2     ctimestamp2_description 
ctimestamp2_description_2       ctimestamp2_description_3       field1  field_2 
field_3 field_4 field_5
-NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL
 0004-09-22 18:26:29.519542222  0004-09-21 16:23:25.519542222   1800s or 
Earlier        Old     Old     4       0004-09-22 18:26:29.519542222   26      
NULL    0005-09-22
 0528-10-27 08:15:18.941718273  0528-10-26 06:12:14.941718273   1800s or 
Earlier        Old     Old     528     2018-03-08 23:04:59     15      NULL    
0529-10-27
 1319-02-02 16:31:57.778        1319-02-01 14:28:53.778 1800s or Earlier        
Old     Old     1319    1319-02-02 16:31:57.778 31      NULL    1320-02-02
@@ -597,6 +596,7 @@ NULL        NULL    Unknown NULL    NULL    NULL    
2018-03-08 23:04:59     NULL    NULL    NULL
 9075-06-13 16:20:09.218517797  9075-06-12 14:17:05.218517797   Unknown NULL    
NULL    9075    2018-03-08 23:04:59     20      NULL    9075-06-14
 9209-11-11 04:08:58.223768453  9209-11-10 02:05:54.223768453   Unknown NULL    
NULL    9209    2018-03-08 23:04:59     8       NULL    9209-11-12
 9403-01-09 18:12:33.547        9403-01-08 16:09:29.547 Unknown NULL    NULL    
9403    2018-03-08 23:04:59     12      NULL    9404-01-09
+NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL
 PREHOOK: query: EXPLAIN VECTORIZATION DETAIL
 SELECT
    ctimestamp1,
@@ -728,7 +728,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: zzz
                 reduceColumnSortOrder: +++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -831,7 +831,6 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@timestamps
 #### A masked pattern was here ####
 ctimestamp1    ctimestamp2     ctimestamp2_description 
ctimestamp2_description_2       ctimestamp2_description_3       field1  field_2 
field_3 field_4 field_5
-NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL
 0004-09-22 18:26:29.519542222  0004-09-21 16:23:25.519542222   1800s or 
Earlier        Old     Old     4       0004-09-22 18:26:29.519542222   26      
NULL    0005-09-22
 0528-10-27 08:15:18.941718273  0528-10-26 06:12:14.941718273   1800s or 
Earlier        Old     Old     528     2018-03-08 23:04:59     15      NULL    
0529-10-27
 1319-02-02 16:31:57.778        1319-02-01 14:28:53.778 1800s or Earlier        
Old     Old     1319    1319-02-02 16:31:57.778 31      NULL    1320-02-02
@@ -882,3 +881,4 @@ NULL        NULL    Unknown NULL    NULL    NULL    
2018-03-08 23:04:59     NULL    NULL    NULL
 9075-06-13 16:20:09.218517797  9075-06-12 14:17:05.218517797   Unknown NULL    
NULL    9075    2018-03-08 23:04:59     20      NULL    9075-06-14
 9209-11-11 04:08:58.223768453  9209-11-10 02:05:54.223768453   Unknown NULL    
NULL    9209    2018-03-08 23:04:59     8       NULL    9209-11-12
 9403-01-09 18:12:33.547        9403-01-08 16:09:29.547 Unknown NULL    NULL    
9403    2018-03-08 23:04:59     12      NULL    9404-01-09
+NULL   NULL    Unknown NULL    NULL    NULL    2018-03-08 23:04:59     NULL    
NULL    NULL

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_coalesce.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_coalesce.q.out 
b/ql/src/test/results/clientpositive/llap/vector_coalesce.q.out
index bc00c98..a65603b 100644
--- a/ql/src/test/results/clientpositive/llap/vector_coalesce.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_coalesce.q.out
@@ -96,16 +96,16 @@ LIMIT 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   NULL    -413196097      -51.0   NULL    -413196097
-NULL   NULL    -413553449      11.0    NULL    -413553449
-NULL   NULL    -457224565      11.0    NULL    -457224565
-NULL   NULL    -591488718      -51.0   NULL    -591488718
-NULL   NULL    -656987896      8.0     NULL    -656987896
-NULL   NULL    -670908417      8.0     NULL    -670908417
-NULL   NULL    -738306196      -51.0   NULL    -738306196
-NULL   NULL    -819152895      8.0     NULL    -819152895
-NULL   NULL    -827212561      8.0     NULL    -827212561
-NULL   NULL    -949587513      11.0    NULL    -949587513
+NULL   00MmJs1fiJp37y60mj4Ej8  -698191930      -51.0   NULL    
00MmJs1fiJp37y60mj4Ej8
+NULL   00PafC7v        349566607       -51.0   NULL    00PafC7v
+NULL   00iT08  284688862       -51.0   NULL    00iT08
+NULL   00k3yt70n476d6UQA       -391432229      8.0     NULL    
00k3yt70n476d6UQA
+NULL   014ILGhXxNY7g02hl0Xw    633097881       11.0    NULL    
014ILGhXxNY7g02hl0Xw
+NULL   02VRbSC5I       551634127       8.0     NULL    02VRbSC5I
+NULL   02k5poW73QsWM   891702124       11.0    NULL    02k5poW73QsWM
+NULL   02v8WnLuYDos3Cq -648704945      8.0     NULL    02v8WnLuYDos3Cq
+NULL   02vDyIVT752     388584379       11.0    NULL    02vDyIVT752
+NULL   0333uXvwB3ADRa4aP1h     336245146       8.0     NULL    
0333uXvwB3ADRa4aP1h
 PREHOOK: query: EXPLAIN VECTORIZATION ONLY EXPRESSION SELECT ctinyint, 
cdouble, cint, coalesce(ctinyint+10, (cdouble+log2(cint)), 0) as c
 FROM alltypesorc
 WHERE (ctinyint IS NULL)
@@ -204,16 +204,16 @@ LIMIT 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   NULL    -1015272448     0.0
-NULL   NULL    -609074876      0.0
-NULL   NULL    -700300206      0.0
-NULL   NULL    -726473298      0.0
-NULL   NULL    -738747840      0.0
-NULL   NULL    -838810013      0.0
-NULL   NULL    -850295959      0.0
-NULL   NULL    -886426182      0.0
-NULL   NULL    -899422227      0.0
-NULL   NULL    -971543377      0.0
+NULL   -16269.0        -378213344      0.0
+NULL   -16274.0        -671342269      0.0
+NULL   -16296.0        -146635689      0.0
+NULL   -16296.0        593429004       -16266.855499800256
+NULL   -16300.0        -860437234      0.0
+NULL   -16306.0        384405526       -16277.481946165259
+NULL   -16307.0        559926362       -16277.939338135451
+NULL   -16309.0        -826497289      0.0
+NULL   -16310.0        206154150       -16282.380851737113
+NULL   -16379.0        -894716315      0.0
 PREHOOK: query: EXPLAIN VECTORIZATION ONLY EXPRESSION SELECT cfloat, cbigint, 
coalesce(cfloat, cbigint, 0) as c
 FROM alltypesorc
 WHERE (cfloat IS NULL AND cbigint IS NULL)
@@ -391,16 +391,16 @@ LIMIT 10
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@alltypesorc
 #### A masked pattern was here ####
-NULL   1969-12-31 15:59:30.929 1969-12-31 15:59:30.929
-NULL   1969-12-31 15:59:30.929 1969-12-31 15:59:30.929
-NULL   1969-12-31 15:59:30.929 1969-12-31 15:59:30.929
-NULL   1969-12-31 15:59:43.63  1969-12-31 15:59:43.63
-NULL   1969-12-31 15:59:43.658 1969-12-31 15:59:43.658
-NULL   1969-12-31 15:59:43.672 1969-12-31 15:59:43.672
-NULL   1969-12-31 15:59:43.684 1969-12-31 15:59:43.684
-NULL   1969-12-31 15:59:43.703 1969-12-31 15:59:43.703
-NULL   1969-12-31 15:59:43.704 1969-12-31 15:59:43.704
-NULL   1969-12-31 15:59:43.709 1969-12-31 15:59:43.709
+1969-12-31 15:59:30.929        1969-12-31 15:59:55.451 1969-12-31 15:59:30.929
+1969-12-31 15:59:30.929        1969-12-31 15:59:55.451 1969-12-31 15:59:30.929
+1969-12-31 15:59:30.929        1969-12-31 15:59:58.174 1969-12-31 15:59:30.929
+1969-12-31 15:59:30.929        1969-12-31 15:59:58.456 1969-12-31 15:59:30.929
+1969-12-31 15:59:43.619        1969-12-31 16:00:14.793 1969-12-31 15:59:43.619
+1969-12-31 15:59:43.627        1969-12-31 16:00:03.679 1969-12-31 15:59:43.627
+1969-12-31 15:59:43.628        1969-12-31 15:59:55.451 1969-12-31 15:59:43.628
+1969-12-31 15:59:43.631        1969-12-31 16:00:06.612 1969-12-31 15:59:43.631
+1969-12-31 15:59:43.637        1969-12-31 15:59:58.174 1969-12-31 15:59:43.637
+1969-12-31 15:59:43.64 1969-12-31 15:59:58.174 1969-12-31 15:59:43.64
 PREHOOK: query: EXPLAIN VECTORIZATION ONLY EXPRESSION SELECT cfloat, cbigint, 
coalesce(cfloat, cbigint) as c
 FROM alltypesorc
 WHERE (cfloat IS NULL AND cbigint IS NULL)

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_coalesce_4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_coalesce_4.q.out 
b/ql/src/test/results/clientpositive/llap/vector_coalesce_4.q.out
index e609d14..28415c0 100644
--- a/ql/src/test/results/clientpositive/llap/vector_coalesce_4.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_coalesce_4.q.out
@@ -98,7 +98,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: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false
@@ -142,5 +142,5 @@ POSTHOOK: query: select coalesce(a, b) from coalesce_test 
order by a, b
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@coalesce_test
 #### A masked pattern was here ####
-NULL
 1
+NULL

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_data_types.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_data_types.q.out 
b/ql/src/test/results/clientpositive/llap/vector_data_types.q.out
index 6f61adc..9bd7bc1 100644
--- a/ql/src/test/results/clientpositive/llap/vector_data_types.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_data_types.q.out
@@ -179,10 +179,6 @@ POSTHOOK: query: SELECT t, si, i, b, f, d, bo, s, ts, 
`dec`, bin FROM over1korc_
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over1korc_n1
 #### A masked pattern was here ####
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    
NULL
-NULL   374     65560   4294967516      65.43   22.48   true    oscar quirinius 
2013-03-01 09:11:58.703316      16.86   mathematics
-NULL   409     65536   4294967490      46.97   25.92   false   fred miller     
2013-03-01 09:11:58.703116      33.45   history
-NULL   473     65720   4294967324      80.74   40.6    false   holly falkner   
2013-03-01 09:11:58.703111      18.80   mathematics
 -3     275     65622   4294967302      71.78   8.49    false   wendy robinson  
2013-03-01 09:11:58.703294      95.39   undecided
 -3     344     65733   4294967363      0.56    11.96   true    rachel thompson 
2013-03-01 09:11:58.703276      88.46   wind surfing
 -3     376     65548   4294967431      96.78   43.23   false   fred ellison    
2013-03-01 09:11:58.703233      75.39   education
@@ -199,6 +195,10 @@ NULL       473     65720   4294967324      80.74   40.6    
false   holly falkner   2013-03-01 09:11:58.703
 -2     461     65648   4294967425      58.52   24.85   false   rachel thompson 
2013-03-01 09:11:58.703318      85.62   zync studies
 -1     268     65778   4294967418      56.33   44.73   true    calvin falkner  
2013-03-01 09:11:58.70322       7.37    history
 -1     281     65643   4294967323      15.1    45.0    false   irene nixon     
2013-03-01 09:11:58.703223      80.96   undecided
+-1     300     65663   4294967343      71.26   34.62   true    calvin ovid     
2013-03-01 09:11:58.703262      78.56   study skills
+-1     348     65556   4294967413      35.17   9.51    false   bob young       
2013-03-01 09:11:58.70328       45.81   quiet hour
+-1     372     65680   4294967490      15.45   18.09   false   ethan laertes   
2013-03-01 09:11:58.70311       65.88   opthamology
+-1     417     65685   4294967492      28.89   5.19    true    mike white      
2013-03-01 09:11:58.703275      90.69   forestry
 PREHOOK: query: SELECT SUM(HASH(*))
 FROM (SELECT t, si, i, b, f, d, bo, s, ts, `dec`, bin FROM over1korc_n1 ORDER 
BY t, si, i) as q
 PREHOOK: type: QUERY
@@ -314,10 +314,6 @@ POSTHOOK: query: SELECT t, si, i, b, f, d, bo, s, ts, 
`dec`, bin FROM over1korc_
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@over1korc_n1
 #### A masked pattern was here ####
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    
NULL
-NULL   374     65560   4294967516      65.43   22.48   true    oscar quirinius 
2013-03-01 09:11:58.703316      16.86   mathematics
-NULL   409     65536   4294967490      46.97   25.92   false   fred miller     
2013-03-01 09:11:58.703116      33.45   history
-NULL   473     65720   4294967324      80.74   40.6    false   holly falkner   
2013-03-01 09:11:58.703111      18.80   mathematics
 -3     275     65622   4294967302      71.78   8.49    false   wendy robinson  
2013-03-01 09:11:58.703294      95.39   undecided
 -3     344     65733   4294967363      0.56    11.96   true    rachel thompson 
2013-03-01 09:11:58.703276      88.46   wind surfing
 -3     376     65548   4294967431      96.78   43.23   false   fred ellison    
2013-03-01 09:11:58.703233      75.39   education
@@ -334,6 +330,10 @@ NULL       473     65720   4294967324      80.74   40.6    
false   holly falkner   2013-03-01 09:11:58.703
 -2     461     65648   4294967425      58.52   24.85   false   rachel thompson 
2013-03-01 09:11:58.703318      85.62   zync studies
 -1     268     65778   4294967418      56.33   44.73   true    calvin falkner  
2013-03-01 09:11:58.70322       7.37    history
 -1     281     65643   4294967323      15.1    45.0    false   irene nixon     
2013-03-01 09:11:58.703223      80.96   undecided
+-1     300     65663   4294967343      71.26   34.62   true    calvin ovid     
2013-03-01 09:11:58.703262      78.56   study skills
+-1     348     65556   4294967413      35.17   9.51    false   bob young       
2013-03-01 09:11:58.70328       45.81   quiet hour
+-1     372     65680   4294967490      15.45   18.09   false   ethan laertes   
2013-03-01 09:11:58.70311       65.88   opthamology
+-1     417     65685   4294967492      28.89   5.19    true    mike white      
2013-03-01 09:11:58.703275      90.69   forestry
 PREHOOK: query: EXPLAIN VECTORIZATION EXPRESSION 
 SELECT SUM(HASH(*))
 FROM (SELECT t, si, i, b, f, d, bo, s, ts, `dec`, bin FROM over1korc_n1 ORDER 
BY t, si, i) as q

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_date_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_date_1.q.out 
b/ql/src/test/results/clientpositive/llap/vector_date_1.q.out
index 9d96979..ec932da 100644
--- a/ql/src/test/results/clientpositive/llap/vector_date_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_date_1.q.out
@@ -58,9 +58,9 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vector_date_1
 #### A masked pattern was here ####
 vector_date_1.dt1      vector_date_1.dt2
-NULL   NULL
 1999-12-31     2000-01-01
 2001-01-01     2001-06-01
+NULL   NULL
 PREHOOK: query: explain vectorization detail
 select
   dt1, dt2,
@@ -156,7 +156,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
@@ -223,9 +223,9 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vector_date_1
 #### A masked pattern was here ####
 dt1    dt2     _c2     _c3     _c4     _c5     _c6     _c7     _c8     _c9
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 1999-12-31     2000-01-01      true    true    true    true    true    true    
true    true
 2001-01-01     2001-06-01      true    true    true    true    true    true    
true    true
+NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 PREHOOK: query: explain vectorization detail
 select
   dt1, dt2,
@@ -321,7 +321,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
@@ -388,9 +388,9 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vector_date_1
 #### A masked pattern was here ####
 dt1    dt2     _c2     _c3     _c4     _c5     _c6     _c7     _c8     _c9
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 1999-12-31     2000-01-01      false   false   false   false   false   false   
false   false
 2001-01-01     2001-06-01      false   false   false   false   false   false   
false   false
+NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 PREHOOK: query: explain vectorization detail
 select
   dt1,
@@ -486,7 +486,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
@@ -553,9 +553,9 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vector_date_1
 #### A masked pattern was here ####
 dt1    _c1     _c2     _c3     _c4     _c5     _c6     _c7     _c8
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 1999-12-31     true    true    true    true    true    true    true    true
 2001-01-01     true    true    true    true    true    true    true    true
+NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 PREHOOK: query: explain vectorization detail
 select
   dt1,
@@ -651,7 +651,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
@@ -718,9 +718,9 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@vector_date_1
 #### A masked pattern was here ####
 dt1    _c1     _c2     _c3     _c4     _c5     _c6     _c7     _c8
-NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 1999-12-31     false   false   false   false   false   false   false   false
 2001-01-01     false   false   false   false   false   false   false   false
+NULL   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
 PREHOOK: query: explain vectorization detail
 select
   dt1, dt2
@@ -820,7 +820,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

http://git-wip-us.apache.org/repos/asf/hive/blob/0427ffa5/ql/src/test/results/clientpositive/llap/vector_decimal_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vector_decimal_1.q.out 
b/ql/src/test/results/clientpositive/llap/vector_decimal_1.q.out
index 8d8cbf5..8779c3f 100644
--- a/ql/src/test/results/clientpositive/llap/vector_decimal_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_decimal_1.q.out
@@ -114,7 +114,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
@@ -158,8 +158,8 @@ POSTHOOK: query: select cast(t as boolean) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 true
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as tinyint) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -231,7 +231,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
@@ -275,8 +275,8 @@ POSTHOOK: query: select cast(t as tinyint) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as smallint) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -348,7 +348,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
@@ -392,8 +392,8 @@ POSTHOOK: query: select cast(t as smallint) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as int) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -465,7 +465,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
@@ -509,8 +509,8 @@ POSTHOOK: query: select cast(t as int) from decimal_1 order 
by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as bigint) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -582,7 +582,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
@@ -626,8 +626,8 @@ POSTHOOK: query: select cast(t as bigint) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as float) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -699,7 +699,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
@@ -743,8 +743,8 @@ POSTHOOK: query: select cast(t as float) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17.29
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as double) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -816,7 +816,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
@@ -860,8 +860,8 @@ POSTHOOK: query: select cast(t as double) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17.29
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as string) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -933,7 +933,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
@@ -977,8 +977,8 @@ POSTHOOK: query: select cast(t as string) from decimal_1 
order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 17.29
+NULL
 PREHOOK: query: explain vectorization detail
 select cast(t as timestamp) from decimal_1 order by t
 PREHOOK: type: QUERY
@@ -1050,7 +1050,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
@@ -1094,8 +1094,8 @@ POSTHOOK: query: select cast(t as timestamp) from 
decimal_1 order by t
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@decimal_1
 #### A masked pattern was here ####
-NULL
 1970-01-01 00:00:17.29
+NULL
 PREHOOK: query: drop table decimal_1
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@decimal_1

Reply via email to