http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_expressions.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_expressions.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_expressions.q.out
index 7e9a564..5405bd8 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_expressions.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_expressions.q.out
@@ -348,7 +348,7 @@ STAGE PLANS:
                               window frame: ROWS PRECEDING(MAX)~CURRENT
                   Statistics: Num rows: 26 Data size: 9828 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: _col2 (type: string), _col7 (type: double), 
_col5 (type: int), rank_window_0 (type: int), sum_window_1 (type: double), 
(sum_window_1 - 5.0) (type: double)
+                    expressions: _col2 (type: string), _col7 (type: double), 
_col5 (type: int), rank_window_0 (type: int), sum_window_1 (type: double), 
(sum_window_1 - 5.0D) (type: double)
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 26 Data size: 3380 Basic stats: 
COMPLETE Column stats: COMPLETE
                     File Output Operator
@@ -2002,7 +2002,7 @@ STAGE PLANS:
                   Lead/Lag information: lag(...) (type: double)
                   Statistics: Num rows: 26 Data size: 9828 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: _col2 (type: string), _col7 (type: double), 
_col5 (type: int), ((round(sum_window_0, 2) + 50.0) = round((sum_window_1 + 
last_value_window_2), 2)) (type: boolean)
+                    expressions: _col2 (type: string), _col7 (type: double), 
_col5 (type: int), ((round(sum_window_0, 2) + 50.0D) = round((sum_window_1 + 
last_value_window_2), 2)) (type: boolean)
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 26 Data size: 2964 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Limit

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_navfn.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_navfn.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_navfn.q.out
index 8dc3fa7..caf9963 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_navfn.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_navfn.q.out
@@ -1424,7 +1424,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterExprOrExpr(children: FilterStringGroupColEqualStringScalar(col 7:string, 
val oscar allen), FilterStringGroupColEqualStringScalar(col 7:string, val oscar 
carson)), FilterLongColEqualLongScalar(col 0:tinyint, val 10))
-                    predicate: (((s = 'oscar allen') or (s = 'oscar carson')) 
and (t = 10)) (type: boolean)
+                    predicate: (((s = 'oscar allen') or (s = 'oscar carson')) 
and (t = 10Y)) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Reduce Output Operator
                       key expressions: UDFToByte(10) (type: tinyint), s (type: 
string)
@@ -1516,7 +1516,7 @@ STAGE PLANS:
                       streamingColumns: []
                   Statistics: Num rows: 1 Data size: 192 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
-                    expressions: 10 (type: tinyint), _col7 (type: string), 
_col2 (type: int), last_value_window_0 (type: int)
+                    expressions: 10Y (type: tinyint), _col7 (type: string), 
_col2 (type: int), last_value_window_0 (type: int)
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Select Vectorization:
                         className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
index 8aa904f..c5dd540 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_order_null.q.out
@@ -1040,7 +1040,7 @@ STAGE PLANS:
                       streamingColumns: []
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
-                    expressions: _col7 (type: string), _col2 (type: int), 
round((avg_window_0 / 10.0), 3) (type: double)
+                    expressions: _col7 (type: string), _col2 (type: int), 
round((avg_window_0 / 10.0D), 3) (type: double)
                     outputColumnNames: _col0, _col1, _col2
                     Select Vectorization:
                         className: VectorSelectOperator
@@ -1205,7 +1205,7 @@ STAGE PLANS:
                       streamingColumns: []
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
-                    expressions: _col7 (type: string), _col2 (type: int), 
round(((avg_window_0 + 10.0) - (avg_window_0 - 10.0)), 3) (type: double)
+                    expressions: _col7 (type: string), _col2 (type: int), 
round(((avg_window_0 + 10.0D) - (avg_window_0 - 10.0D)), 3) (type: double)
                     outputColumnNames: _col0, _col1, _col2
                     Select Vectorization:
                         className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_rank.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_rank.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_rank.q.out
