http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/perf/tez/query49.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query49.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query49.q.out
index 6f642ef..5c1889c 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query49.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query49.q.out
@@ -307,7 +307,7 @@ Stage-0
                             Filter Operator [FIL_347] (rows=8604378 width=88)
                               predicate:((_col0 <= 10) or (rank_window_1 <= 
10))
                               PTF Operator [PTF_346] (rows=12906568 width=88)
-                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                 Select Operator [SEL_345] (rows=12906568 
width=88)
                                   
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                                 <-Reducer 23 [SIMPLE_EDGE] vectorized
@@ -316,7 +316,7 @@ Stage-0
                                     Select Operator [SEL_343] (rows=12906568 
width=88)
                                       
Output:["rank_window_0","_col0","_col1","_col2","_col3","_col4"]
                                       PTF Operator [PTF_342] (rows=12906568 
width=88)
-                                        Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                        Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                         Select Operator [SEL_341] 
(rows=12906568 width=88)
                                           
Output:["_col0","_col1","_col2","_col3","_col4"]
                                         <-Reducer 22 [SIMPLE_EDGE] vectorized
@@ -398,7 +398,7 @@ Stage-0
                                       Filter Operator [FIL_327] (rows=4302070 
width=135)
                                         predicate:((_col0 <= 10) or 
(rank_window_1 <= 10))
                                         PTF Operator [PTF_326] (rows=6453105 
width=135)
-                                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                           Select Operator [SEL_325] 
(rows=6453105 width=135)
                                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                                           <-Reducer 17 [SIMPLE_EDGE] vectorized
@@ -407,7 +407,7 @@ Stage-0
                                               Select Operator [SEL_323] 
(rows=6453105 width=135)
                                                 
Output:["rank_window_0","_col0","_col1","_col2","_col3","_col4"]
                                                 PTF Operator [PTF_322] 
(rows=6453105 width=135)
-                                                  Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                                  Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                                   Select Operator [SEL_321] 
(rows=6453105 width=135)
                                                     
Output:["_col0","_col1","_col2","_col3","_col4"]
                                                   <-Reducer 16 [SIMPLE_EDGE] 
vectorized
@@ -472,7 +472,7 @@ Stage-0
                                       Filter Operator [FIL_296] (rows=2151150 
width=135)
                                         predicate:((_col0 <= 10) or 
(rank_window_1 <= 10))
                                         PTF Operator [PTF_295] (rows=3226726 
width=135)
-                                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col4 AS 
decimal(15,4)) / CAST( _col5 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                           Select Operator [SEL_294] 
(rows=3226726 width=135)
                                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                                           <-Reducer 5 [SIMPLE_EDGE] vectorized
@@ -481,7 +481,7 @@ Stage-0
                                               Select Operator [SEL_292] 
(rows=3226726 width=135)
                                                 
Output:["rank_window_0","_col0","_col1","_col2","_col3","_col4"]
                                                 PTF Operator [PTF_291] 
(rows=3226726 width=135)
-                                                  Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS FIRST","partition 
by:":"0"}]
+                                                  Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"(CAST( _col1 AS 
decimal(15,4)) / CAST( _col2 AS decimal(15,4))) ASC NULLS LAST","partition 
by:":"0"}]
                                                   Select Operator [SEL_290] 
(rows=3226726 width=135)
                                                     
Output:["_col0","_col1","_col2","_col3","_col4"]
                                                   <-Reducer 4 [SIMPLE_EDGE] 
vectorized

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/perf/tez/query51.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query51.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query51.q.out
index ec9f50c..6f728d6 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query51.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query51.q.out
@@ -118,7 +118,7 @@ Stage-0
                 Filter Operator [FIL_112] (rows=116159124 width=88)
                   predicate:(max_window_0 > max_window_1)
                   PTF Operator [PTF_111] (rows=348477374 width=88)
-                    Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"CASE WHEN (_col4 
is not null) THEN (_col4) ELSE (_col1) END ASC NULLS FIRST","partition 
by:":"CASE WHEN (_col3 is not null) THEN (_col3) ELSE (_col0) END"}]
+                    Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"CASE WHEN (_col4 
is not null) THEN (_col4) ELSE (_col1) END ASC NULLS LAST","partition 
by:":"CASE WHEN (_col3 is not null) THEN (_col3) ELSE (_col0) END"}]
                     Select Operator [SEL_110] (rows=348477374 width=88)
                       Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                     <-Reducer 4 [SIMPLE_EDGE]
