Repository: hive
Updated Branches:
  refs/heads/master fc8a45bb0 -> 17441e485


http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorization_7.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_7.q.out 
b/ql/src/test/results/clientpositive/vectorization_7.q.out
index 51d2b45..fcf7eec 100644
--- a/ql/src/test/results/clientpositive/vectorization_7.q.out
+++ b/ql/src/test/results/clientpositive/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: 1174134 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: 1174134 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/vectorization_8.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_8.q.out 
b/ql/src/test/results/clientpositive/vectorization_8.q.out
index 1da5623..da4c380 100644
--- a/ql/src/test/results/clientpositive/vectorization_8.q.out
+++ b/ql/src/test/results/clientpositive/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: 2641964 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: 2641964 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/vectorization_9.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_9.q.out 
b/ql/src/test/results/clientpositive/vectorization_9.q.out
index 69f5982..b33c0f7 100644
--- a/ql/src/test/results/clientpositive/vectorization_9.q.out
+++ b/ql/src/test/results/clientpositive/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: 880654 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: 440327 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: 440327 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/vectorization_limit.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_limit.q.out 
b/ql/src/test/results/clientpositive/vectorization_limit.q.out
index f493191..955c620 100644
--- a/ql/src/test/results/clientpositive/vectorization_limit.q.out
+++ b/ql/src/test/results/clientpositive/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/vectorization_numeric_overflows.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/vectorization_numeric_overflows.q.out 
b/ql/src/test/results/clientpositive/vectorization_numeric_overflows.q.out
index 344db2b..583a550 100644
--- a/ql/src/test/results/clientpositive/vectorization_numeric_overflows.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_numeric_overflows.q.out
@@ -439,10 +439,10 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterLongColGreaterLongScalar(col 
13:tinyint, val 0)(children: LongColSubtractLongScalarChecked(col 0:tinyint, 
val 2) -> 13:tinyint)
-              predicate: ((ctinyint1 - 2) > 0) (type: boolean)
+              predicate: ((ctinyint1 - 2Y) > 0) (type: boolean)
               Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
-                expressions: ctinyint1 (type: tinyint), (ctinyint1 - 2) (type: 
tinyint)
+                expressions: ctinyint1 (type: tinyint), (ctinyint1 - 2Y) 
(type: tinyint)
                 outputColumnNames: _col0, _col1
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -543,7 +543,7 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterLongColLessLongScalar(col 
13:tinyint, val 0)(children: LongColAddLongScalarChecked(col 1:tinyint, val 2) 
-> 13:tinyint)
-              predicate: ((ctinyint2 + 2) < 0) (type: boolean)
+              predicate: ((ctinyint2 + 2Y) < 0) (type: boolean)
               Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: ctinyint2 (type: tinyint), (ctinyint2 + 2) (type: 
int)
@@ -645,7 +645,7 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterLongColLessLongScalar(col 
13:smallint, val 0)(children: LongColMultiplyLongScalarChecked(col 3:smallint, 
val 2) -> 13:smallint)
-              predicate: ((csmallint2 * 2) < 0) (type: boolean)
+              predicate: ((csmallint2 * 2S) < 0) (type: boolean)
               Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: csmallint2 (type: smallint), (csmallint2 * 2) 
(type: int)
@@ -730,7 +730,7 @@ STAGE PLANS:
             alias: test_overflow
             Statistics: Num rows: 3 Data size: 36 Basic stats: COMPLETE Column 
stats: NONE
             Filter Operator
-              predicate: ((csmallint2 * 2) < 0) (type: boolean)
+              predicate: ((csmallint2 * 2S) < 0) (type: boolean)
               Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: csmallint2 (type: smallint), (csmallint2 * 2) 
(type: int)
@@ -1084,7 +1084,7 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterLongColGreaterLongScalar(col 
13:smallint, val 0)(children: PosModLongToLong(col 2, divisor 16385) -> 
13:smallint)
-              predicate: ((csmallint1 pmod 16385) > 0) (type: boolean)
+              predicate: ((csmallint1 pmod 16385S) > 0) (type: boolean)
               Statistics: Num rows: 1 Data size: 12 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: ctinyint1 (type: tinyint), ctinyint2 (type: 
tinyint), csmallint1 (type: smallint), csmallint2 (type: smallint), cint1 
(type: int), cint2 (type: int), cbigint1 (type: bigint), cbigint2 (type: 
bigint), cfloat1 (type: float), cfloat2 (type: float), cdouble1 (type: double), 
cdouble2 (type: double)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorization_part_project.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/vectorization_part_project.q.out 
b/ql/src/test/results/clientpositive/vectorization_part_project.q.out
index a0e1d91..e34bb24 100644
--- a/ql/src/test/results/clientpositive/vectorization_part_project.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_part_project.q.out
@@ -66,7 +66,7 @@ STAGE PLANS:
             alias: alltypesorc_part
             Statistics: Num rows: 200 Data size: 54496 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: 54496 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/vectorized_case.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_case.q.out 