index aa47b1b..cb8baa0 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_rank.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_rank.q.out
@@ -1638,7 +1638,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColLessLongScalar(col 0:tinyint, val 10), SelectColumnIsNotNull(col 
3:bigint))
-                    predicate: ((t < 10) and b is not null) (type: boolean)
+                    predicate: ((t < 10Y) and b is not null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 164 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: b (type: bigint), ts (type: timestamp), dec 
(type: decimal(4,2))

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_streaming.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_streaming.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_streaming.q.out
index 2c54027..ebfcf76 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_streaming.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_streaming.q.out
@@ -431,7 +431,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterLongColLessLongScalar(col 
0:tinyint, val 5)
-                    predicate: (t < 5) (type: boolean)
+                    predicate: (t < 5Y) (type: boolean)
                     Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE 
Column stats: NONE
                     Reduce Output Operator
                       key expressions: t (type: tinyint), f (type: float)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out 
b/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
index 2d48bd5..f47089e 100644
--- a/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
+++ b/ql/src/test/results/clientpositive/llap/vector_windowing_windowspec.q.out
@@ -2020,7 +2020,7 @@ STAGE PLANS:
                       streamingColumns: []
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
-                    expressions: _col7 (type: string), _col2 (type: int), 
round((avg_window_0 / 10.0), 2) (type: double)
+                    expressions: _col7 (type: string), _col2 (type: int), 
round((avg_window_0 / 10.0D), 2) (type: double)
                     outputColumnNames: _col0, _col1, _col2
                     Select Vectorization:
                         className: VectorSelectOperator
@@ -2187,7 +2187,7 @@ STAGE PLANS:
                       streamingColumns: []
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: NONE
                   Select Operator
-                    expressions: _col7 (type: string), _col2 (type: int), 
round(((avg_window_0 + 10.0) - (avg_window_0 - 10.0)), 2) (type: double)
+                    expressions: _col7 (type: string), _col2 (type: int), 
round(((avg_window_0 + 10.0D) - (avg_window_0 - 10.0D)), 2) (type: double)
                     outputColumnNames: _col0, _col1, _col2
                     Select Vectorization:
                         className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_0.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_0.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_0.q.out
index 49c3036..2e6515a 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_0.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_0.q.out
@@ -1666,7 +1666,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1 Data size: 44 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (- _col0) (type: double), 
(-6432.0 + _col0) (type: double), _col1 (type: double), (- (-6432.0 + _col0)) 
(type: double), ((- (-6432.0 + _col0)) + (-6432.0 + _col0)) (type: double), 
_col2 (type: double), (- (-6432.0 + _col0)) (type: double), (-6432.0 + (- 
(-6432.0 + _col0))) (type: double), (- (-6432.0 + _col0)) (type: double), ((- 
(-6432.0 + _col0)) / (- (-6432.0 + _col0))) (type: double), _col3 (type: 
bigint), _col4 (type: double), (_col2 % _col1) (type: double), (- _col2) (type: 
double), ((- (-6432.0 + _col0)) * (- _col0)) (type: double), _col5 (type: 
tinyint), (- _col5) (type: tinyint)
+                  expressions: _col0 (type: double), (- _col0) (type: double), 
(-6432.0D + _col0) (type: double), _col1 (type: double), (- (-6432.0D + _col0)) 
(type: double), ((- (-6432.0D + _col0)) + (-6432.0D + _col0)) (type: double), 
_col2 (type: double), (- (-6432.0D + _col0)) (type: double), (-6432.0D + (- 
(-6432.0D + _col0))) (type: double), (- (-6432.0D + _col0)) (type: double), ((- 
(-6432.0D + _col0)) / (- (-6432.0D + _col0))) (type: double), _col3 (type: 
bigint), _col4 (type: double), (_col2 % _col1) (type: double), (- _col2) (type: 
double), ((- (-6432.0D + _col0)) * (- _col0)) (type: double), _col5 (type: 
tinyint), (- _col5) (type: tinyint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17
                   Statistics: Num rows: 1 Data size: 136 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_1.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_1.q.out
index d2de8e7..8fd8a95 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_1.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_1.q.out
@@ -132,7 +132,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1 Data size: 40 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (_col0 / -26.28) (type: 
double), _col1 (type: double), (-1.389 + _col1) (type: double), (_col1 * 
(-1.389 + _col1)) (type: double), _col2 (type: tinyint), (- (_col1 * (-1.389 + 
_col1))) (type: double), _col3 (type: int), (CAST( _col3 AS decimal(10,0)) * 
79.553) (type: decimal(16,3)), _col4 (type: double), (10.175 % (- (_col1 * 
(-1.389 + _col1)))) (type: double), _col5 (type: bigint), (-563 % _col3) (type: 
int)
+                  expressions: _col0 (type: double), (_col0 / -26.28D) (type: 
double), _col1 (type: double), (-1.389D + _col1) (type: double), (_col1 * 
(-1.389D + _col1)) (type: double), _col2 (type: tinyint), (- (_col1 * (-1.389D 
+ _col1))) (type: double), _col3 (type: int), (CAST( _col3 AS decimal(10,0)) * 
79.553) (type: decimal(16,3)), _col4 (type: double), (10.175D % (- (_col1 * 
(-1.389D + _col1)))) (type: double), _col5 (type: bigint), (-563 % _col3) 
(type: int)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_10.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_10.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_10.q.out
index b6c68fb..2913167 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_10.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_10.q.out
@@ -72,10 +72,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterStringGroupColLessEqualStringScalar(col 7:string, val 10), 
FilterExprAndExpr(children: FilterDoubleColGreaterDoubleColumn(col 13:double, 
col 5:double)(children: CastLongToDouble(col 0:tinyint) -> 13:double), 
FilterDecimalScalarGreaterEqualDecimalColumn(val -5638.15, col 
14:decimal(6,2))(children: CastLongToDecimal(col 0:tinyint) -> 
14:decimal(6,2))), FilterExprAndExpr(children: 
FilterDoubleColGreaterDoubleScalar(col 5:double, val 6981.0), 
FilterExprOrExpr(children: FilterDecimalColEqualDecimalScalar(col 
15:decimal(11,4), val 9763215.5639)(children: CastLongToDecimal(col 1:smallint) 
-> 15:decimal(11,4)), FilterStringColLikeStringScalar(col 6:string, pattern 
%a))))
-                    predicate: (((UDFToDouble(ctinyint) > cdouble) and 
(-5638.15 >= CAST( ctinyint AS decimal(6,2)))) or ((cdouble > 6981.0) and 
((CAST( csmallint AS decimal(11,4)) = 9763215.5639) or (cstring1 like '%a'))) 
or (cstring2 <= '10')) (type: boolean)
+                    predicate: (((UDFToDouble(ctinyint) > cdouble) and 
(-5638.15 >= CAST( ctinyint AS decimal(6,2)))) or ((cdouble > 6981.0D) and 
((CAST( csmallint AS decimal(11,4)) = 9763215.5639) or (cstring1 like '%a'))) 
or (cstring2 <= '10')) (type: boolean)
                     Statistics: Num rows: 9557 Data size: 1937820 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cdouble (type: double), ctimestamp1 (type: 
timestamp), ctinyint (type: tinyint), cboolean1 (type: boolean), cstring1 
(type: string), (- cdouble) (type: double), (cdouble + UDFToDouble(csmallint)) 
(type: double), ((cdouble + UDFToDouble(csmallint)) % 33.0) (type: double), (- 
cdouble) (type: double), (UDFToDouble(ctinyint) % cdouble) (type: double), 
(UDFToShort(ctinyint) % csmallint) (type: smallint), (- cdouble) (type: 
double), (cbigint * UDFToLong((UDFToShort(ctinyint) % csmallint))) (type: 
bigint), (9763215.5639 - (cdouble + UDFToDouble(csmallint))) (type: double), (- 
(- cdouble)) (type: double)
+                      expressions: cdouble (type: double), ctimestamp1 (type: 
timestamp), ctinyint (type: tinyint), cboolean1 (type: boolean), cstring1 
(type: string), (- cdouble) (type: double), (cdouble + UDFToDouble(csmallint)) 
(type: double), ((cdouble + UDFToDouble(csmallint)) % 33.0D) (type: double), (- 
cdouble) (type: double), (UDFToDouble(ctinyint) % cdouble) (type: double), 
(UDFToShort(ctinyint) % csmallint) (type: smallint), (- cdouble) (type: 
double), (cbigint * UDFToLong((UDFToShort(ctinyint) % csmallint))) (type: 
bigint), (9763215.5639D - (cdouble + UDFToDouble(csmallint))) (type: double), 
(- (- cdouble)) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14
                       Select Vectorization:
                           className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_11.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_11.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_11.q.out
index bb0feec..69c22fb 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_11.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_11.q.out
@@ -57,7 +57,7 @@ STAGE PLANS:
                     predicate: ((cstring2 = cstring1) or (ctimestamp1 is null 
and (cstring1 like '%a'))) (type: boolean)
                     Statistics: Num rows: 6144 Data size: 1190792 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cstring1 (type: string), cboolean1 (type: 
boolean), cdouble (type: double), ctimestamp1 (type: timestamp), (-3728 * 
UDFToInteger(csmallint)) (type: int), (cdouble - 9763215.5639) (type: double), 
(- cdouble) (type: double), ((- cdouble) + 6981.0) (type: double), (cdouble * 
-5638.15) (type: double)
+                      expressions: cstring1 (type: string), cboolean1 (type: 
boolean), cdouble (type: double), ctimestamp1 (type: timestamp), (-3728 * 
UDFToInteger(csmallint)) (type: int), (cdouble - 9763215.5639D) (type: double), 
(- cdouble) (type: double), ((- cdouble) + 6981.0D) (type: double), (cdouble * 
-5638.15D) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8
                       Select Vectorization:
                           className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_12.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_12.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_12.q.out
index 77f8e3b..a0365ec 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_12.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_12.q.out
@@ -160,7 +160,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8
                 Statistics: Num rows: 1 Data size: 154 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: bigint), _col3 (type: boolean), 