@@ -132,7 +132,7 @@ Stage-0
                             Select Operator [SEL_37] (rows=79201469 width=135)
                               Output:["_col0","_col1","_col2"]
                               PTF Operator [PTF_36] (rows=79201469 width=135)
-                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
FIRST","partition by:":"_col0"}]
+                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
LAST","partition by:":"_col0"}]
                                 Group By Operator [GBY_32] (rows=79201469 
width=135)
                                   
Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1
                                 <-Reducer 9 [SIMPLE_EDGE]
@@ -177,7 +177,7 @@ Stage-0
                             Select Operator [SEL_17] (rows=316797606 width=88)
                               Output:["_col0","_col1","_col2"]
                               PTF Operator [PTF_16] (rows=316797606 width=88)
-                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
FIRST","partition by:":"_col0"}]
+                                Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
LAST","partition by:":"_col0"}]
                                 Group By Operator [GBY_12] (rows=316797606 
width=88)
                                   
Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0,
 KEY._col1
                                 <-Reducer 2 [SIMPLE_EDGE]

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/perf/tez/query57.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query57.q.out 
b/ql/src/test/results/clientpositive/perf/tez/query57.q.out
index fed340a..769321f 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query57.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query57.q.out
@@ -138,7 +138,7 @@ Stage-0
                           Filter Operator [FIL_327] (rows=31942874 width=135)
                             predicate:((_col0 > 0) and (_col1 = 2000) and 
rank_window_1 is not null)
                             PTF Operator [PTF_326] (rows=191657247 width=135)
-                              Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
FIRST, _col2 ASC NULLS FIRST","partition by:":"_col5, _col4, _col3"}]
+                              Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS 
LAST, _col2 ASC NULLS LAST","partition by:":"_col5, _col4, _col3"}]
                               Select Operator [SEL_325] (rows=191657247 
width=135)
                                 
Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
                               <-Reducer 10 [SIMPLE_EDGE] vectorized
@@ -249,7 +249,7 @@ Stage-0
                       Filter Operator [FIL_313] (rows=191657247 width=135)
                         predicate:rank_window_0 is not null
                         PTF Operator [PTF_312] (rows=191657247 width=135)
-                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS 
FIRST, _col1 ASC NULLS FIRST","partition by:":"_col4, _col3, _col2"}]
+                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS 
LAST, _col1 ASC NULLS LAST","partition by:":"_col4, _col3, _col2"}]
                           Select Operator [SEL_311] (rows=191657247 width=135)
                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                           <-Reducer 5 [SIMPLE_EDGE] vectorized
@@ -264,7 +264,7 @@ Stage-0
                       Filter Operator [FIL_318] (rows=191657247 width=135)
                         predicate:rank_window_0 is not null
                         PTF Operator [PTF_317] (rows=191657247 width=135)
-                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS 
FIRST, _col1 ASC NULLS FIRST","partition by:":"_col4, _col3, _col2"}]
+                          Function 
definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS 
LAST, _col1 ASC NULLS LAST","partition by:":"_col4, _col3, _col2"}]
                           Select Operator [SEL_316] (rows=191657247 width=135)
                             
Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
                           <-Reducer 5 [SIMPLE_EDGE] vectorized

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/pointlookup2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/pointlookup2.q.out 
b/ql/src/test/results/clientpositive/pointlookup2.q.out
index b627a56..3457c1b 100644
--- a/ql/src/test/results/clientpositive/pointlookup2.q.out
+++ b/ql/src/test/results/clientpositive/pointlookup2.q.out
@@ -125,7 +125,7 @@ STAGE PLANS:
                 Statistics: Num rows: 40 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string)
-                  null sort order: aaa
+                  null sort order: zzz
                   sort order: +++
                   Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -435,7 +435,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int)
-              null sort order: a
+              null sort order: z
               sort order: +
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -720,7 +720,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int)
-              null sort order: a
+              null sort order: z
               sort order: +
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -1046,7 +1046,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col4 (type: int), _col5 (type: string), _col2 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 20 Data size: 540 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -1425,7 +1425,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int), _col1 (type: string), _col3 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 30 Data size: 810 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -1707,7 +1707,7 @@ STAGE PLANS:
                 Statistics: Num rows: 20 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string)