b/ql/src/test/results/clientpositive/vectorized_case.q.out
index b89fa51..428781f 100644
--- a/ql/src/test/results/clientpositive/vectorized_case.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_case.q.out
@@ -57,10 +57,10 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterExprOrExpr(children: 
FilterLongColEqualLongScalar(col 1:smallint, val 418), 
FilterLongColEqualLongScalar(col 1:smallint, val 12205), 
FilterLongColEqualLongScalar(col 1:smallint, val 10583))
-              predicate: ((csmallint = 10583) or (csmallint = 12205) or 
(csmallint = 418)) (type: boolean)
+              predicate: ((csmallint = 10583S) or (csmallint = 12205S) or 
(csmallint = 418S)) (type: boolean)
               Statistics: Num rows: 12288 Data size: 2641964 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: csmallint (type: smallint), CASE WHEN ((csmallint 
= 418)) THEN ('a') WHEN ((csmallint = 12205)) THEN ('b') ELSE ('c') END (type: 
string), CASE WHEN ((csmallint = 418)) THEN ('a') WHEN ((csmallint = 12205)) 
THEN ('b') ELSE ('c') END (type: string)
+                expressions: csmallint (type: smallint), CASE WHEN ((csmallint 
= 418S)) THEN ('a') WHEN ((csmallint = 12205S)) THEN ('b') ELSE ('c') END 
(type: string), CASE WHEN ((csmallint = 418S)) THEN ('a') WHEN ((csmallint = 
12205S)) THEN ('b') ELSE ('c') END (type: string)
                 outputColumnNames: _col0, _col1, _col2
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -202,10 +202,10 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterExprOrExpr(children: 
FilterLongColEqualLongScalar(col 1:smallint, val 418), 
FilterLongColEqualLongScalar(col 1:smallint, val 12205), 
FilterLongColEqualLongScalar(col 1:smallint, val 10583))
-              predicate: ((csmallint = 10583) or (csmallint = 12205) or 
(csmallint = 418)) (type: boolean)
+              predicate: ((csmallint = 10583S) or (csmallint = 12205S) or 
(csmallint = 418S)) (type: boolean)
               Statistics: Num rows: 12288 Data size: 2641964 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: csmallint (type: smallint), CASE WHEN ((csmallint 
= 418)) THEN ('a') WHEN ((csmallint = 12205)) THEN ('b') ELSE (null) END (type: 
string), CASE WHEN ((csmallint = 418)) THEN ('a') WHEN ((csmallint = 12205)) 
THEN (null) ELSE ('c') END (type: string)
+                expressions: csmallint (type: smallint), CASE WHEN ((csmallint 
= 418S)) THEN ('a') WHEN ((csmallint = 12205S)) THEN ('b') ELSE (null) END 
(type: string), CASE WHEN ((csmallint = 418S)) THEN ('a') WHEN ((csmallint = 
12205S)) THEN (null) ELSE ('c') END (type: string)
                 outputColumnNames: _col0, _col1, _col2
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -768,7 +768,7 @@ STAGE PLANS:
                 native: true
                 vectorizationSchemaColumns: [0:member:bigint, 1:attr:bigint, 
2:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
             Select Operator
-              expressions: CASE WHEN ((member = 1)) THEN ((attr + 1)) ELSE 
((attr + 2)) END (type: bigint)
+              expressions: CASE WHEN ((member = 1L)) THEN ((attr + 1L)) ELSE 
((attr + 2L)) END (type: bigint)
               outputColumnNames: _col0
               Select Vectorization:
                   className: VectorSelectOperator
@@ -845,7 +845,7 @@ STAGE PLANS:
                 native: true
                 vectorizationSchemaColumns: [0:member:bigint, 1:attr:bigint, 
2:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
             Select Operator
-              expressions: CASE WHEN ((member = 1)) THEN (null) ELSE ((attr + 
2)) END (type: bigint)
+              expressions: CASE WHEN ((member = 1L)) THEN (null) ELSE ((attr + 
2L)) END (type: bigint)
               outputColumnNames: _col0
               Select Vectorization:
                   className: VectorSelectOperator
@@ -922,7 +922,7 @@ STAGE PLANS:
                 native: true
                 vectorizationSchemaColumns: [0:member:bigint, 1:attr:bigint, 
2:ROW__ID:struct<transactionid:bigint,bucketid:int,rowid:bigint>]
             Select Operator
-              expressions: CASE WHEN ((member = 1)) THEN ((attr + 1)) ELSE 
(null) END (type: bigint)
+              expressions: CASE WHEN ((member = 1L)) THEN ((attr + 1L)) ELSE 
(null) END (type: bigint)
               outputColumnNames: _col0
               Select Vectorization:
                   className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorized_casts.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_casts.q.out 
b/ql/src/test/results/clientpositive/vectorized_casts.q.out
index f6f2105..9919cab 100644
--- a/ql/src/test/results/clientpositive/vectorized_casts.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_casts.q.out
@@ -174,7 +174,7 @@ STAGE PLANS:
               predicate: ((cbigint % 250) = 0) (type: boolean)
               Statistics: Num rows: 6144 Data size: 1320982 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: UDFToBoolean(ctinyint) (type: boolean), 
UDFToBoolean(csmallint) (type: boolean), UDFToBoolean(cint) (type: boolean), 
UDFToBoolean(cbigint) (type: boolean), UDFToBoolean(cfloat) (type: boolean), 
UDFToBoolean(cdouble) (type: boolean), cboolean1 (type: boolean), 
UDFToBoolean((cbigint * 0)) (type: boolean), UDFToBoolean(ctimestamp1) (type: 
boolean), UDFToBoolean(cstring1) (type: boolean), UDFToInteger(ctinyint) (type: 
int), UDFToInteger(csmallint) (type: int), cint (type: int), 
UDFToInteger(cbigint) (type: int), UDFToInteger(cfloat) (type: int), 
UDFToInteger(cdouble) (type: int), UDFToInteger(cboolean1) (type: int), 
UDFToInteger(ctimestamp1) (type: int), UDFToInteger(cstring1) (type: int), 
UDFToInteger(substr(cstring1, 1, 1)) (type: int), UDFToByte(cfloat) (type: 
tinyint), UDFToShort(cfloat) (type: smallint), UDFToLong(cfloat) (type: 
bigint), UDFToDouble(ctinyint) (type: double), UDFToDouble(csmallint) (type: 
double), UDFToDouble(cint) (type: double), UDFToD
 ouble(cbigint) (type: double), UDFToDouble(cfloat) (type: double), cdouble 
(type: double), UDFToDouble(cboolean1) (type: double), UDFToDouble(ctimestamp1) 
(type: double), UDFToDouble(cstring1) (type: double), 
UDFToDouble(substr(cstring1, 1, 1)) (type: double), UDFToFloat(cint) (type: 
float), UDFToFloat(cdouble) (type: float), CAST( ctinyint AS TIMESTAMP) (type: 
timestamp), CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS 
TIMESTAMP) (type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), 
CAST( cfloat AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) 
(type: timestamp), CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( 
(cbigint * 0) AS TIMESTAMP) (type: timestamp), CAST( CAST( ctimestamp1 AS DATE) 
AS TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( cstring1 
AS TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS TIMESTAMP) 
(type: timestamp), UDFToString(ctinyint) (type: string), UDFToString(csmallint) 
(type: string), UD
 FToString(cint) (type: string), UDFToString(cbigint) (type: string), 
UDFToString(cfloat) (type: string), UDFToString(cdouble) (type: string), 
UDFToString(cboolean1) (type: string), UDFToString((cbigint * 0)) (type: 
string), UDFToString(ctimestamp1) (type: string), cstring1 (type: string), 
UDFToString(CAST( cstring1 AS CHAR(10)) (type: string), UDFToString(CAST( 
cstring1 AS varchar(10))) (type: string), UDFToFloat(UDFToInteger(cfloat)) 
(type: float), UDFToDouble((cint * 2)) (type: double), UDFToString(sin(cfloat)) 
(type: string), (UDFToDouble(UDFToFloat(cint)) + UDFToDouble(cboolean1)) (type: 
double)
+                expressions: UDFToBoolean(ctinyint) (type: boolean), 
UDFToBoolean(csmallint) (type: boolean), UDFToBoolean(cint) (type: boolean), 
UDFToBoolean(cbigint) (type: boolean), UDFToBoolean(cfloat) (type: boolean), 
UDFToBoolean(cdouble) (type: boolean), cboolean1 (type: boolean), 
UDFToBoolean((cbigint * 0L)) (type: boolean), UDFToBoolean(ctimestamp1) (type: 
boolean), UDFToBoolean(cstring1) (type: boolean), UDFToInteger(ctinyint) (type: 
int), UDFToInteger(csmallint) (type: int), cint (type: int), 
UDFToInteger(cbigint) (type: int), UDFToInteger(cfloat) (type: int), 
UDFToInteger(cdouble) (type: int), UDFToInteger(cboolean1) (type: int), 
UDFToInteger(ctimestamp1) (type: int), UDFToInteger(cstring1) (type: int), 
UDFToInteger(substr(cstring1, 1, 1)) (type: int), UDFToByte(cfloat) (type: 
tinyint), UDFToShort(cfloat) (type: smallint), UDFToLong(cfloat) (type: 
bigint), UDFToDouble(ctinyint) (type: double), UDFToDouble(csmallint) (type: 
double), UDFToDouble(cint) (type: double), UDFTo
 Double(cbigint) (type: double), UDFToDouble(cfloat) (type: double), cdouble 
(type: double), UDFToDouble(cboolean1) (type: double), UDFToDouble(ctimestamp1) 
(type: double), UDFToDouble(cstring1) (type: double), 
UDFToDouble(substr(cstring1, 1, 1)) (type: double), UDFToFloat(cint) (type: 
float), UDFToFloat(cdouble) (type: float), CAST( ctinyint AS TIMESTAMP) (type: 
timestamp), CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS 
TIMESTAMP) (type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), 
CAST( cfloat AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) 
(type: timestamp), CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( 
(cbigint * 0L) AS TIMESTAMP) (type: timestamp), CAST( CAST( ctimestamp1 AS 
DATE) AS TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( 
cstring1 AS TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS 
TIMESTAMP) (type: timestamp), UDFToString(ctinyint) (type: string), 
UDFToString(csmallint) (type: string), 
 UDFToString(cint) (type: string), UDFToString(cbigint) (type: string), 
UDFToString(cfloat) (type: string), UDFToString(cdouble) (type: string), 
UDFToString(cboolean1) (type: string), UDFToString((cbigint * 0L)) (type: 
string), UDFToString(ctimestamp1) (type: string), cstring1 (type: string), 
UDFToString(CAST( cstring1 AS CHAR(10)) (type: string), UDFToString(CAST( 
cstring1 AS varchar(10))) (type: string), UDFToFloat(UDFToInteger(cfloat)) 
(type: float), UDFToDouble((cint * 2)) (type: double), UDFToString(sin(cfloat)) 
(type: string), (UDFToDouble(UDFToFloat(cint)) + UDFToDouble(cboolean1)) (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, _col22, _col23, _col24, _col25, 
_col26, _col27, _col28, _col29, _col30, _col31, _col32, _col33, _col34, _col35, 
_col36, _col37, _col38, _col39, _col40, _col41, _col42, _col43, _col44, _col45, 
_col46, _col47, _col48, _col49, _col50, _col51, _col52, _col53, _col54, _col55, 
_col56, _col57, _col58, _col59, _col60, _col61, _col62
                 Select Vectorization:
                     className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorized_date_funcs.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_date_funcs.q.out 
b/ql/src/test/results/clientpositive/vectorized_date_funcs.q.out
index 298d92b..50c3448 100644
--- a/ql/src/test/results/clientpositive/vectorized_date_funcs.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_date_funcs.q.out
@@ -262,7 +262,7 @@ STAGE PLANS:
             TableScan Vectorization:
                 native: true
             Select Operator
-              expressions: fl_time (type: timestamp), 
to_unix_timestamp(fl_time) (type: bigint), year(fl_time) (type: int), 
month(fl_time) (type: int), day(fl_time) (type: int), dayofmonth(fl_time) 
(type: int), dayofweek(fl_time) (type: int), weekofyear(fl_time) (type: int), 
CAST( fl_time AS DATE) (type: date), to_date(fl_time) (type: date), 
date_add(fl_time, 2) (type: date), date_sub(fl_time, 2) (type: date), 
datediff(fl_time, '2000-01-01') (type: int), datediff(fl_time, 2000-01-01) 
(type: int), datediff(fl_time, 2000-01-01 00:00:00.0) (type: int), 
datediff(fl_time, 2000-01-01 11:13:09.0) (type: int), datediff(fl_time, 
'2007-03-14') (type: int), datediff(fl_time, 2007-03-14) (type: int), 
datediff(fl_time, 2007-03-14 00:00:00.0) (type: int), datediff(fl_time, 
2007-03-14 08:21:59.0) (type: int)
+              expressions: fl_time (type: timestamp), 
to_unix_timestamp(fl_time) (type: bigint), year(fl_time) (type: int), 
month(fl_time) (type: int), day(fl_time) (type: int), dayofmonth(fl_time) 
(type: int), dayofweek(fl_time) (type: int), weekofyear(fl_time) (type: int), 
CAST( fl_time AS DATE) (type: date), to_date(fl_time) (type: date), 
date_add(fl_time, 2) (type: date), date_sub(fl_time, 2) (type: date), 
datediff(fl_time, '2000-01-01') (type: int), datediff(fl_time, 
DATE'2000-01-01') (type: int), datediff(fl_time, TIMESTAMP'2000-01-01 
00:00:00.0') (type: int), datediff(fl_time, TIMESTAMP'2000-01-01 11:13:09.0') 
(type: int), datediff(fl_time, '2007-03-14') (type: int), datediff(fl_time, 
DATE'2007-03-14') (type: int), datediff(fl_time, TIMESTAMP'2007-03-14 
00:00:00.0') (type: int), datediff(fl_time, TIMESTAMP'2007-03-14 08:21:59.0') 
(type: int)
               outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19
               Select Vectorization:
                   className: VectorSelectOperator
@@ -550,7 +550,7 @@ STAGE PLANS:
             TableScan Vectorization:
                 native: true
             Select Operator
-              expressions: fl_date (type: date), to_unix_timestamp(fl_date) 
(type: bigint), year(fl_date) (type: int), month(fl_date) (type: int), 
day(fl_date) (type: int), dayofmonth(fl_date) (type: int), dayofweek(fl_date) 
(type: int), weekofyear(fl_date) (type: int), fl_date (type: date), 
to_date(fl_date) (type: date), date_add(fl_date, 2) (type: date), 
date_sub(fl_date, 2) (type: date), datediff(fl_date, '2000-01-01') (type: int), 
datediff(fl_date, 2000-01-01) (type: int), datediff(fl_date, 2000-01-01 
00:00:00.0) (type: int), datediff(fl_date, 2000-01-01 11:13:09.0) (type: int), 
datediff(fl_date, '2007-03-14') (type: int), datediff(fl_date, 2007-03-14) 
(type: int), datediff(fl_date, 2007-03-14 00:00:00.0) (type: int), 
datediff(fl_date, 2007-03-14 08:21:59.0) (type: int)
+              expressions: fl_date (type: date), to_unix_timestamp(fl_date) 
(type: bigint), year(fl_date) (type: int), month(fl_date) (type: int), 
day(fl_date) (type: int), dayofmonth(fl_date) (type: int), dayofweek(fl_date) 
(type: int), weekofyear(fl_date) (type: int), fl_date (type: date), 
to_date(fl_date) (type: date), date_add(fl_date, 2) (type: date), 
date_sub(fl_date, 2) (type: date), datediff(fl_date, '2000-01-01') (type: int), 
datediff(fl_date, DATE'2000-01-01') (type: int), datediff(fl_date, 
TIMESTAMP'2000-01-01 00:00:00.0') (type: int), datediff(fl_date, 
TIMESTAMP'2000-01-01 11:13:09.0') (type: int), datediff(fl_date, '2007-03-14') 
(type: int), datediff(fl_date, DATE'2007-03-14') (type: int), datediff(fl_date, 
TIMESTAMP'2007-03-14 00:00:00.0') (type: int), datediff(fl_date, 
TIMESTAMP'2007-03-14 08:21:59.0') (type: int)
               outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19
               Select Vectorization:
                   className: VectorSelectOperator
@@ -842,7 +842,7 @@ STAGE PLANS:
             TableScan Vectorization:
                 native: true
             Select Operator
-              expressions: fl_time (type: timestamp), fl_date (type: date), 
(year(fl_time) = year(fl_date)) (type: boolean), (month(fl_time) = 
month(fl_date)) (type: boolean), (day(fl_time) = day(fl_date)) (type: boolean), 
(dayofmonth(fl_time) = dayofmonth(fl_date)) (type: boolean), 
(dayofweek(fl_time) = dayofweek(fl_date)) (type: boolean), (weekofyear(fl_time) 
= weekofyear(fl_date)) (type: boolean), (CAST( fl_time AS DATE) = fl_date) 
(type: boolean), (to_date(fl_time) = to_date(fl_date)) (type: boolean), 
(date_add(fl_time, 2) = date_add(fl_date, 2)) (type: boolean), 
(date_sub(fl_time, 2) = date_sub(fl_date, 2)) (type: boolean), 
(datediff(fl_time, '2000-01-01') = datediff(fl_date, '2000-01-01')) (type: 
boolean), (datediff(fl_time, 2000-01-01) = datediff(fl_date, 2000-01-01)) 
(type: boolean), (datediff(fl_time, 2000-01-01 00:00:00.0) = datediff(fl_date, 
2000-01-01 00:00:00.0)) (type: boolean), (datediff(fl_time, 2000-01-01 
11:13:09.0) = datediff(fl_date, 2000-01-01 11:13:09.0)) (type
 : boolean), (datediff(fl_time, '2007-03-14') = datediff(fl_date, 
'2007-03-14')) (type: boolean), (datediff(fl_time, 2007-03-14) = 
datediff(fl_date, 2007-03-14)) (type: boolean), (datediff(fl_time, 2007-03-14 
00:00:00.0) = datediff(fl_date, 2007-03-14 00:00:00.0)) (type: boolean), 
(datediff(fl_time, 2007-03-14 08:21:59.0) = datediff(fl_date, 2007-03-14 
08:21:59.0)) (type: boolean), (datediff(fl_date, '2000-01-01') = 
datediff(fl_date, 2000-01-01)) (type: boolean), (datediff(fl_date, 
'2007-03-14') = datediff(fl_date, 2007-03-14)) (type: boolean)
+              expressions: fl_time (type: timestamp), fl_date (type: date), 
(year(fl_time) = year(fl_date)) (type: boolean), (month(fl_time) = 
month(fl_date)) (type: boolean), (day(fl_time) = day(fl_date)) (type: boolean), 
(dayofmonth(fl_time) = dayofmonth(fl_date)) (type: boolean), 
(dayofweek(fl_time) = dayofweek(fl_date)) (type: boolean), (weekofyear(fl_time) 
= weekofyear(fl_date)) (type: boolean), (CAST( fl_time AS DATE) = fl_date) 
(type: boolean), (to_date(fl_time) = to_date(fl_date)) (type: boolean), 
(date_add(fl_time, 2) = date_add(fl_date, 2)) (type: boolean), 
(date_sub(fl_time, 2) = date_sub(fl_date, 2)) (type: boolean), 
(datediff(fl_time, '2000-01-01') = datediff(fl_date, '2000-01-01')) (type: 
boolean), (datediff(fl_time, DATE'2000-01-01') = datediff(fl_date, 
DATE'2000-01-01')) (type: boolean), (datediff(fl_time, TIMESTAMP'2000-01-01 
00:00:00.0') = datediff(fl_date, TIMESTAMP'2000-01-01 00:00:00.0')) (type: 
boolean), (datediff(fl_time, TIMESTAMP'2000-01-01 11:13:09.0') = da
 tediff(fl_date, TIMESTAMP'2000-01-01 11:13:09.0')) (type: boolean), 
(datediff(fl_time, '2007-03-14') = datediff(fl_date, '2007-03-14')) (type: 
boolean), (datediff(fl_time, DATE'2007-03-14') = datediff(fl_date, 
DATE'2007-03-14')) (type: boolean), (datediff(fl_time, TIMESTAMP'2007-03-14 
00:00:00.0') = datediff(fl_date, TIMESTAMP'2007-03-14 00:00:00.0')) (type: 
boolean), (datediff(fl_time, TIMESTAMP'2007-03-14 08:21:59.0') = 
datediff(fl_date, TIMESTAMP'2007-03-14 08:21:59.0')) (type: boolean), 
(datediff(fl_date, '2000-01-01') = datediff(fl_date, DATE'2000-01-01')) (type: 
boolean), (datediff(fl_date, '2007-03-14') = datediff(fl_date, 
DATE'2007-03-14')) (type: boolean)
               outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col16, _col17, _col18, _col19, _col20, _col21
               Select Vectorization:
                   className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorized_math_funcs.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_math_funcs.q.out 
b/ql/src/test/results/clientpositive/vectorized_math_funcs.q.out
index d5ba561..52ddd19 100644
--- a/ql/src/test/results/clientpositive/vectorized_math_funcs.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_math_funcs.q.out
@@ -124,10 +124,10 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterExprAndExpr(children: 
FilterLongColEqualLongScalar(col 13:bigint, val 0)(children: 
LongColModuloLongScalar(col 3:bigint, val 500) -> 13:bigint), 
FilterDoubleColGreaterEqualDoubleScalar(col 14:double, val -1.0)(children: 
FuncSinDoubleToDouble(col 4:float) -> 14:double))
-              predicate: (((cbigint % 500) = 0) and (sin(cfloat) >= -1.0)) 
(type: boolean)
+              predicate: (((cbigint % 500) = 0) and (sin(cfloat) >= -1.0D)) 
(type: boolean)
               Statistics: Num rows: 2048 Data size: 440327 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: cdouble (type: double), round(cdouble, 2) (type: 
double), floor(cdouble) (type: bigint), ceil(cdouble) (type: bigint), rand() 
(type: double), rand(98007) (type: double), exp(ln(cdouble)) (type: double), 
ln(cdouble) (type: double), ln(cfloat) (type: double), log10(cdouble) (type: 
double), log2(cdouble) (type: double), log2((cdouble - 15601.0)) (type: 
double), log2(cfloat) (type: double), log2(cbigint) (type: double), log2(cint) 
(type: double), log2(csmallint) (type: double), log2(ctinyint) (type: double), 
log(2, cdouble) (type: double), power(log2(cdouble), 2) (type: double), 
power(log2(cdouble), 2) (type: double), sqrt(cdouble) (type: double), 
sqrt(cbigint) (type: double), bin(cbigint) (type: string), hex(cdouble) (type: 
string), conv(cbigint, 10, 16) (type: string), abs(cdouble) (type: double), 
abs(ctinyint) (type: int), (cint pmod 3) (type: int), sin(cdouble) (type: 
double), asin(cdouble) (type: double), cos(cdouble) (type: double), 
acos(cdouble) (type
 : double), atan(cdouble) (type: double), degrees(cdouble) (type: double), 
radians(cdouble) (type: double), cdouble (type: double), cbigint (type: 
bigint), (- cdouble) (type: double), sign(cdouble) (type: double), 
sign(cbigint) (type: double), cos(((- sin(log(cdouble))) + 3.14159)) (type: 
double)
+                expressions: cdouble (type: double), round(cdouble, 2) (type: 
double), floor(cdouble) (type: bigint), ceil(cdouble) (type: bigint), rand() 
(type: double), rand(98007) (type: double), exp(ln(cdouble)) (type: double), 
ln(cdouble) (type: double), ln(cfloat) (type: double), log10(cdouble) (type: 
double), log2(cdouble) (type: double), log2((cdouble - 15601.0D)) (type: 
double), log2(cfloat) (type: double), log2(cbigint) (type: double), log2(cint) 
(type: double), log2(csmallint) (type: double), log2(ctinyint) (type: double), 
log(2, cdouble) (type: double), power(log2(cdouble), 2) (type: double), 
power(log2(cdouble), 2) (type: double), sqrt(cdouble) (type: double), 
sqrt(cbigint) (type: double), bin(cbigint) (type: string), hex(cdouble) (type: 
string), conv(cbigint, 10, 16) (type: string), abs(cdouble) (type: double), 
abs(ctinyint) (type: int), (cint pmod 3) (type: int), sin(cdouble) (type: 
double), asin(cdouble) (type: double), cos(cdouble) (type: double), 
acos(cdouble) (typ
 e: double), atan(cdouble) (type: double), degrees(cdouble) (type: double), 
radians(cdouble) (type: double), cdouble (type: double), cbigint (type: 
bigint), (- cdouble) (type: double), sign(cdouble) (type: double), 
sign(cbigint) (type: double), cos(((- sin(log(cdouble))) + 3.14159D)) (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, _col22, _col23, _col24, _col25, 
_col26, _col27, _col28, _col29, _col30, _col31, _col32, _col33, _col34, _col35, 
_col36, _col37, _col38, _col39, _col40
                 Select Vectorization:
                     className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorized_timestamp.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_timestamp.q.out 
b/ql/src/test/results/clientpositive/vectorized_timestamp.q.out
index 6c49e03..5f43915 100644
--- a/ql/src/test/results/clientpositive/vectorized_timestamp.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_timestamp.q.out
@@ -231,7 +231,7 @@ STAGE PLANS:
                   className: VectorFilterOperator
                   native: true
                   predicateExpression: FilterTimestampColumnInList(col 
0:timestamp, values [0001-01-01 00:00:00.0, 0002-02-02 00:00:00.0])
-              predicate: (ts) IN (0001-01-01 00:00:00.0, 0002-02-02 
00:00:00.0) (type: boolean)
+              predicate: (ts) IN (TIMESTAMP'0001-01-01 00:00:00.0', 
TIMESTAMP'0002-02-02 00:00:00.0') (type: boolean)
               Statistics: Num rows: 1 Data size: 40 Basic stats: COMPLETE 
Column stats: NONE
               Select Operator
                 expressions: ts (type: timestamp)

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out 
b/ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
index d864b57..2ccff7b 100644
--- a/ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_timestamp_funcs.q.out
@@ -993,7 +993,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7
           Statistics: Num rows: 1 Data size: 672 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: round(_col0, 0) (type: double), _col1 BETWEEN 
8.97077295279421E19 AND 8.97077295279422E19 (type: boolean), _col2 BETWEEN 
8.97077295279421E19 AND 8.97077295279422E19 (type: boolean), _col3 BETWEEN 
9.20684592523616E19 AND 9.20684592523617E19 (type: boolean), round(_col4, 3) 
(type: double), round(_col5, 3) (type: double), round(_col6, 3) (type: double), 
round(_col7, 3) (type: double)
+            expressions: round(_col0, 0) (type: double), _col1 BETWEEN 
8.97077295279421E19D AND 8.97077295279422E19D (type: boolean), _col2 BETWEEN 
8.97077295279421E19D AND 8.97077295279422E19D (type: boolean), _col3 BETWEEN 
9.20684592523616E19D AND 9.20684592523617E19D (type: boolean), round(_col4, 3) 
(type: double), round(_col5, 3) (type: double), round(_col6, 3) (type: double), 
round(_col7, 3) (type: double)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7
             Statistics: Num rows: 1 Data size: 672 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/vectorized_timestamp_ints_casts.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/vectorized_timestamp_ints_casts.q.out 
b/ql/src/test/results/clientpositive/vectorized_timestamp_ints_casts.q.out
index a203507..fd9fd38 100644
--- a/ql/src/test/results/clientpositive/vectorized_timestamp_ints_casts.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_timestamp_ints_casts.q.out
@@ -59,7 +59,7 @@ STAGE PLANS:
               predicate: ((cbigint % 250) = 0) (type: boolean)
               Statistics: Num rows: 6144 Data size: 1320982 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: CAST( ctinyint AS TIMESTAMP) (type: timestamp), 
CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS TIMESTAMP) 
(type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), CAST( cfloat 
AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) (type: timestamp), 
CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( (cbigint * 0) AS 
TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( cstring1 AS 
TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS TIMESTAMP) (type: 
timestamp)
+                expressions: CAST( ctinyint AS TIMESTAMP) (type: timestamp), 
CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS TIMESTAMP) 
(type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), CAST( cfloat 
AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) (type: timestamp), 
CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( (cbigint * 0L) AS 
TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( cstring1 AS 
TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS TIMESTAMP) (type: 
timestamp)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Select Vectorization:
                     className: VectorSelectOperator
@@ -219,7 +219,7 @@ STAGE PLANS:
               predicate: ((cbigint % 250) = 0) (type: boolean)
               Statistics: Num rows: 6144 Data size: 1320982 Basic stats: 
COMPLETE Column stats: NONE
               Select Operator
-                expressions: CAST( ctinyint AS TIMESTAMP) (type: timestamp), 
CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS TIMESTAMP) 
(type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), CAST( cfloat 
AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) (type: timestamp), 
CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( (cbigint * 0) AS 
TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( cstring1 AS 
TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS TIMESTAMP) (type: 
timestamp)
+                expressions: CAST( ctinyint AS TIMESTAMP) (type: timestamp), 
CAST( csmallint AS TIMESTAMP) (type: timestamp), CAST( cint AS TIMESTAMP) 
(type: timestamp), CAST( cbigint AS TIMESTAMP) (type: timestamp), CAST( cfloat 
AS TIMESTAMP) (type: timestamp), CAST( cdouble AS TIMESTAMP) (type: timestamp), 
CAST( cboolean1 AS TIMESTAMP) (type: timestamp), CAST( (cbigint * 0L) AS 
TIMESTAMP) (type: timestamp), ctimestamp1 (type: timestamp), CAST( cstring1 AS 
TIMESTAMP) (type: timestamp), CAST( substr(cstring1, 1, 1) AS TIMESTAMP) (type: 
timestamp)
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Select Vectorization:
                     className: VectorSelectOperator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/view_cbo.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/view_cbo.q.out 
b/ql/src/test/results/clientpositive/view_cbo.q.out
index 2fafa4f..c740596 100644
--- a/ql/src/test/results/clientpositive/view_cbo.q.out
+++ b/ql/src/test/results/clientpositive/view_cbo.q.out
@@ -21,12 +21,12 @@ STAGE PLANS:
             alias: src
             Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
-              expressions: value (type: string), key (type: string), 
(UDFToDouble(key) + 1.0) (type: double)
+              expressions: value (type: string), key (type: string), 
(UDFToDouble(key) + 1.0D) (type: double)
               outputColumnNames: _col0, _col1, _col2
               Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE 
Column stats: NONE
               Group By Operator
                 aggregations: avg(_col2)
-                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
                 Statistics: Num rows: 1500 Data size: 15936 Basic stats: 
COMPLETE Column stats: NONE
@@ -690,7 +690,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), 2 (type: 
bigint), _col2 (type: bigint)
+            expressions: _col0 (type: string), _col1 (type: string), 2L (type: 
bigint), _col2 (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator
@@ -749,7 +749,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3
           Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
           Filter Operator
-            predicate: (((_col2 * 2) = _col3) and (_col2 > 0)) (type: boolean)
+            predicate: (((_col2 * 2) = _col3) and (_col2 > 0L)) (type: boolean)
             Statistics: Num rows: 41 Data size: 435 Basic stats: COMPLETE 
Column stats: NONE
             Select Operator
               expressions: _col0 (type: string), _col1 (type: string)
@@ -795,7 +795,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2
           Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
-            expressions: _col0 (type: string), _col1 (type: string), 1 (type: 
bigint), _col2 (type: bigint)
+            expressions: _col0 (type: string), _col1 (type: string), 1L (type: 
bigint), _col2 (type: bigint)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 250 Data size: 2656 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

Reply via email to