_col2 (type: string), _col0 (type: double), (-6432.0 * _col0) (type: double), 
(- _col1) (type: bigint), _col4 (type: bigint), (_col1 * _col4) (type: bigint), 
_col5 (type: double), ((-6432.0 * _col0) / -6432.0) (type: double), (- 
((-6432.0 * _col0) / -6432.0)) (type: double), _col6 (type: double), (- 
(-6432.0 * _col0)) (type: double), (-5638.15 + CAST( _col1 AS decimal(19,0))) 
(type: decimal(22,2)), _col7 (type: bigint), (_col6 / (-6432.0 * _col0)) (type: 
double), (- (- ((-6432.0 * _col0) / -6432.0))) (type: double), (((-6432.0 * 
_col0) / -6432.0) + (- (-6432.0 * _col0))) (type: double), _col8 (type: double)
+                  expressions: _col1 (type: bigint), _col3 (type: boolean), 
_col2 (type: string), _col0 (type: double), (-6432.0D * _col0) (type: double), 
(- _col1) (type: bigint), _col4 (type: bigint), (_col1 * _col4) (type: bigint), 
_col5 (type: double), ((-6432.0D * _col0) / -6432.0D) (type: double), (- 
((-6432.0D * _col0) / -6432.0D)) (type: double), _col6 (type: double), (- 
(-6432.0D * _col0)) (type: double), (-5638.15 + CAST( _col1 AS decimal(19,0))) 
(type: decimal(22,2)), _col7 (type: bigint), (_col6 / (-6432.0D * _col0)) 
(type: double), (- (- ((-6432.0D * _col0) / -6432.0D))) (type: double), 
(((-6432.0D * _col0) / -6432.0D) + (- (-6432.0D * _col0))) (type: double), 
_col8 (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col17, _col18, _col19
                   Statistics: Num rows: 1 Data size: 338 Basic stats: COMPLETE 
Column stats: COMPLETE
                   Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_13.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_13.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_13.q.out
index 23914f8..7d6d930 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_13.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_13.q.out
@@ -94,7 +94,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterDoubleColLessDoubleScalar(col 4:float, val 
3569.0), FilterDoubleScalarGreaterEqualDoubleColumn(val 10.175, col 5:double), 
FilterLongColNotEqualLongScalar(col 10:boolean, val 1)), 
FilterExprAndExpr(children: FilterDoubleColGreaterDoubleScalar(col 13:double, 
val 11.0)(children: CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleScalar(col 13:double, val 12.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double), 
FilterDecimalColLessDecimalScalar(col 14:decimal(11,4), val 
9763215.5639)(children: CastLongToDecimal(col 0:tinyint) -> 14:decimal(11,4))))
-                    predicate: (((UDFToDouble(ctimestamp1) > 11.0) and 
(UDFToDouble(ctimestamp2) <> 12.0) and (CAST( ctinyint AS decimal(11,4)) < 
9763215.5639)) or ((cfloat < 3569) and (10.175 >= cdouble) and (cboolean1 <> 
1))) (type: boolean)
+                    predicate: (((UDFToDouble(ctimestamp1) > 11.0D) and 
(UDFToDouble(ctimestamp2) <> 12.0D) and (CAST( ctinyint AS decimal(11,4)) < 
9763215.5639)) or ((cfloat < 3569) and (10.175D >= cdouble) and (cboolean1 <> 
1))) (type: boolean)
                     Statistics: Num rows: 5461 Data size: 901772 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), cfloat (type: 
float), cstring1 (type: string), ctimestamp1 (type: timestamp), cboolean1 
(type: boolean)
@@ -162,7 +162,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Statistics: Num rows: 1365 Data size: 211860 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: boolean), _col1 (type: tinyint), 
_col2 (type: timestamp), _col3 (type: float), _col4 (type: string), (- _col1) 
(type: tinyint), _col5 (type: tinyint), ((- _col1) + _col5) (type: tinyint), 
_col6 (type: double), (_col6 * UDFToDouble(((- _col1) + _col5))) (type: 
double), (- _col6) (type: double), (79.553 * _col3) (type: float), _col7 (type: 
double), (- _col6) (type: double), _col8 (type: double), (CAST( ((- _col1) + 
_col5) AS decimal(3,0)) - 10.175) (type: decimal(7,3)), (- (- _col6)) (type: 
double), (-26.28 / (- (- _col6))) (type: double), _col9 (type: float), ((_col6 
* UDFToDouble(((- _col1) + _col5))) / UDFToDouble(_col1)) (type: double), 
_col10 (type: tinyint)
+                  expressions: _col0 (type: boolean), _col1 (type: tinyint), 
_col2 (type: timestamp), _col3 (type: float), _col4 (type: string), (- _col1) 
(type: tinyint), _col5 (type: tinyint), ((- _col1) + _col5) (type: tinyint), 
_col6 (type: double), (_col6 * UDFToDouble(((- _col1) + _col5))) (type: 
double), (- _col6) (type: double), (79.553 * _col3) (type: float), _col7 (type: 
double), (- _col6) (type: double), _col8 (type: double), (CAST( ((- _col1) + 
_col5) AS decimal(3,0)) - 10.175) (type: decimal(7,3)), (- (- _col6)) (type: 
double), (-26.28D / (- (- _col6))) (type: double), _col9 (type: float), ((_col6 
* UDFToDouble(((- _col1) + _col5))) / UDFToDouble(_col1)) (type: double), 
_col10 (type: tinyint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20
                   Statistics: Num rows: 1365 Data size: 446640 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
@@ -420,7 +420,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterDoubleColLessDoubleScalar(col 4:float, val 
3569.0), FilterDoubleScalarGreaterEqualDoubleColumn(val 10.175, col 5:double), 
FilterLongColNotEqualLongScalar(col 10:boolean, val 1)), 
FilterExprAndExpr(children: FilterDoubleColGreaterDoubleScalar(col 13:double, 
val -1.388)(children: CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleScalar(col 13:double, val 
-1.3359999999999999)(children: CastTimestampToDouble(col 9:timestamp) -> 
13:double), FilterDecimalColLessDecimalScalar(col 14:decimal(11,4), val 
9763215.5639)(children: CastLongToDecimal(col 0:tinyint) -> 14:decimal(11,4))))
-                    predicate: (((UDFToDouble(ctimestamp1) > -1.388) and 
(UDFToDouble(ctimestamp2) <> -1.3359999999999999) and (CAST( ctinyint AS 
decimal(11,4)) < 9763215.5639)) or ((cfloat < 3569) and (10.175 >= cdouble) and 
(cboolean1 <> 1))) (type: boolean)
+                    predicate: (((UDFToDouble(ctimestamp1) > -1.388D) and 
(UDFToDouble(ctimestamp2) <> -1.3359999999999999D) and (CAST( ctinyint AS 
decimal(11,4)) < 9763215.5639)) or ((cfloat < 3569) and (10.175D >= cdouble) 
and (cboolean1 <> 1))) (type: boolean)
                     Statistics: Num rows: 5461 Data size: 901772 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), cfloat (type: 
float), cstring1 (type: string), ctimestamp1 (type: timestamp), cboolean1 
(type: boolean)
@@ -480,7 +480,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Statistics: Num rows: 1365 Data size: 211860 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: boolean), _col1 (type: tinyint), 
_col2 (type: timestamp), _col3 (type: float), _col4 (type: string), (- _col1) 
(type: tinyint), _col5 (type: tinyint), ((- _col1) + _col5) (type: tinyint), 
_col6 (type: double), (_col6 * UDFToDouble(((- _col1) + _col5))) (type: 
double), (- _col6) (type: double), (79.553 * _col3) (type: float), _col7 (type: 
double), (- _col6) (type: double), _col8 (type: double), (CAST( ((- _col1) + 
_col5) AS decimal(3,0)) - 10.175) (type: decimal(7,3)), (- (- _col6)) (type: 
double), (-26.28 / (- (- _col6))) (type: double), _col9 (type: float), ((_col6 
* UDFToDouble(((- _col1) + _col5))) / UDFToDouble(_col1)) (type: double), 
_col10 (type: tinyint)
+                  expressions: _col0 (type: boolean), _col1 (type: tinyint), 
_col2 (type: timestamp), _col3 (type: float), _col4 (type: string), (- _col1) 
(type: tinyint), _col5 (type: tinyint), ((- _col1) + _col5) (type: tinyint), 
_col6 (type: double), (_col6 * UDFToDouble(((- _col1) + _col5))) (type: 
double), (- _col6) (type: double), (79.553 * _col3) (type: float), _col7 (type: 
double), (- _col6) (type: double), _col8 (type: double), (CAST( ((- _col1) + 
_col5) AS decimal(3,0)) - 10.175) (type: decimal(7,3)), (- (- _col6)) (type: 
double), (-26.28D / (- (- _col6))) (type: double), _col9 (type: float), ((_col6 
* UDFToDouble(((- _col1) + _col5))) / UDFToDouble(_col1)) (type: double), 
_col10 (type: tinyint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20
                   Statistics: Num rows: 1365 Data size: 446640 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_14.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_14.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_14.q.out
index c7a32e3..0a631ca 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_14.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_14.q.out
@@ -94,10 +94,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColLessEqualLongColumn(col 0:bigint, col 3:bigint)(children: col 
0:tinyint), FilterExprOrExpr(children: FilterDoubleColLessEqualDoubleColumn(col 
13:double, col 5:double)(children: CastLongToDouble(col 2:int) -> 13:double), 
FilterTimestampColLessTimestampColumn(col 9:timestamp, col 8:timestamp)), 
FilterDoubleColLessDoubleColumn(col 5:double, col 13:double)(children: 
CastLongToDouble(col 0:tinyint) -> 13:double), FilterExprOrExpr(children: 
FilterLongColGreaterLongScalar(col 3:bigint, val -257), 
FilterDoubleColLessDoubleColumn(col 4:float, col 13:float)(children: 
CastLongToFloatViaLongToDouble(col 2:int) -> 13:float)))
-                    predicate: (((UDFToDouble(cint) <= cdouble) or 
(ctimestamp2 < ctimestamp1)) and ((cbigint > -257) or (cfloat < 
UDFToFloat(cint))) and (UDFToLong(ctinyint) <= cbigint) and (cdouble < 
UDFToDouble(ctinyint))) (type: boolean)
+                    predicate: (((UDFToDouble(cint) <= cdouble) or 
(ctimestamp2 < ctimestamp1)) and ((cbigint > -257L) or (cfloat < 
UDFToFloat(cint))) and (UDFToLong(ctinyint) <= cbigint) and (cdouble < 
UDFToDouble(ctinyint))) (type: boolean)
                     Statistics: Num rows: 606 Data size: 105558 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: ctimestamp1 (type: timestamp), cfloat 