-                  null sort order: aaa
+                  null sort order: zzz
                   sort order: +++
                   Statistics: Num rows: 20 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -2017,7 +2017,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int)
-              null sort order: a
+              null sort order: z
               sort order: +
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -2302,7 +2302,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int)
-              null sort order: a
+              null sort order: z
               sort order: +
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -2620,7 +2620,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col4 (type: int), _col5 (type: string), _col2 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 20 Data size: 540 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -2991,7 +2991,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col0 (type: int), _col1 (type: string), _col3 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 30 Data size: 810 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/pointlookup3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/pointlookup3.q.out 
b/ql/src/test/results/clientpositive/pointlookup3.q.out
index 855e2da..d5cf4b2 100644
--- a/ql/src/test/results/clientpositive/pointlookup3.q.out
+++ b/ql/src/test/results/clientpositive/pointlookup3.q.out
@@ -79,7 +79,7 @@ STAGE PLANS:
                 Statistics: Num rows: 40 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string), _col3 (type: string)
-                  null sort order: aaaa
+                  null sort order: zzzz
                   sort order: ++++
                   Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -264,7 +264,7 @@ STAGE PLANS:
                 Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string)
-                  null sort order: aaa
+                  null sort order: zzz
                   sort order: +++
                   Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE 
Column stats: NONE
                   tag: -1
@@ -527,7 +527,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col3 (type: int), _col4 (type: string)
-              null sort order: aa
+              null sort order: zz
               sort order: ++
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -814,7 +814,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col3 (type: int), _col4 (type: string)
-              null sort order: aa
+              null sort order: zz
               sort order: ++
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -1143,7 +1143,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col4 (type: int), _col5 (type: string), _col2 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 1200 Data size: 20400 Basic stats: 
COMPLETE Column stats: NONE
               tag: -1
@@ -1473,7 +1473,7 @@ STAGE PLANS:
                 Statistics: Num rows: 20 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string), _col3 (type: string)
-                  null sort order: aaaa
+                  null sort order: zzzz
                   sort order: ++++
                   Statistics: Num rows: 20 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -1653,7 +1653,7 @@ STAGE PLANS:
                 Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string)
-                  null sort order: aaa
+                  null sort order: zzz
                   sort order: +++
                   Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE 
Column stats: NONE
                   tag: -1
@@ -1916,7 +1916,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col3 (type: int), _col4 (type: string)
-              null sort order: aa
+              null sort order: zz
               sort order: ++
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -2203,7 +2203,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col3 (type: int), _col4 (type: string)
-              null sort order: aa
+              null sort order: zz
               sort order: ++
               Statistics: Num rows: 22 Data size: 176 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1
@@ -2524,7 +2524,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col4 (type: int), _col5 (type: string), _col2 
(type: string)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 1200 Data size: 20400 Basic stats: 
COMPLETE Column stats: NONE
               tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/pointlookup4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/pointlookup4.q.out 
b/ql/src/test/results/clientpositive/pointlookup4.q.out
index 63a0e37..2e12b8a 100644
--- a/ql/src/test/results/clientpositive/pointlookup4.q.out
+++ b/ql/src/test/results/clientpositive/pointlookup4.q.out
@@ -79,7 +79,7 @@ STAGE PLANS:
                 Statistics: Num rows: 40 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string), _col3 (type: string)
-                  null sort order: aaaa
+                  null sort order: zzzz
                   sort order: ++++
                   Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -278,7 +278,7 @@ STAGE PLANS:
                 Statistics: Num rows: 20 Data size: 160 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string), 
_col2 (type: string), _col3 (type: string)
-                  null sort order: aaaa
+                  null sort order: zzzz
                   sort order: ++++
                   Statistics: Num rows: 20 Data size: 160 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/ppd_vc.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/ppd_vc.q.out 
b/ql/src/test/results/clientpositive/ppd_vc.q.out
index e8ea1ba..eae7389 100644
--- a/ql/src/test/results/clientpositive/ppd_vc.q.out
+++ b/ql/src/test/results/clientpositive/ppd_vc.q.out
@@ -676,7 +676,7 @@ STAGE PLANS:
             GatherStats: false
             Reduce Output Operator
               key expressions: _col2 (type: string), _col3 (type: string), 
