http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_13.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_13.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_13.q.out
index 55b6afc..fa77db1 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_13.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_13.q.out
@@ -88,7 +88,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: 2730 Data size: 32760 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), cfloat (type: float), 
cstring1 (type: string), ctimestamp1 (type: timestamp), cboolean1 (type: 
boolean)
@@ -151,7 +151,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9, _col10
           Statistics: Num rows: 1365 Data size: 16380 Basic stats: COMPLETE 
Column stats: NONE
           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: 16380 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
@@ -417,7 +417,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: 2730 Data size: 32760 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), cfloat (type: float), 
cstring1 (type: string), ctimestamp1 (type: timestamp), cboolean1 (type: 
boolean)
@@ -474,7 +474,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9, _col10
           Statistics: Num rows: 1365 Data size: 16380 Basic stats: COMPLETE 
Column stats: NONE
           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: 16380 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_14.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_14.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_14.q.out
index f127434..2d9ecd2 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_14.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_14.q.out
@@ -88,10 +88,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: 7272 Basic stats: COMPLETE 
Column stats: NONE
               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
@@ -152,7 +152,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9, _col10
           Statistics: Num rows: 303 Data size: 3636 Basic stats: COMPLETE 
Column stats: NONE
           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: 303 Data size: 3636 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_15.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_15.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_15.q.out
index 6ada288..2cebc9f 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_15.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_15.q.out
@@ -84,7 +84,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: 147456 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), cint (type: int), 
cfloat (type: float), cdouble (type: double), cstring1 (type: string), 
ctimestamp1 (type: timestamp), cboolean1 (type: boolean)
@@ -146,7 +146,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9, _col10, _col11, _col12
           Statistics: Num rows: 6144 Data size: 73728 Basic stats: COMPLETE 
Column stats: NONE
           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: 6144 Data size: 73728 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_16.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_16.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_16.q.out
index 1174aa7..4175c78 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_16.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_16.q.out
@@ -61,7 +61,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: 49152 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: cdouble (type: double), cstring1 (type: string), 
ctimestamp1 (type: timestamp)
@@ -124,7 +124,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
           Statistics: Num rows: 2048 Data size: 24576 Basic stats: COMPLETE 
Column stats: NONE
           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: 2048 Data size: 24576 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_17.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_17.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_17.q.out
index 8f26d41..a325810 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_17.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_17.q.out
@@ -69,10 +69,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: 49152 Basic stats: 
COMPLETE Column stats: NONE
               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/parquet_vectorization_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_2.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_2.q.out
index ebef240..fbaa7fa 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_2.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_2.q.out
@@ -67,7 +67,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: 4778 Data size: 57336 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cbigint (type: bigint), cfloat (type: float), cdouble (type: double)
@@ -125,7 +125,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
           Statistics: Num rows: 1 Data size: 256 Basic stats: COMPLETE Column 
stats: NONE
           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: 256 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_3.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_3.q.out
index 2abe821..d15b230 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_3.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_3.q.out
@@ -72,7 +72,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: 30036 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cfloat (type: float)
@@ -130,7 +130,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
           Statistics: Num rows: 1 Data size: 404 Basic stats: COMPLETE Column 
stats: NONE
           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: 404 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_4.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_4.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_4.q.out
index 4c39858..1cc021d 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_4.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_4.q.out
@@ -67,7 +67,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: 147456 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: ctinyint (type: tinyint), cint (type: int), 
cdouble (type: double)
@@ -125,7 +125,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4
           Statistics: Num rows: 1 Data size: 252 Basic stats: COMPLETE Column 
stats: NONE
           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: 252 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_5.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_5.q.out
index b445dfb..bebf00a 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_5.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_5.q.out
@@ -119,7 +119,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4
           Statistics: Num rows: 1 Data size: 28 Basic stats: COMPLETE Column 
stats: NONE
           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
             Statistics: Num rows: 1 Data size: 28 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_6.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_6.q.out
index 3d7d5e3..cc552ae 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_6.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_6.q.out
@@ -63,10 +63,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: 11605 Data size: 139260 Basic stats: 
COMPLETE Column stats: NONE
               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/parquet_vectorization_7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_7.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_7.q.out