(type: float), cstring1 (type: string), cboolean1 (type: boolean), cdouble 
(type: double), (- (-26.28 + cdouble)) (type: double)
+                      expressions: ctimestamp1 (type: timestamp), cfloat 
(type: float), cstring1 (type: string), cboolean1 (type: boolean), cdouble 
(type: double), (- (-26.28D + cdouble)) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5
                       Select Vectorization:
                           className: VectorSelectOperator
@@ -163,7 +163,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Statistics: Num rows: 151 Data size: 25224 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col3 (type: timestamp), _col1 (type: float), 
_col0 (type: string), _col4 (type: boolean), _col2 (type: double), (-26.28 + 
_col2) (type: double), (- (-26.28 + _col2)) (type: double), _col5 (type: 
double), (_col1 * -26.28) (type: float), _col6 (type: float), (- _col1) (type: 
float), (- _col6) (type: float), ((- (-26.28 + _col2)) / 10.175) (type: 
double), _col7 (type: double), _col8 (type: bigint), (- ((- (-26.28 + _col2)) / 
10.175)) (type: double), (-1.389 % _col5) (type: double), (UDFToDouble(_col1) - 
_col2) (type: double), _col9 (type: double), (_col9 % 10.175) (type: double), 
_col10 (type: double), (- (UDFToDouble(_col1) - _col2)) (type: double)
+                  expressions: _col3 (type: timestamp), _col1 (type: float), 
_col0 (type: string), _col4 (type: boolean), _col2 (type: double), (-26.28D + 
_col2) (type: double), (- (-26.28D + _col2)) (type: double), _col5 (type: 
double), (_col1 * -26.28) (type: float), _col6 (type: float), (- _col1) (type: 
float), (- _col6) (type: float), ((- (-26.28D + _col2)) / 10.175D) (type: 
double), _col7 (type: double), _col8 (type: bigint), (- ((- (-26.28D + _col2)) 
/ 10.175D)) (type: double), (-1.389D % _col5) (type: double), 
(UDFToDouble(_col1) - _col2) (type: double), _col9 (type: double), (_col9 % 
10.175D) (type: double), _col10 (type: double), (- (UDFToDouble(_col1) - 
_col2)) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20, _col21
                   Statistics: Num rows: 151 Data size: 36700 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_15.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_15.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_15.q.out
index 9ab5965..b398178 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_15.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_15.q.out
@@ -90,7 +90,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterStringColLikeStringScalar(col 7:string, pattern %ss%), 
FilterStringColLikeStringScalar(col 6:string, pattern 10%), 
FilterExprAndExpr(children: FilterLongColGreaterEqualLongScalar(col 2:int, val 
-75), FilterLongColEqualLongColumn(col 0:smallint, col 1:smallint)(children: 
col 0:tinyint), FilterDoubleColGreaterEqualDoubleScalar(col 5:double, val 
-3728.0)))
-                    predicate: (((cint >= -75) and (UDFToShort(ctinyint) = 
csmallint) and (cdouble >= -3728.0)) or (cstring1 like '10%') or (cstring2 like 
'%ss%')) (type: boolean)
+                    predicate: (((cint >= -75) and (UDFToShort(ctinyint) = 
csmallint) and (cdouble >= -3728.0D)) or (cstring1 like '10%') or (cstring2 
like '%ss%')) (type: boolean)
                     Statistics: Num rows: 12288 Data size: 2491562 Basic 
stats: COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), cint (type: int), 
cfloat (type: float), cdouble (type: double), cstring1 (type: string), 
ctimestamp1 (type: timestamp), cboolean1 (type: boolean)
@@ -157,7 +157,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12
                 Statistics: Num rows: 3072 Data size: 541028 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: float), _col1 (type: boolean), 