_col4 (type: bigint)
-              null sort order: aaa
+              null sort order: zzz
               sort order: +++
               Statistics: Num rows: 732 Data size: 7782 Basic stats: COMPLETE 
Column stats: NONE
               tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/ptf_matchpath.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/ptf_matchpath.q.out 
b/ql/src/test/results/clientpositive/ptf_matchpath.q.out
index 8d6f071..51fe10c 100644
--- a/ql/src/test/results/clientpositive/ptf_matchpath.q.out
+++ b/ql/src/test/results/clientpositive/ptf_matchpath.q.out
@@ -88,7 +88,7 @@ STAGE PLANS:
                   input alias: ptf_1
                   arguments: 'LATE.LATE+', 'LATE', (_col5 > 15.0), 
'origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, 
tpath[0].day_of_month as tpath'
                   name: matchpath
-                  order by: _col2 ASC NULLS FIRST, _col3 ASC NULLS FIRST, 
_col4 ASC NULLS FIRST
+                  order by: _col2 ASC NULLS LAST, _col3 ASC NULLS LAST, _col4 
ASC NULLS LAST
                   output shape: tpath: int
                   partition by: _col6
                   raw input shape:
@@ -206,7 +206,7 @@ STAGE PLANS:
                   input alias: ptf_1
                   arguments: 'LATE.LATE+', 'LATE', (_col5 > 15.0), 
'origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, 
tpath[0].day_of_month as tpath'
                   name: matchpath
-                  order by: _col6 ASC NULLS FIRST, _col2 ASC NULLS FIRST, 
_col3 ASC NULLS FIRST, _col4 ASC NULLS FIRST
+                  order by: _col6 ASC NULLS LAST, _col2 ASC NULLS LAST, _col3 
ASC NULLS LAST, _col4 ASC NULLS LAST
                   output shape: tpath: int
                   partition by: 0
                   raw input shape:
@@ -322,7 +322,7 @@ STAGE PLANS:
                   input alias: ptf_1
                   arguments: 'LATE.LATE+', 'LATE', (_col5 > 15.0), 
'origin_city_name, fl_num, year, month, day_of_month, size(tpath) as sz, 
tpath[0].day_of_month as tpath'
                   name: matchpath
-                  order by: _col6 ASC NULLS FIRST, _col2 ASC NULLS FIRST, 
_col3 ASC NULLS FIRST, _col4 ASC NULLS FIRST
+                  order by: _col6 ASC NULLS LAST, _col2 ASC NULLS LAST, _col3 
ASC NULLS LAST, _col4 ASC NULLS LAST
                   output shape: tpath: int
                   partition by: 0
                   raw input shape:

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/push_or.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/push_or.q.out 
b/ql/src/test/results/clientpositive/push_or.q.out
index c59de9e..837a7ce 100644
--- a/ql/src/test/results/clientpositive/push_or.q.out
+++ b/ql/src/test/results/clientpositive/push_or.q.out
@@ -61,7 +61,7 @@ STAGE PLANS:
                 Statistics: Num rows: 40 Data size: 320 Basic stats: COMPLETE 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col2 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 40 Data size: 320 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/quotedid_basic.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/quotedid_basic.q.out 
b/ql/src/test/results/clientpositive/quotedid_basic.q.out
index b3b9b42..a749b91 100644
--- a/ql/src/test/results/clientpositive/quotedid_basic.q.out
+++ b/ql/src/test/results/clientpositive/quotedid_basic.q.out
@@ -215,7 +215,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: '1'
                   raw input shape:
                   window functions:
@@ -320,7 +320,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: '1'
                   raw input shape:
                   window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/sample6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/sample6.q.out 
b/ql/src/test/results/clientpositive/sample6.q.out
index a6a6f2c..e93e096 100644
--- a/ql/src/test/results/clientpositive/sample6.q.out
+++ b/ql/src/test/results/clientpositive/sample6.q.out
@@ -729,7 +729,7 @@ STAGE PLANS:
                 Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -1136,7 +1136,7 @@ STAGE PLANS:
                 Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -1766,7 +1766,7 @@ STAGE PLANS:
                 Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -2278,7 +2278,7 @@ STAGE PLANS:
                 Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 500 Data size: 5301 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -2730,7 +2730,7 @@ STAGE PLANS:
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -3108,7 +3108,7 @@ STAGE PLANS:
                 Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 250 Data size: 2656 Basic stats: 