index 77caa03..b4aa714 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_7.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_7.q.out
@@ -75,7 +75,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: 65532 Basic stats: 
COMPLETE Column stats: NONE
               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)
@@ -295,7 +295,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: 65532 Basic stats: 
COMPLETE Column stats: NONE
               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/parquet_vectorization_8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_8.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_8.q.out
index caa4bff..ddec91f 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_8.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_8.q.out
@@ -71,10 +71,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: 12288 Data size: 147456 Basic stats: 
COMPLETE Column stats: NONE
               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
@@ -278,10 +278,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: 12288 Data size: 147456 Basic stats: 
COMPLETE Column stats: NONE
               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/parquet_vectorization_9.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/parquet_vectorization_9.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_9.q.out
index 1174aa7..4175c78 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_9.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_9.q.out
@@ -61,7 +61,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: 49152 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: cdouble (type: double), cstring1 (type: string), 
ctimestamp1 (type: timestamp)
@@ -124,7 +124,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
           Statistics: Num rows: 2048 Data size: 24576 Basic stats: COMPLETE 
Column stats: NONE
           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: 2048 Data size: 24576 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_div0.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/parquet_vectorization_div0.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_div0.q.out
index 4a5cca6..e3aec1e 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_div0.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_div0.q.out
@@ -22,7 +22,7 @@ STAGE PLANS:
             TableScan Vectorization:
                 native: true
             Select Operator
-              expressions: (cdouble / 0.0) (type: double)
+              expressions: (cdouble / 0.0D) (type: double)
               outputColumnNames: _col0
               Select Vectorization:
                   className: VectorSelectOperator
@@ -201,7 +201,7 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterExprAndExpr(children: 
FilterLongColGreaterLongScalar(col 3:bigint, val 0), 
FilterLongColLessLongScalar(col 3:bigint, val 100000000))
-              predicate: ((cbigint < 100000000) and (cbigint > 0)) (type: 
boolean)
+              predicate: ((cbigint < 100000000L) and (cbigint > 0L)) (type: 
boolean)
               Statistics: Num rows: 1365 Data size: 16380 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
                 expressions: (cbigint - 988888) (type: bigint), (cdouble / 
UDFToDouble((cbigint - 988888))) (type: double), (1.2 / CAST( (cbigint - 
988888) AS decimal(19,0))) (type: decimal(22,21))
@@ -399,10 +399,10 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterExprAndExpr(children: 
FilterDoubleColGreaterEqualDoubleScalar(col 5:double, val -500.0), 
FilterDoubleColLessDoubleScalar(col 5:double, val -199.0))
-              predicate: ((cdouble < -199.0) and (cdouble >= -500.0)) (type: 
boolean)
+              predicate: ((cdouble < -199.0D) and (cdouble >= -500.0D)) (type: 
boolean)
               Statistics: Num rows: 1365 Data size: 16380 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: (cdouble + 200.0) (type: double), 
(UDFToDouble(cbigint) / (cdouble + 200.0)) (type: double), ((cdouble + 200.0) / 
(cdouble + 200.0)) (type: double), (3.0 / (cdouble + 200.0)) (type: double), 
(1.2 / (cdouble + 200.0)) (type: double)
+                expressions: (cdouble + 200.0D) (type: double), 
(UDFToDouble(cbigint) / (cdouble + 200.0D)) (type: double), ((cdouble + 200.0D) 
/ (cdouble + 200.0D)) (type: double), (3.0D / (cdouble + 200.0D)) (type: 
double), (1.2D / (cdouble + 200.0D)) (type: double)
                 outputColumnNames: _col0, _col1, _col2, _col4, _col5
                 Select Vectorization:
                     className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_limit.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/parquet_vectorization_limit.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_limit.q.out