_col2 (type: double), _col3 (type: string), _col4 (type: tinyint), _col5 (type: 
int), _col6 (type: timestamp), _col7 (type: double), (-26.28 - CAST( _col5 AS 
decimal(10,0))) (type: decimal(13,2)), _col8 (type: double), (_col2 * 79.553) 
(type: double), (33.0 % _col0) (type: float), _col9 (type: double), _col10 
(type: double), (-23.0 % _col2) (type: double), (- _col4) (type: tinyint), 
_col11 (type: double), (UDFToFloat(_col5) - _col0) (type: float), (-23 % 
UDFToInteger(_col4)) (type: int), (- (-26.28 - CAST( _col5 AS decimal(10,0)))) 
(type: decimal(13,2)), _col12 (type: double)
+                  expressions: _col0 (type: float), _col1 (type: boolean), 
_col2 (type: double), _col3 (type: string), _col4 (type: tinyint), _col5 (type: 
int), _col6 (type: timestamp), _col7 (type: double), (-26.28 - CAST( _col5 AS 
decimal(10,0))) (type: decimal(13,2)), _col8 (type: double), (_col2 * 79.553D) 
(type: double), (33.0 % _col0) (type: float), _col9 (type: double), _col10 
(type: double), (-23.0D % _col2) (type: double), (- _col4) (type: tinyint), 
_col11 (type: double), (UDFToFloat(_col5) - _col0) (type: float), (-23 % 
UDFToInteger(_col4)) (type: int), (- (-26.28 - CAST( _col5 AS decimal(10,0)))) 
(type: decimal(13,2)), _col12 (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20
                   Statistics: Num rows: 3072 Data size: 1327460 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_16.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_16.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_16.q.out
index e7d873f..336e36e 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_16.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_16.q.out
@@ -67,7 +67,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterStringColLikeStringScalar(col 7:string, pattern %b%), 
FilterExprOrExpr(children: FilterDoubleColGreaterEqualDoubleScalar(col 
5:double, val -1.389), FilterStringGroupColLessStringScalar(col 6:string, val 
a)))
-                    predicate: (((cdouble >= -1.389) or (cstring1 < 'a')) and 
(cstring2 like '%b%')) (type: boolean)
+                    predicate: (((cdouble >= -1.389D) or (cstring1 < 'a')) and 
(cstring2 like '%b%')) (type: boolean)
                     Statistics: Num rows: 4096 Data size: 769522 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: cdouble (type: double), cstring1 (type: 
string), ctimestamp1 (type: timestamp)
@@ -135,7 +135,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1024 Data size: 143566 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: string), _col0 (type: double), 
_col2 (type: timestamp), (_col0 - 9763215.5639) (type: double), (- (_col0 - 
9763215.5639)) (type: double), _col3 (type: bigint), _col4 (type: double), (- 
_col4) (type: double), (_col4 * UDFToDouble(_col3)) (type: double), _col5 
(type: double), (9763215.5639 / _col0) (type: double), (CAST( _col3 AS 
decimal(19,0)) / -1.389) (type: decimal(28,6)), _col4 (type: double)
+                  expressions: _col1 (type: string), _col0 (type: double), 
_col2 (type: timestamp), (_col0 - 9763215.5639D) (type: double), (- (_col0 - 
9763215.5639D)) (type: double), _col3 (type: bigint), _col4 (type: double), (- 
_col4) (type: double), (_col4 * UDFToDouble(_col3)) (type: double), _col5 
(type: double), (9763215.5639D / _col0) (type: double), (CAST( _col3 AS 
decimal(19,0)) / -1.389) (type: decimal(28,6)), _col4 (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12
                   Statistics: Num rows: 1024 Data size: 307406 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_17.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_17.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_17.q.out
index bdcb1eb..63c9261 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_17.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_17.q.out
@@ -75,10 +75,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColGreaterLongScalar(col 3:bigint, val -23), 
FilterExprOrExpr(children: FilterDoubleColNotEqualDoubleScalar(col 5:double, 
val 988888.0), FilterDecimalColGreaterDecimalScalar(col 13:decimal(13,3), val 
-863.257)(children: CastLongToDecimal(col 2:int) -> 13:decimal(13,3))), 
FilterExprOrExpr(children: FilterLongColGreaterEqualLongScalar(col 0:tinyint, 
val 33), FilterLongColGreaterEqualLongColumn(col 1:bigint, col 
3:bigint)(children: col 1:smallint), FilterDoubleColEqualDoubleColumn(col 
4:double, col 5:double)(children: col 4:float)))
-                    predicate: (((cdouble <> 988888.0) or (CAST( cint AS 
decimal(13,3)) > -863.257)) and ((ctinyint >= 33) or (UDFToLong(csmallint) >= 
cbigint) or (UDFToDouble(cfloat) = cdouble)) and (cbigint > -23)) (type: 
boolean)
+                    predicate: (((cdouble <> 988888.0D) or (CAST( cint AS 
decimal(13,3)) > -863.257)) and ((ctinyint >= 33Y) or (UDFToLong(csmallint) >= 
cbigint) or (UDFToDouble(cfloat) = cdouble)) and (cbigint > -23L)) (type: 
boolean)
                     Statistics: Num rows: 4096 Data size: 549274 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cfloat (type: float), cstring1 (type: 
string), cint (type: int), ctimestamp1 (type: timestamp), cdouble (type: 
double), cbigint (type: bigint), (UDFToDouble(cfloat) / UDFToDouble(ctinyint)) 
(type: double), (UDFToLong(cint) % cbigint) (type: bigint), (- cdouble) (type: 
double), (cdouble + (UDFToDouble(cfloat) / UDFToDouble(ctinyint))) (type: 
double), (cdouble / UDFToDouble(cint)) (type: double), (- (- cdouble)) (type: 
double), (9763215.5639 % CAST( cbigint AS decimal(19,0))) (type: 
decimal(11,4)), (2563.58 + (- (- cdouble))) (type: double)
+                      expressions: cfloat (type: float), cstring1 (type: 
string), cint (type: int), ctimestamp1 (type: timestamp), cdouble (type: 
double), cbigint (type: bigint), (UDFToDouble(cfloat) / UDFToDouble(ctinyint)) 
(type: double), (UDFToLong(cint) % cbigint) (type: bigint), (- cdouble) (type: 
double), (cdouble + (UDFToDouble(cfloat) / UDFToDouble(ctinyint))) (type: 
double), (cdouble / UDFToDouble(cint)) (type: double), (- (- cdouble)) (type: 
double), (9763215.5639 % CAST( cbigint AS decimal(19,0))) (type: 
decimal(11,4)), (2563.58D + (- (- cdouble))) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                       Select Vectorization:
                           className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_2.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_2.q.out
index 2d4b703..2cb824e 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_2.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_2.q.out
@@ -73,7 +73,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterTimestampColLessTimestampColumn(col 
8:timestamp, col 9:timestamp), FilterStringColLikeStringScalar(col 7:string, 
pattern b%), FilterDoubleColLessEqualDoubleScalar(col 4:float, val 
-5638.14990234375)), FilterExprAndExpr(children: 
FilterDoubleColLessDoubleColumn(col 5:double, col 13:double)(children: 
CastLongToDouble(col 0:tinyint) -> 13:double), FilterExprOrExpr(children: 
FilterDoubleScalarNotEqualDoubleColumn(val -10669.0, col 13:double)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double), 
FilterLongScalarGreaterLongColumn(val 359, col 2:int))))
-                    predicate: (((cdouble < UDFToDouble(ctinyint)) and 
((-10669.0 <> UDFToDouble(ctimestamp2)) or (359 > cint))) or ((ctimestamp1 < 
ctimestamp2) and (cstring2 like 'b%') and (cfloat <= -5638.15))) (type: boolean)
+                    predicate: (((cdouble < UDFToDouble(ctinyint)) and 
((-10669.0D <> UDFToDouble(ctimestamp2)) or (359 > cint))) or ((ctimestamp1 < 
ctimestamp2) and (cstring2 like 'b%') and (cfloat <= -5638.15))) (type: boolean)
                     Statistics: Num rows: 4096 Data size: 719232 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cbigint (type: bigint), cfloat (type: float), cdouble (type: double)