COMPLETE Column stats: NONE
                   tag: -1
@@ -3377,7 +3377,7 @@ STAGE PLANS:
                 Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL 
Column stats: NONE
                 Reduce Output Operator
                   key expressions: _col0 (type: int), _col1 (type: string)
-                  null sort order: aa
+                  null sort order: zz
                   sort order: ++
                   Statistics: Num rows: 1 Data size: 0 Basic stats: PARTIAL 
Column stats: NONE
                   tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/semijoin2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/semijoin2.q.out 
b/ql/src/test/results/clientpositive/semijoin2.q.out
index f4454f0..3754492 100644
--- a/ql/src/test/results/clientpositive/semijoin2.q.out
+++ b/ql/src/test/results/clientpositive/semijoin2.q.out
@@ -157,7 +157,7 @@ STAGE PLANS:
                 Windowing table definition
                   input alias: ptf_1
                   name: windowingtablefunction
-                  order by: (_col98 + _col16) ASC NULLS FIRST, floor(_col21) 
DESC NULLS LAST
+                  order by: (_col98 + _col16) ASC NULLS LAST, floor(_col21) 
DESC NULLS LAST
                   partition by: (_col98 + _col16)
                   raw input shape:
                   window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/semijoin4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/semijoin4.q.out 
b/ql/src/test/results/clientpositive/semijoin4.q.out
index 2b75883..83db8b8 100644
--- a/ql/src/test/results/clientpositive/semijoin4.q.out
+++ b/ql/src/test/results/clientpositive/semijoin4.q.out
@@ -169,7 +169,7 @@ STAGE PLANS:
                 Windowing table definition
                   input alias: ptf_1
                   name: windowingtablefunction
-                  order by: (UDFToShort(UDFToByte(-92)) + _col1) ASC NULLS 
FIRST, floor(_col3) DESC NULLS LAST
+                  order by: (UDFToShort(UDFToByte(-92)) + _col1) ASC NULLS 
LAST, floor(_col3) DESC NULLS LAST
                   partition by: (UDFToShort(UDFToByte(-92)) + _col1)
                   raw input shape:
                   window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/semijoin5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/semijoin5.q.out 
b/ql/src/test/results/clientpositive/semijoin5.q.out
index b4c7af8..fc65f85 100644
--- a/ql/src/test/results/clientpositive/semijoin5.q.out
+++ b/ql/src/test/results/clientpositive/semijoin5.q.out
@@ -165,7 +165,7 @@ STAGE PLANS:
                 Windowing table definition
                   input alias: ptf_1
                   name: windowingtablefunction
-                  order by: (_col7 + UDFToInteger(_col5)) ASC NULLS FIRST, 
floor(_col3) DESC NULLS LAST
+                  order by: (_col7 + UDFToInteger(_col5)) ASC NULLS LAST, 
floor(_col3) DESC NULLS LAST
                   partition by: (_col7 + UDFToInteger(_col5))
                   raw input shape:
                   window functions:

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/serde_regex.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/serde_regex.q.out 
b/ql/src/test/results/clientpositive/serde_regex.q.out
index 5a19ec9..bf10555 100644
--- a/ql/src/test/results/clientpositive/serde_regex.q.out
+++ b/ql/src/test/results/clientpositive/serde_regex.q.out
@@ -200,7 +200,6 @@ POSTHOOK: query: SELECT key, value FROM serde_regex1 ORDER 
BY key, value
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@serde_regex1
 #### A masked pattern was here ####
-NULL   0
 -1234567890.123456789000000000 -1234567890
 -4400.000000000000000000       4400
 -1255.490000000000000000       -1255
@@ -238,6 +237,7 @@ NULL        0
 125.200000000000000000 125
 200.000000000000000000 200
 1234567890.123456780000000000  1234567890