index f3e98e9..afafb4d 100644
--- a/ql/src/test/results/clientpositive/parquet_vectorization_limit.q.out
+++ b/ql/src/test/results/clientpositive/parquet_vectorization_limit.q.out
@@ -213,7 +213,7 @@ STAGE PLANS:
                 native: true
                 vectorizationSchemaColumns: [0:ctinyint:tinyint, 
1:csmallint:smallint, 2:cint:int, 3:cbigint:bigint, 4:cfloat:float, 
5:cdouble:double, 6:cstring1:string, 7:cstring2:string, 
8:ctimestamp1:timestamp, 9:ctimestamp2:timestamp, 10:cboolean1:boolean, 
11:cboolean2:boolean, 
12:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
             Select Operator
-              expressions: ctinyint (type: tinyint), (cdouble + 1.0) (type: 
double)
+              expressions: ctinyint (type: tinyint), (cdouble + 1.0D) (type: 
double)
               outputColumnNames: _col0, _col1
               Select Vectorization:
                   className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/parquet_vectorization_part_project.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/parquet_vectorization_part_project.q.out 
b/ql/src/test/results/clientpositive/parquet_vectorization_part_project.q.out
index f1eb466..3d9307b 100644
--- 
a/ql/src/test/results/clientpositive/parquet_vectorization_part_project.q.out
+++ 
b/ql/src/test/results/clientpositive/parquet_vectorization_part_project.q.out
@@ -66,7 +66,7 @@ STAGE PLANS:
             alias: alltypesparquet_part
             Statistics: Num rows: 200 Data size: 2400 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
-              expressions: (cdouble + 2.0) (type: double)
+              expressions: (cdouble + 2.0D) (type: double)
               outputColumnNames: _col0
               Statistics: Num rows: 200 Data size: 2400 Basic stats: COMPLETE 
Column stats: NONE
               Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out 
b/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out
index 03fcc62..58bebce 100644
--- a/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out
+++ b/ql/src/test/results/clientpositive/partition_wise_fileformat2.q.out
@@ -68,7 +68,7 @@ STAGE PLANS:
           alias: partition_test_partitioned
           Statistics: Num rows: 75 Data size: 548 Basic stats: COMPLETE Column 
stats: NONE
           Filter Operator
-            predicate: ((UDFToDouble(dt) <= 102.0) and (UDFToDouble(dt) >= 
100.0)) (type: boolean)
+            predicate: ((UDFToDouble(dt) <= 102.0D) and (UDFToDouble(dt) >= 
100.0D)) (type: boolean)
             Statistics: Num rows: 8 Data size: 58 Basic stats: COMPLETE Column 
stats: NONE
             Select Operator
               expressions: key (type: string), value (type: string), dt (type: 
string), BLOCK__OFFSET__INSIDE__FILE (type: bigint)
@@ -181,7 +181,7 @@ STAGE PLANS:
           alias: partition_test_partitioned
           Statistics: Num rows: 75 Data size: 548 Basic stats: COMPLETE Column 
stats: NONE
           Filter Operator
-            predicate: ((UDFToDouble(dt) <= 102.0) and (UDFToDouble(dt) >= 
100.0)) (type: boolean)
+            predicate: ((UDFToDouble(dt) <= 102.0D) and (UDFToDouble(dt) >= 
100.0D)) (type: boolean)
             Statistics: Num rows: 8 Data size: 58 Basic stats: COMPLETE Column 
stats: NONE
             Select Operator
               expressions: key (type: string), value (type: string), dt (type: 
string), BLOCK__OFFSET__INSIDE__FILE (type: bigint)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/pcr.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/pcr.q.out 
b/ql/src/test/results/clientpositive/pcr.q.out
index d5d900f..f9a0c4b 100644
--- a/ql/src/test/results/clientpositive/pcr.q.out
+++ b/ql/src/test/results/clientpositive/pcr.q.out
@@ -4770,7 +4770,7 @@ STAGE PLANS:
             GatherStats: false
             Filter Operator
               isSamplingPred: false
-              predicate: (UDFToDouble(key) = 11.0) (type: boolean)
+              predicate: (UDFToDouble(key) = 11.0D) (type: boolean)
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string), value (type: string), hr 
(type: string)
@@ -4953,7 +4953,7 @@ STAGE PLANS:
             GatherStats: false
             Filter Operator
               isSamplingPred: false