@@ -136,7 +136,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1 Data size: 44 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (_col0 % -563.0) (type: 
double), (_col0 + 762.0) (type: double), _col1 (type: double), _col2 (type: 
double), (- _col2) (type: double), (_col1 - _col0) (type: double), _col3 (type: 
bigint), (- (_col1 - _col0)) (type: double), (_col2 - 762.0) (type: double), 
_col4 (type: tinyint), ((- _col2) + UDFToDouble(_col4)) (type: double), _col5 
(type: double), (((- _col2) + UDFToDouble(_col4)) - _col1) (type: double)
+                  expressions: _col0 (type: double), (_col0 % -563.0D) (type: 
double), (_col0 + 762.0D) (type: double), _col1 (type: double), _col2 (type: 
double), (- _col2) (type: double), (_col1 - _col0) (type: double), _col3 (type: 
bigint), (- (_col1 - _col0)) (type: double), (_col2 - 762.0D) (type: double), 
_col4 (type: tinyint), ((- _col2) + UDFToDouble(_col4)) (type: double), _col5 
(type: double), (((- _col2) + UDFToDouble(_col4)) - _col1) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                   Statistics: Num rows: 1 Data size: 108 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_3.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_3.q.out
index 9de4fcd..13da835 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_3.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_3.q.out
@@ -78,7 +78,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterDoubleColLessEqualDoubleColumn(col 13:float, 
col 4:float)(children: CastLongToFloatViaLongToDouble(col 2:int) -> 13:float), 
FilterDecimalScalarNotEqualDecimalColumn(val 79.553, col 
14:decimal(22,3))(children: CastLongToDecimal(col 3:bigint) -> 
14:decimal(22,3)), FilterDoubleColEqualDoubleScalar(col 13:double, val 
-29071.0)(children: CastTimestampToDouble(col 9:timestamp) -> 13:double)), 
FilterExprAndExpr(children: FilterDoubleColGreaterDoubleColumn(col 13:double, 
col 5:double)(children: CastLongToDouble(col 3:bigint) -> 13:double), 
FilterDecimalScalarLessEqualDecimalColumn(val 79.553, col 
15:decimal(8,3))(children: CastLongToDecimal(col 1:smallint) -> 
15:decimal(8,3)), FilterTimestampColGreaterTimestampColumn(col 8:timestamp, col 
9:timestamp)))
-                    predicate: (((UDFToDouble(cbigint) > cdouble) and (79.553 
<= CAST( csmallint AS decimal(8,3))) and (ctimestamp1 > ctimestamp2)) or 
((UDFToFloat(cint) <= cfloat) and (79.553 <> CAST( cbigint AS decimal(22,3))) 
and (UDFToDouble(ctimestamp2) = -29071.0))) (type: boolean)
+                    predicate: (((UDFToDouble(cbigint) > cdouble) and (79.553 
<= CAST( csmallint AS decimal(8,3))) and (ctimestamp1 > ctimestamp2)) or 
((UDFToFloat(cint) <= cfloat) and (79.553 <> CAST( cbigint AS decimal(22,3))) 
and (UDFToDouble(ctimestamp2) = -29071.0D))) (type: boolean)
                     Statistics: Num rows: 2503 Data size: 260060 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cfloat (type: float)
@@ -141,7 +141,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1 Data size: 48 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (_col0 - 10.175) (type: 
double), _col1 (type: double), (_col0 * (_col0 - 10.175)) (type: double), (- 
_col1) (type: double), (_col0 % 79.553) (type: double), (- (_col0 * (_col0 - 
10.175))) (type: double), _col2 (type: double), (- _col0) (type: double), _col3 
(type: double), ((- (_col0 * (_col0 - 10.175))) / (_col0 - 10.175)) (type: 
double), (- (_col0 - 10.175)) (type: double), _col4 (type: double), (-3728.0 - 
_col0) (type: double), _col5 (type: double), (_col4 / _col2) (type: double)
+                  expressions: _col0 (type: double), (_col0 - 10.175D) (type: 
double), _col1 (type: double), (_col0 * (_col0 - 10.175D)) (type: double), (- 
_col1) (type: double), (_col0 % 79.553D) (type: double), (- (_col0 * (_col0 - 
10.175D))) (type: double), _col2 (type: double), (- _col0) (type: double), 
_col3 (type: double), ((- (_col0 * (_col0 - 10.175D))) / (_col0 - 10.175D)) 
(type: double), (- (_col0 - 10.175D)) (type: double), _col4 (type: double), 
(-3728.0D - _col0) (type: double), _col5 (type: double), (_col4 / _col2) (type: 
double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15
                   Statistics: Num rows: 1 Data size: 128 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_4.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_4.q.out
index a2142b7..227b2a6 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_4.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_4.q.out
@@ -73,7 +73,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterLongColGreaterEqualLongColumn(col 1:int, col 2:int)(children: col 
1:smallint), FilterExprAndExpr(children: 
FilterLongScalarGreaterEqualLongColumn(val -89010, col 0:int)(children: col 
0:tinyint), FilterDoubleColGreaterDoubleScalar(col 5:double, val 79.553)), 
FilterExprAndExpr(children: FilterLongScalarNotEqualLongColumn(val -563, col 
3:bigint), FilterExprOrExpr(children: FilterLongColNotEqualLongColumn(col 
0:bigint, col 3:bigint)(children: col 0:tinyint), 
FilterDoubleScalarGreaterEqualDoubleColumn(val -3728.0, col 5:double))))
-                    predicate: (((-563 <> cbigint) and ((UDFToLong(ctinyint) 
<> cbigint) or (-3728.0 >= cdouble))) or ((-89010 >= UDFToInteger(ctinyint)) 
and (cdouble > 79.553)) or (UDFToInteger(csmallint) >= cint)) (type: boolean)
+                    predicate: (((-563L <> cbigint) and ((UDFToLong(ctinyint) 
<> cbigint) or (-3728.0D >= cdouble))) or ((-89010 >= UDFToInteger(ctinyint)) 
and (cdouble > 79.553D)) or (UDFToInteger(csmallint) >= cint)) (type: boolean)
                     Statistics: Num rows: 12288 Data size: 256884 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), cint (type: int), 