+NULL   0
 PREHOOK: query: DROP TABLE serde_regex1
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@serde_regex1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoin_mapjoin1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoin_mapjoin1.q.out 
b/ql/src/test/results/clientpositive/skewjoin_mapjoin1.q.out
index df40ba8..1725668 100644
--- a/ql/src/test/results/clientpositive/skewjoin_mapjoin1.q.out
+++ b/ql/src/test/results/clientpositive/skewjoin_mapjoin1.q.out
@@ -304,14 +304,14 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n67
 POSTHOOK: Input: default@t2_n40
 #### 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_n67 a JOIN T2_n40 b ON a.key = b.key
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoin_mapjoin10.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoin_mapjoin10.q.out 
b/ql/src/test/results/clientpositive/skewjoin_mapjoin10.q.out
index b53e83b..4ba0f91 100644
--- a/ql/src/test/results/clientpositive/skewjoin_mapjoin10.q.out
+++ b/ql/src/test/results/clientpositive/skewjoin_mapjoin10.q.out
@@ -336,14 +336,14 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n151
 POSTHOOK: Input: default@t2_n88
 #### 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_n151 a JOIN T2_n88 b ON a.key = b.key
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoin_mapjoin2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoin_mapjoin2.q.out 
b/ql/src/test/results/clientpositive/skewjoin_mapjoin2.q.out
index fa0f615..f5bc3aa 100644
--- a/ql/src/test/results/clientpositive/skewjoin_mapjoin2.q.out
+++ b/ql/src/test/results/clientpositive/skewjoin_mapjoin2.q.out
@@ -330,8 +330,6 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n25
 POSTHOOK: Input: default@t2_n16
 #### A masked pattern was here ####
-NULL   NULL    4       14
-NULL   NULL    5       15
 1      11      NULL    NULL
 2      12      2       22
 3      13      3       13
@@ -340,3 +338,5 @@ NULL        NULL    5       15
 8      18      8       18
 8      28      8       18
 8      28      8       18
+NULL   NULL    4       14
+NULL   NULL    5       15

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoin_union_remove_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoin_union_remove_1.q.out 
b/ql/src/test/results/clientpositive/skewjoin_union_remove_1.q.out
index 68a5972..a7351df 100644
--- a/ql/src/test/results/clientpositive/skewjoin_union_remove_1.q.out
+++ b/ql/src/test/results/clientpositive/skewjoin_union_remove_1.q.out
@@ -310,14 +310,14 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n57
 POSTHOOK: Input: default@t2_n35
 #### 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: create table DEST1_n58(key1 STRING, val1 STRING, key2 STRING, 
val2 STRING)
 PREHOOK: type: CREATETABLE
 PREHOOK: Output: database:default
@@ -646,11 +646,11 @@ ORDER BY key1, key2, val1, val2
 POSTHOOK: type: QUERY
 POSTHOOK: Input: default@dest1_n58
 #### 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

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoinopt1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoinopt1.q.out 
b/ql/src/test/results/clientpositive/skewjoinopt1.q.out
index c948c78..93ef074 100644
--- a/ql/src/test/results/clientpositive/skewjoinopt1.q.out
+++ b/ql/src/test/results/clientpositive/skewjoinopt1.q.out
@@ -356,14 +356,14 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n101
 POSTHOOK: Input: default@t2_n64
 #### 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_n101 a JOIN T2_n64 b ON a.key = b.key
 PREHOOK: type: QUERY

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/skewjoinopt3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/skewjoinopt3.q.out 
b/ql/src/test/results/clientpositive/skewjoinopt3.q.out
index 6de674c..a5e04d9 100644
--- a/ql/src/test/results/clientpositive/skewjoinopt3.q.out
+++ b/ql/src/test/results/clientpositive/skewjoinopt3.q.out
@@ -356,8 +356,6 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@t1_n12
 POSTHOOK: Input: default@t2_n7
 #### A masked pattern was here ####
-NULL   NULL    4       14
-NULL   NULL    5       15
 1      11      NULL    NULL
 2      12      2       22
 3      13      3       13
@@ -366,3 +364,5 @@ NULL        NULL    5       15
 8      18      8       18
 8      28      8       18
 8      28      8       18
+NULL   NULL    4       14
+NULL   NULL    5       15

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out 
b/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out
index 123e844..81e34ee 100644
--- a/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out
+++ b/ql/src/test/results/clientpositive/smb_mapjoin_13.q.out
@@ -97,7 +97,7 @@ STAGE PLANS:
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Reduce Output Operator
                     key expressions: _col0 (type: int)