-              predicate: (UDFToDouble(key) = 11.0) (type: boolean)
+              predicate: (UDFToDouble(key) = 11.0D) (type: boolean)
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: key (type: string), value (type: string), ds 
(type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query12.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query12.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query12.q.out
index d179624..411ad88 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query12.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query12.q.out
@@ -78,7 +78,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 2001-01-12 
00:00:00.0 AND 2001-02-11 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'2001-01-12 00:00:00.0' AND TIMESTAMP'2001-02-11 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query16.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query16.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query16.q.out
index 1b763e2..743f27d 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query16.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query16.q.out
@@ -98,7 +98,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 2001-04-01 
00:00:00.0 AND 2001-05-31 01:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'2001-04-01 00:00:00.0' AND TIMESTAMP'2001-05-31 01:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query18.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query18.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query18.q.out
index 33b2f62..0da17da 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query18.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query18.q.out
@@ -306,7 +306,7 @@ STAGE PLANS:
                   Statistics: Num rows: 421645953 Data size: 57099332415 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: avg(_col4), avg(_col5), avg(_col6), 
avg(_col7), avg(_col8), avg(_col9), avg(_col10)
-                    keys: _col0 (type: string), _col1 (type: string), _col2 
(type: string), _col3 (type: string), 0 (type: bigint)
+                    keys: _col0 (type: string), _col1 (type: string), _col2 
(type: string), _col3 (type: string), 0L (type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11
                     Statistics: Num rows: 2108229765 Data size: 285496662075 
Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query20.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query20.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query20.q.out
index ab1b24d..8aa57e1 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query20.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query20.q.out
@@ -70,7 +70,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 2001-01-12 
00:00:00.0 AND 2001-02-11 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'2001-01-12 00:00:00.0' AND TIMESTAMP'2001-02-11 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query21.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query21.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query21.q.out
index e73a627..5c3d2fb 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query21.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query21.q.out
@@ -96,7 +96,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-03-08 
23:00:00.0 AND 1998-05-08 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-03-08 23:00:00.0' AND TIMESTAMP'1998-05-08 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int), d_date (type: string)
@@ -188,7 +188,7 @@ STAGE PLANS:
                     1 Map 7
                   Statistics: Num rows: 50024305 Data size: 790375939 Basic 
stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col10 (type: string), _col7 (type: string), 
CASE WHEN ((CAST( _col5 AS DATE) < 1998-04-08)) THEN (_col3) ELSE (0) END 
(type: int), CASE WHEN ((CAST( _col5 AS DATE) >= 1998-04-08)) THEN (_col3) ELSE 
(0) END (type: int)
+                    expressions: _col10 (type: string), _col7 (type: string), 
CASE WHEN ((CAST( _col5 AS DATE) < DATE'1998-04-08')) THEN (_col3) ELSE (0) END 
(type: int), CASE WHEN ((CAST( _col5 AS DATE) >= DATE'1998-04-08')) THEN 
(_col3) ELSE (0) END (type: int)
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 50024305 Data size: 790375939 Basic 
stats: COMPLETE Column stats: NONE
                     Group By Operator
@@ -212,7 +212,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3
                 Statistics: Num rows: 25012152 Data size: 395187961 Basic 
stats: COMPLETE Column stats: NONE
                 Filter Operator
-                  predicate: CASE WHEN ((_col2 > 0)) THEN ((UDFToDouble(_col3) 
/ UDFToDouble(_col2)) BETWEEN 0.666667 AND 1.5) ELSE (null) END (type: boolean)
+                  predicate: CASE WHEN ((_col2 > 0L)) THEN 
((UDFToDouble(_col3) / UDFToDouble(_col2)) BETWEEN 0.666667D AND 1.5D) ELSE 
(null) END (type: boolean)
                   Statistics: Num rows: 12506076 Data size: 197593980 Basic 
stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: string), _col1 (type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query22.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query22.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query22.q.out
index 38e4119..0353312 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query22.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query22.q.out
@@ -165,7 +165,7 @@ STAGE PLANS:
                 Statistics: Num rows: 50024305 Data size: 790375939 Basic 
stats: COMPLETE Column stats: NONE
                 Group By Operator
                   aggregations: avg(_col3)
-                  keys: _col8 (type: string), _col9 (type: string), _col10 
(type: string), _col11 (type: string), 0 (type: bigint)
+                  keys: _col8 (type: string), _col9 (type: string), _col10 
(type: string), _col11 (type: string), 0L (type: bigint)
                   mode: hash
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                   Statistics: Num rows: 250121525 Data size: 3951879695 Basic 
stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query23.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query23.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query23.q.out
index 8b5a83a..746e44d 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query23.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query23.q.out
@@ -824,7 +824,7 @@ STAGE PLANS:
                   outputColumnNames: _col0, _col3
                   Statistics: Num rows: 348477374 Data size: 30742775095 Basic 
stats: COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (_col3 > 4) (type: boolean)
+                    predicate: (_col3 > 4L) (type: boolean)
                     Statistics: Num rows: 116159124 Data size: 10247591639 
Basic stats: COMPLETE Column stats: NONE
                     Select Operator
                       expressions: _col0 (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query27.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query27.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query27.q.out
index a87ec45..052f25e 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query27.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query27.q.out
@@ -211,7 +211,7 @@ STAGE PLANS:
                   Statistics: Num rows: 843315281 Data size: 74397518956 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: avg(_col2), avg(_col3), avg(_col4), 
avg(_col5)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: 
bigint)
+                    keys: _col0 (type: string), _col1 (type: string), 0L 
(type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6
                     Statistics: Num rows: 2529945843 Data size: 223192556868 
Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query32.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query32.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query32.q.out
index e7d356d..6f614e6 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query32.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query32.q.out
@@ -69,7 +69,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-03-18 
00:00:00.0 AND 1998-06-16 01:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-03-18 00:00:00.0' AND TIMESTAMP'1998-06-16 01:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)
@@ -92,7 +92,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-03-18 
00:00:00.0 AND 1998-06-16 01:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-03-18 00:00:00.0' AND TIMESTAMP'1998-06-16 01:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query34.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query34.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query34.q.out
index 17d4280..80f7ec1 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query34.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query34.q.out
@@ -74,7 +74,7 @@ STAGE PLANS:
                   alias: household_demographics
                   Statistics: Num rows: 7200 Data size: 770400 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (((hd_buy_potential = '>10000') or 
(hd_buy_potential = 'unknown')) and (hd_vehicle_count > 0) and CASE WHEN 
((hd_vehicle_count > 0)) THEN (((UDFToDouble(hd_dep_count) / 
UDFToDouble(hd_vehicle_count)) > 1.2)) ELSE (null) END and hd_demo_sk is not 
null) (type: boolean)
+                    predicate: (((hd_buy_potential = '>10000') or 
(hd_buy_potential = 'unknown')) and (hd_vehicle_count > 0) and CASE WHEN 
((hd_vehicle_count > 0)) THEN (((UDFToDouble(hd_dep_count) / 
UDFToDouble(hd_vehicle_count)) > 1.2D)) ELSE (null) END and hd_demo_sk is not 
null) (type: boolean)
                     Statistics: Num rows: 1200 Data size: 128400 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hd_demo_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query36.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query36.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query36.q.out
index 1a1a991..2b4770c 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query36.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query36.q.out
@@ -192,7 +192,7 @@ STAGE PLANS:
                   Statistics: Num rows: 766650239 Data size: 67634106676 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: 
bigint)
+                    keys: _col0 (type: string), _col1 (type: string), 0L 
(type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4
                     Statistics: Num rows: 2299950717 Data size: 202902320028 
Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query37.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query37.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query37.q.out
index d8bff81..325861e 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query37.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query37.q.out
@@ -46,7 +46,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 2001-06-02 
00:00:00.0 AND 2001-08-01 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'2001-06-02 00:00:00.0' AND TIMESTAMP'2001-08-01 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query38.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query38.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query38.q.out
index b9af964..5d5b7fd 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query38.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query38.q.out
@@ -398,7 +398,7 @@ STAGE PLANS:
                   outputColumnNames: _col3
                   Statistics: Num rows: 152458212 Data size: 16545889939 Basic 
stats: COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (_col3 = 3) (type: boolean)
+                    predicate: (_col3 = 3L) (type: boolean)
                     Statistics: Num rows: 1 Data size: 108 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       Statistics: Num rows: 1 Data size: 108 Basic stats: 
COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query39.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query39.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query39.q.out
index 77b1bdb..51fcc84 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query39.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query39.q.out
@@ -283,10 +283,10 @@ STAGE PLANS:
                   outputColumnNames: _col1, _col2, _col3, _col4
                   Statistics: Num rows: 25012152 Data size: 395187961 Basic 
stats: COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: CASE WHEN ((_col4 = 0.0)) THEN (false) ELSE 
(((_col3 / _col4) > 1.0)) END (type: boolean)
+                    predicate: CASE WHEN ((_col4 = 0.0D)) THEN (false) ELSE 
(((_col3 / _col4) > 1.0D)) END (type: boolean)
                     Statistics: Num rows: 12506076 Data size: 197593980 Basic 
stats: COMPLETE Column stats: NONE
                     Select Operator
-                      expressions: _col1 (type: int), _col2 (type: int), _col4 
(type: double), CASE WHEN ((_col4 = 0.0)) THEN (null) ELSE ((_col3 / _col4)) 
END (type: double)
+                      expressions: _col1 (type: int), _col2 (type: int), _col4 
(type: double), CASE WHEN ((_col4 = 0.0D)) THEN (null) ELSE ((_col3 / _col4)) 
END (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12506076 Data size: 197593980 
Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator
@@ -358,10 +358,10 @@ STAGE PLANS:
                   outputColumnNames: _col1, _col2, _col3, _col4
                   Statistics: Num rows: 25012152 Data size: 395187961 Basic 
stats: COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: CASE WHEN ((_col4 = 0.0)) THEN (false) ELSE 
(((_col3 / _col4) > 1.0)) END (type: boolean)
+                    predicate: CASE WHEN ((_col4 = 0.0D)) THEN (false) ELSE 
(((_col3 / _col4) > 1.0D)) END (type: boolean)
                     Statistics: Num rows: 12506076 Data size: 197593980 Basic 
stats: COMPLETE Column stats: NONE
                     Select Operator
-                      expressions: _col1 (type: int), _col2 (type: int), _col4 
(type: double), CASE WHEN ((_col4 = 0.0)) THEN (null) ELSE ((_col3 / _col4)) 
END (type: double)
+                      expressions: _col1 (type: int), _col2 (type: int), _col4 
(type: double), CASE WHEN ((_col4 = 0.0D)) THEN (null) ELSE ((_col3 / _col4)) 
END (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3
                       Statistics: Num rows: 12506076 Data size: 197593980 
Basic stats: COMPLETE Column stats: NONE
                       Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query40.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query40.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query40.q.out
index ab196dc..f286294 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query40.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query40.q.out
@@ -92,7 +92,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-03-08 
23:00:00.0 AND 1998-05-08 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-03-08 23:00:00.0' AND TIMESTAMP'1998-05-08 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int), d_date (type: string)
@@ -219,7 +219,7 @@ STAGE PLANS:
                     1 Map 9
                   Statistics: Num rows: 421645953 Data size: 57099332415 Basic 
stats: COMPLETE Column stats: NONE
                   Select Operator
-                    expressions: _col14 (type: string), _col11 (type: string), 
CASE WHEN ((CAST( _col9 AS DATE) < 1998-04-08)) THEN ((_col4 - 
COALESCE(_col7,0))) ELSE (0) END (type: decimal(13,2)), CASE WHEN ((CAST( _col9 
AS DATE) >= 1998-04-08)) THEN ((_col4 - COALESCE(_col7,0))) ELSE (0) END (type: 
decimal(13,2))
+                    expressions: _col14 (type: string), _col11 (type: string), 
CASE WHEN ((CAST( _col9 AS DATE) < DATE'1998-04-08')) THEN ((_col4 - 
COALESCE(_col7,0))) ELSE (0) END (type: decimal(13,2)), CASE WHEN ((CAST( _col9 
AS DATE) >= DATE'1998-04-08')) THEN ((_col4 - COALESCE(_col7,0))) ELSE (0) END 
(type: decimal(13,2))
                     outputColumnNames: _col0, _col1, _col2, _col3
                     Statistics: Num rows: 421645953 Data size: 57099332415 
Basic stats: COMPLETE Column stats: NONE
                     Group By Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query45.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query45.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query45.q.out
index 07af4e2..b674400 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query45.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query45.q.out
@@ -284,7 +284,7 @@ STAGE PLANS:
                     outputColumnNames: _col3, _col7, _col8, _col13, _col14, 
_col15, _col17
                     Statistics: Num rows: 191667562 Data size: 29319594068 
Basic stats: COMPLETE Column stats: NONE
                     Filter Operator
-                      predicate: ((substr(_col8, 1, 5)) IN ('85669', '86197', 
'88274', '83405', '86475', '85392', '85460', '80348', '81792') or CASE WHEN 
((_col14 = 0)) THEN (false) WHEN (_col17 is not null) THEN (true) WHEN (_col13 
is null) THEN (null) WHEN ((_col15 < _col14)) THEN (null) ELSE (false) END) 
(type: boolean)
+                      predicate: ((substr(_col8, 1, 5)) IN ('85669', '86197', 
'88274', '83405', '86475', '85392', '85460', '80348', '81792') or CASE WHEN 
((_col14 = 0L)) THEN (false) WHEN (_col17 is not null) THEN (true) WHEN (_col13 
is null) THEN (null) WHEN ((_col15 < _col14)) THEN (null) ELSE (false) END) 
(type: boolean)
                       Statistics: Num rows: 191667562 Data size: 29319594068 
Basic stats: COMPLETE Column stats: NONE
                       Select Operator
                         expressions: _col3 (type: decimal(7,2)), _col7 (type: 
string), _col8 (type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query5.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query5.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query5.q.out
index 1ba37e0..90b45c1 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query5.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query5.q.out
@@ -362,7 +362,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-08-04 
00:00:00.0 AND 1998-08-18 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-08-04 00:00:00.0' AND TIMESTAMP'1998-08-18 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)
@@ -469,7 +469,7 @@ STAGE PLANS:
                   alias: date_dim
                   Statistics: Num rows: 73049 Data size: 81741831 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 1998-08-04 
00:00:00.0 AND 1998-08-18 00:00:00.0 and d_date_sk is not null) (type: boolean)
+                    predicate: (CAST( d_date AS TIMESTAMP) BETWEEN 
TIMESTAMP'1998-08-04 00:00:00.0' AND TIMESTAMP'1998-08-18 00:00:00.0' and 
d_date_sk is not null) (type: boolean)
                     Statistics: Num rows: 8116 Data size: 9081804 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: d_date_sk (type: int)
@@ -550,7 +550,7 @@ STAGE PLANS:
                   Statistics: Num rows: 191657181 Data size: 25444391433 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: 
bigint)
+                    keys: _col0 (type: string), _col1 (type: string), 0L 
(type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 
Basic stats: COMPLETE Column stats: NONE
@@ -609,7 +609,7 @@ STAGE PLANS:
                   Statistics: Num rows: 182955399 Data size: 24876643188 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: 
bigint)
+                    keys: _col0 (type: string), _col1 (type: string), 0L 
(type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 
Basic stats: COMPLETE Column stats: NONE
@@ -685,7 +685,7 @@ STAGE PLANS:
                   Statistics: Num rows: 383320021 Data size: 33442403085 Basic 
stats: COMPLETE Column stats: NONE
                   Group By Operator
                     aggregations: sum(_col2), sum(_col3), sum(_col4)
-                    keys: _col0 (type: string), _col1 (type: string), 0 (type: 
bigint)
+                    keys: _col0 (type: string), _col1 (type: string), 0L 
(type: bigint)
                     mode: hash
                     outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                     Statistics: Num rows: 2273797803 Data size: 251290313118 
Basic stats: COMPLETE Column stats: NONE

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/perf/spark/query6.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/spark/query6.q.out 
b/ql/src/test/results/clientpositive/perf/spark/query6.q.out
index 126cf9e..3e464f1 100644
--- a/ql/src/test/results/clientpositive/perf/spark/query6.q.out
+++ b/ql/src/test/results/clientpositive/perf/spark/query6.q.out
@@ -414,7 +414,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1
                 Statistics: Num rows: 383325119 Data size: 33817053293 Basic 
stats: COMPLETE Column stats: NONE
                 Filter Operator
-                  predicate: (_col1 >= 10) (type: boolean)
+                  predicate: (_col1 >= 10L) (type: boolean)
                   Statistics: Num rows: 127775039 Data size: 11272351038 Basic 
stats: COMPLETE Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col1 (type: bigint)

Reply via email to