cdouble (type: double)
@@ -136,7 +136,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1 Data size: 36 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: bigint), (_col0 * -563) (type: 
bigint), (-3728 + _col0) (type: bigint), _col1 (type: double), (- _col1) (type: 
double), _col2 (type: double), ((_col0 * -563) % _col0) (type: bigint), 
(UDFToDouble(((_col0 * -563) % _col0)) / _col2) (type: double), _col3 (type: 
double), (- (UDFToDouble(((_col0 * -563) % _col0)) / _col2)) (type: double), 
((-3728 + _col0) - (_col0 * -563)) (type: bigint), _col4 (type: tinyint), _col4 
(type: tinyint), (UDFToDouble(_col4) * (- (UDFToDouble(((_col0 * -563) % 
_col0)) / _col2))) (type: double)
+                  expressions: _col0 (type: bigint), (_col0 * -563L) (type: 
bigint), (-3728L + _col0) (type: bigint), _col1 (type: double), (- _col1) 
(type: double), _col2 (type: double), ((_col0 * -563L) % _col0) (type: bigint), 
(UDFToDouble(((_col0 * -563L) % _col0)) / _col2) (type: double), _col3 (type: 
double), (- (UDFToDouble(((_col0 * -563L) % _col0)) / _col2)) (type: double), 
((-3728L + _col0) - (_col0 * -563L)) (type: bigint), _col4 (type: tinyint), 
_col4 (type: tinyint), (UDFToDouble(_col4) * (- (UDFToDouble(((_col0 * -563L) % 
_col0)) / _col2))) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                   Statistics: Num rows: 1 Data size: 104 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_5.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_5.q.out
index d41de01..48a4ce3 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_5.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_5.q.out
@@ -145,7 +145,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1 Data size: 28 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: smallint), (UDFToInteger(_col0) * 
-75) (type: int), _col1 (type: bigint), (UDFToDouble((UDFToInteger(_col0) * 
-75)) / UDFToDouble(_col1)) (type: double), (6981 * UDFToInteger(_col0)) (type: 
int), _col2 (type: smallint), (- _col2) (type: smallint), (197.0 % 
(UDFToDouble((UDFToInteger(_col0) * -75)) / UDFToDouble(_col1))) (type: 
double), _col3 (type: bigint), _col4 (type: tinyint), (- _col4) (type: 
tinyint), ((- _col4) + _col4) (type: tinyint)
+                  expressions: _col0 (type: smallint), (UDFToInteger(_col0) * 
-75) (type: int), _col1 (type: bigint), (UDFToDouble((UDFToInteger(_col0) * 
-75)) / UDFToDouble(_col1)) (type: double), (6981 * UDFToInteger(_col0)) (type: 
int), _col2 (type: smallint), (- _col2) (type: smallint), (197.0D % 
(UDFToDouble((UDFToInteger(_col0) * -75)) / UDFToDouble(_col1))) (type: 
double), _col3 (type: bigint), _col4 (type: tinyint), (- _col4) (type: 
tinyint), ((- _col4) + _col4) (type: tinyint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11
                   Select Vectorization:
                       className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_6.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_6.q.out
index 84b9260..fa587aa 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_6.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_6.q.out
@@ -66,10 +66,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColNotEqualLongScalar(col 0:tinyint, val 0), 
FilterExprOrExpr(children: FilterExprAndExpr(children: 
FilterLongColLessEqualLongScalar(col 10:boolean, val 0), 
FilterLongColGreaterEqualLongColumn(col 11:boolean, col 10:boolean)), 
FilterExprAndExpr(children: SelectColumnIsNotNull(col 3:bigint), 
FilterExprOrExpr(children: FilterStringColLikeStringScalar(col 7:string, 
pattern %a), FilterDoubleColLessEqualDoubleScalar(col 4:float, val -257.0)))))
-                    predicate: ((((cboolean1 <= 0) and (cboolean2 >= 
cboolean1)) or (cbigint is not null and ((cstring2 like '%a') or (cfloat <= 
-257)))) and (ctinyint <> 0)) (type: boolean)
+                    predicate: ((((cboolean1 <= 0) and (cboolean2 >= 
cboolean1)) or (cbigint is not null and ((cstring2 like '%a') or (cfloat <= 
-257)))) and (ctinyint <> 0Y)) (type: boolean)
                     Statistics: Num rows: 5951 Data size: 1022000 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cboolean1 (type: boolean), cfloat (type: 
float), cstring1 (type: string), (988888 * UDFToInteger(csmallint)) (type: 
int), (- csmallint) (type: smallint), (- cfloat) (type: float), (-26.28 / 
UDFToDouble(cfloat)) (type: double), (cfloat * 359.0) (type: float), (cint % 
UDFToInteger(ctinyint)) (type: int), (- cdouble) (type: double), 
(UDFToInteger(ctinyint) - -75) (type: int), (762 * (cint % 
UDFToInteger(ctinyint))) (type: int)
+                      expressions: cboolean1 (type: boolean), cfloat (type: 
float), cstring1 (type: string), (988888 * UDFToInteger(csmallint)) (type: 
int), (- csmallint) (type: smallint), (- cfloat) (type: float), (-26.28D / 
UDFToDouble(cfloat)) (type: double), (cfloat * 359.0) (type: float), (cint % 
UDFToInteger(ctinyint)) (type: int), (- cdouble) (type: double), 
(UDFToInteger(ctinyint) - -75) (type: int), (762 * (cint % 
UDFToInteger(ctinyint))) (type: int)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11
                       Select Vectorization:
                           className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_7.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_7.q.out
index 3c75229..68b4065 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_7.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_7.q.out
@@ -81,7 +81,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColNotEqualLongScalar(col 0:tinyint, val 0), 
FilterExprOrExpr(children: FilterDoubleColLessEqualDoubleScalar(col 13:double, 
val 0.0)(children: CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterLongColEqualLongColumn(col 0:int, col 2:int)(children: col 0:tinyint), 
FilterStringColLikeStringScalar(col 7:string, pattern ss)), 
FilterExprOrExpr(children: FilterDoubleScalarLessDoubleColumn(val 988888.0, col 
5:double), FilterExprAndExpr(children: FilterDoubleColGreaterDoubleScalar(col 
13:double, val -15.0)(children: CastTimestampToDouble(col 9:timestamp) -> 
13:double), FilterDoubleScalarGreaterEqualDoubleColumn(val 3569.0, col 
5:double))))
-                    predicate: (((988888.0 < cdouble) or 
((UDFToDouble(ctimestamp2) > -15.0) and (3569.0 >= cdouble))) and 
((UDFToDouble(ctimestamp1) <= 0.0) or (UDFToInteger(ctinyint) = cint) or 
(cstring2 like 'ss')) and (ctinyint <> 0)) (type: boolean)
+                    predicate: (((988888.0D < cdouble) or 
((UDFToDouble(ctimestamp2) > -15.0D) and (3569.0D >= cdouble))) and 
((UDFToDouble(ctimestamp1) <= 0.0D) or (UDFToInteger(ctinyint) = cint) or 
(cstring2 like 'ss')) and (ctinyint <> 0Y)) (type: boolean)
                     Statistics: Num rows: 5461 Data size: 1342196 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: cboolean1 (type: boolean), cbigint (type: 
bigint), csmallint (type: smallint), ctinyint (type: tinyint), ctimestamp1 
(type: timestamp), cstring1 (type: string), (cbigint + cbigint) (type: bigint), 
(UDFToInteger(csmallint) % -257) (type: int), (- csmallint) (type: smallint), 
(- ctinyint) (type: tinyint), (UDFToInteger((- ctinyint)) + 17) (type: int), 
(cbigint * UDFToLong((- csmallint))) (type: bigint), (cint % 
UDFToInteger(csmallint)) (type: int), (- ctinyint) (type: tinyint), ((- 
ctinyint) % ctinyint) (type: tinyint)
@@ -330,7 +330,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterLongColNotEqualLongScalar(col 0:tinyint, val 0), 
FilterExprOrExpr(children: FilterDoubleColLessEqualDoubleScalar(col 13:double, 
val 0.0)(children: CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterLongColEqualLongColumn(col 0:int, col 2:int)(children: col 0:tinyint), 
FilterStringColLikeStringScalar(col 7:string, pattern ss)), 
FilterExprOrExpr(children: FilterDoubleScalarLessDoubleColumn(val 988888.0, col 
5:double), FilterExprAndExpr(children: FilterDoubleColGreaterDoubleScalar(col 
13:double, val 7.6850000000000005)(children: CastTimestampToDouble(col 
9:timestamp) -> 13:double), FilterDoubleScalarGreaterEqualDoubleColumn(val 
3569.0, col 5:double))))
-                    predicate: (((988888.0 < cdouble) or 
((UDFToDouble(ctimestamp2) > 7.6850000000000005) and (3569.0 >= cdouble))) and 
((UDFToDouble(ctimestamp1) <= 0.0) or (UDFToInteger(ctinyint) = cint) or 
(cstring2 like 'ss')) and (ctinyint <> 0)) (type: boolean)
+                    predicate: (((988888.0D < cdouble) or 
((UDFToDouble(ctimestamp2) > 7.6850000000000005D) and (3569.0D >= cdouble))) 
and ((UDFToDouble(ctimestamp1) <= 0.0D) or (UDFToInteger(ctinyint) = cint) or 
(cstring2 like 'ss')) and (ctinyint <> 0Y)) (type: boolean)
                     Statistics: Num rows: 5461 Data size: 1342196 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: cboolean1 (type: boolean), cbigint (type: 
bigint), csmallint (type: smallint), ctinyint (type: tinyint), ctimestamp1 
(type: timestamp), cstring1 (type: string), (cbigint + cbigint) (type: bigint), 
(UDFToInteger(csmallint) % -257) (type: int), (- csmallint) (type: smallint), 
(- ctinyint) (type: tinyint), (UDFToInteger((- ctinyint)) + 17) (type: int), 
(cbigint * UDFToLong((- csmallint))) (type: bigint), (cint % 
UDFToInteger(csmallint)) (type: int), (- ctinyint) (type: tinyint), ((- 
ctinyint) % ctinyint) (type: tinyint)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_8.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_8.q.out
index 22a1b34..a9dfffb 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_8.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_8.q.out
@@ -77,10 +77,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: SelectColumnIsNotNull(col 7:string), 
FilterDoubleColLessEqualDoubleScalar(col 13:double, val 10.0)(children: 
CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleScalar(col 13:double, val 16.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double)), 
FilterDoubleColLessDoubleScalar(col 4:float, val -6432.0), 
FilterExprAndExpr(children: SelectColumnIsNotNull(col 10:boolean), 
FilterDoubleColEqualDoubleScalar(col 5:double, val 988888.0)))
-                    predicate: ((cboolean1 is not null and (cdouble = 
988888.0)) or (cfloat < -6432) or (cstring2 is not null and 
(UDFToDouble(ctimestamp1) <= 10.0) and (UDFToDouble(ctimestamp2) <> 16.0))) 
(type: boolean)
+                    predicate: ((cboolean1 is not null and (cdouble = 
988888.0D)) or (cfloat < -6432) or (cstring2 is not null and 
(UDFToDouble(ctimestamp1) <= 10.0D) and (UDFToDouble(ctimestamp2) <> 16.0D))) 
(type: boolean)
                     Statistics: Num rows: 3059 Data size: 742850 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: ctimestamp1 (type: timestamp), cdouble 