-                    null sort order: a
+                    null sort order: z
                     sort order: +
                     tag: -1
                     TopN: 10
@@ -278,7 +278,7 @@ STAGE PLANS:
                   Statistics: Num rows: 550 Data size: 5843 Basic stats: 
COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: int)
-                    null sort order: a
+                    null sort order: z
                     sort order: +
                     Statistics: Num rows: 550 Data size: 5843 Basic stats: 
COMPLETE Column stats: NONE
                     tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out 
b/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out
index 2ee75fd..9565606 100644
--- a/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out
+++ b/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out
@@ -191,7 +191,7 @@ STAGE PLANS:
                         Statistics: Num rows: 75 Data size: 30250 Basic stats: 
PARTIAL Column stats: NONE
                         Reduce Output Operator
                           key expressions: _col0 (type: int), _col1 (type: 
string)
-                          null sort order: aa
+                          null sort order: zz
                           sort order: ++
                           Statistics: Num rows: 75 Data size: 30250 Basic 
stats: PARTIAL Column stats: NONE
                           tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out_spark
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out_spark 
b/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out_spark
index 2a4bb8d..c23ac09 100644
--- a/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out_spark
+++ b/ql/src/test/results/clientpositive/spark/bucketmapjoin7.q.out_spark
@@ -188,7 +188,7 @@ STAGE PLANS:
                         Statistics: Num rows: 75 Data size: 30250 Basic stats: 
PARTIAL Column stats: NONE
                         Reduce Output Operator
                           key expressions: _col0 (type: int), _col1 (type: 
string)
-                          null sort order: aa
+                          null sort order: zz
                           sort order: ++
                           Statistics: Num rows: 75 Data size: 30250 Basic 
stats: PARTIAL Column stats: NONE
                           tag: -1

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/spark/cbo_limit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/cbo_limit.q.out 
b/ql/src/test/results/clientpositive/spark/cbo_limit.q.out
index c582578..a5e36d2 100644
--- a/ql/src/test/results/clientpositive/spark/cbo_limit.q.out
+++ b/ql/src/test/results/clientpositive/spark/cbo_limit.q.out
@@ -8,7 +8,7 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@cbo_t1
 POSTHOOK: Input: default@cbo_t1@dt=2014
 #### A masked pattern was here ####
-NULL   NULL    NULL
+1      4       2
 PREHOOK: query: select x, y, count(*) from (select key, (c_int+c_float+1+2) as 
x, sum(c_int) as y from cbo_t1 group by c_float, cbo_t1.c_int, key) R group by 
y, x order by x,y limit 1
 PREHOOK: type: QUERY
 PREHOOK: Input: default@cbo_t1
@@ -19,7 +19,7 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@cbo_t1
 POSTHOOK: Input: default@cbo_t1@dt=2014
 #### A masked pattern was here ####
-NULL   NULL    1
+5.0    2       3
 PREHOOK: query: select key from(select key from (select key from cbo_t1 limit 
5)cbo_t2  limit 5)cbo_t3  limit 5
 PREHOOK: type: QUERY
 PREHOOK: Input: default@cbo_t1
@@ -45,8 +45,8 @@ POSTHOOK: type: QUERY
 POSTHOOK: Input: default@cbo_t1
 POSTHOOK: Input: default@cbo_t1@dt=2014
 #### A masked pattern was here ####
-NULL   NULL
-NULL   NULL
+1      1
+1      1
 1      1
 1      1
 1      1

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/hive/blob/499d01a3/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out 
b/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
index 4ee2961..903e74b 100644
--- a/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
+++ b/ql/src/test/results/clientpositive/spark/parquet_vectorization_17.q.out
@@ -118,7 +118,7 @@ STAGE PLANS:
             Reduce Vectorization:
                 enabled: true
                 enableConditionsMet: hive.vectorized.execution.reduce.enabled 
IS true, hive.execution.engine spark IN [tez, spark] IS true
-                reduceColumnNullOrder: aa
+                reduceColumnNullOrder: zz
                 reduceColumnSortOrder: ++
                 allNative: false
                 usesVectorUDFAdaptor: false

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

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

Reply via email to