(type: double), cboolean1 (type: boolean), cstring1 (type: string), cfloat 
(type: float), (- cdouble) (type: double), (-5638.15 - cdouble) (type: double), 
(cdouble * -257.0) (type: double), (UDFToFloat(cint) + cfloat) (type: float), 
((- cdouble) + UDFToDouble(cbigint)) (type: double), (- cdouble) (type: 
double), (-1.389 - cfloat) (type: float), (- cfloat) (type: float), ((-5638.15 
- cdouble) + UDFToDouble((UDFToFloat(cint) + cfloat))) (type: double)
+                      expressions: ctimestamp1 (type: timestamp), cdouble 
(type: double), cboolean1 (type: boolean), cstring1 (type: string), cfloat 
(type: float), (- cdouble) (type: double), (-5638.15D - cdouble) (type: 
double), (cdouble * -257.0D) (type: double), (UDFToFloat(cint) + cfloat) (type: 
float), ((- cdouble) + UDFToDouble(cbigint)) (type: double), (- cdouble) (type: 
double), (-1.389 - cfloat) (type: float), (- cfloat) (type: float), ((-5638.15D 
- cdouble) + UDFToDouble((UDFToFloat(cint) + cfloat))) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                       Select Vectorization:
                           className: VectorSelectOperator
@@ -313,10 +313,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: SelectColumnIsNotNull(col 7:string), 
FilterDoubleColLessEqualDoubleScalar(col 13:double, val 12.503)(children: 
CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleScalar(col 13:double, val 11.998)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double)), 
FilterDoubleColLessDoubleScalar(col 4:float, val -6432.0), 
FilterExprAndExpr(children: SelectColumnIsNotNull(col 10:boolean), 
FilterDoubleColEqualDoubleScalar(col 5:double, val 988888.0)))
-                    predicate: ((cboolean1 is not null and (cdouble = 
988888.0)) or (cfloat < -6432) or (cstring2 is not null and 
(UDFToDouble(ctimestamp1) <= 12.503) and (UDFToDouble(ctimestamp2) <> 11.998))) 
(type: boolean)
+                    predicate: ((cboolean1 is not null and (cdouble = 
988888.0D)) or (cfloat < -6432) or (cstring2 is not null and 
(UDFToDouble(ctimestamp1) <= 12.503D) and (UDFToDouble(ctimestamp2) <> 
11.998D))) (type: boolean)
                     Statistics: Num rows: 3059 Data size: 742850 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: ctimestamp1 (type: timestamp), cdouble 
(type: double), cboolean1 (type: boolean), cstring1 (type: string), cfloat 
(type: float), (- cdouble) (type: double), (-5638.15 - cdouble) (type: double), 
(cdouble * -257.0) (type: double), (UDFToFloat(cint) + cfloat) (type: float), 
((- cdouble) + UDFToDouble(cbigint)) (type: double), (- cdouble) (type: 
double), (-1.389 - cfloat) (type: float), (- cfloat) (type: float), ((-5638.15 
- cdouble) + UDFToDouble((UDFToFloat(cint) + cfloat))) (type: double)
+                      expressions: ctimestamp1 (type: timestamp), cdouble 
(type: double), cboolean1 (type: boolean), cstring1 (type: string), cfloat 
(type: float), (- cdouble) (type: double), (-5638.15D - cdouble) (type: 
double), (cdouble * -257.0D) (type: double), (UDFToFloat(cint) + cfloat) (type: 
float), ((- cdouble) + UDFToDouble(cbigint)) (type: double), (- cdouble) (type: 
double), (-1.389 - cfloat) (type: float), (- cfloat) (type: float), ((-5638.15D 
- cdouble) + UDFToDouble((UDFToFloat(cint) + cfloat))) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                       Select Vectorization:
                           className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_9.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorization_9.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_9.q.out
index e7d873f..336e36e 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_9.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_9.q.out
@@ -67,7 +67,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterStringColLikeStringScalar(col 7:string, pattern %b%), 
FilterExprOrExpr(children: FilterDoubleColGreaterEqualDoubleScalar(col 
5:double, val -1.389), FilterStringGroupColLessStringScalar(col 6:string, val 
a)))
-                    predicate: (((cdouble >= -1.389) or (cstring1 < 'a')) and 
(cstring2 like '%b%')) (type: boolean)
+                    predicate: (((cdouble >= -1.389D) or (cstring1 < 'a')) and 
(cstring2 like '%b%')) (type: boolean)
                     Statistics: Num rows: 4096 Data size: 769522 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: cdouble (type: double), cstring1 (type: 
string), ctimestamp1 (type: timestamp)
@@ -135,7 +135,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1024 Data size: 143566 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col1 (type: string), _col0 (type: double), 
_col2 (type: timestamp), (_col0 - 9763215.5639) (type: double), (- (_col0 - 
9763215.5639)) (type: double), _col3 (type: bigint), _col4 (type: double), (- 
_col4) (type: double), (_col4 * UDFToDouble(_col3)) (type: double), _col5 
(type: double), (9763215.5639 / _col0) (type: double), (CAST( _col3 AS 
decimal(19,0)) / -1.389) (type: decimal(28,6)), _col4 (type: double)
+                  expressions: _col1 (type: string), _col0 (type: double), 
_col2 (type: timestamp), (_col0 - 9763215.5639D) (type: double), (- (_col0 - 
9763215.5639D)) (type: double), _col3 (type: bigint), _col4 (type: double), (- 
_col4) (type: double), (_col4 * UDFToDouble(_col3)) (type: double), _col5 
(type: double), (9763215.5639D / _col0) (type: double), (CAST( _col3 AS 
decimal(19,0)) / -1.389) (type: decimal(28,6)), _col4 (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12
                   Statistics: Num rows: 1024 Data size: 307406 Basic stats: 
COMPLETE Column stats: COMPLETE
                   File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_part_project.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vectorization_part_project.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_part_project.q.out
index e46c7f4..80c7c0c 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_part_project.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_part_project.q.out
@@ -72,7 +72,7 @@ STAGE PLANS:
                   alias: alltypesorc_part
                   Statistics: Num rows: 200 Data size: 1592 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Select Operator
-                    expressions: (cdouble + 2.0) (type: double)
+                    expressions: (cdouble + 2.0D) (type: double)
                     outputColumnNames: _col0
                     Statistics: Num rows: 200 Data size: 1600 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator

Reply via email to