http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorization_short_regress.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vectorization_short_regress.q.out 
b/ql/src/test/results/clientpositive/llap/vectorization_short_regress.q.out
index bd5e284..993bfd5 100644
--- a/ql/src/test/results/clientpositive/llap/vectorization_short_regress.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorization_short_regress.q.out
@@ -100,7 +100,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterLongScalarEqualLongColumn(val 762, col 3:bigint), 
FilterExprAndExpr(children: FilterDoubleColLessDoubleColumn(col 13:float, col 
4:float)(children: CastLongToFloatViaLongToDouble(col 1:smallint) -> 13:float), 
FilterDoubleColGreaterDoubleScalar(col 13:double, val -5.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double), 
FilterDoubleColNotEqualDoubleColumn(col 5:double, col 13:double)(children: 
CastLongToDouble(col 2:int) -> 13:double)), 
FilterStringGroupColEqualStringScalar(col 6:string, val a), 
FilterExprAndExpr(children: FilterDecimalColLessEqualDecimalScalar(col 
14:decimal(22,3), val -1.389)(children: CastLongToDecimal(col 3:bigint) -> 
14:decimal(22,3)), FilterStringGroupColNotEqualStringScalar(col 7:string, val 
a), FilterDecimalScalarNotEqualDecimalColumn(val 79.553, col 
15:decimal(13,3))(children: CastLongToDecimal(col 2:int) -> 15:decimal(13,3)), 
FilterLongColNotEqualLongColumn(col 11:boole
 an, col 10:boolean)))
-                    predicate: (((CAST( cbigint AS decimal(22,3)) <= -1.389) 
and (cstring2 <> 'a') and (79.553 <> CAST( cint AS decimal(13,3))) and 
(cboolean2 <> cboolean1)) or ((UDFToFloat(csmallint) < cfloat) and 
(UDFToDouble(ctimestamp2) > -5.0) and (cdouble <> UDFToDouble(cint))) or (762 = 
cbigint) or (cstring1 = 'a')) (type: boolean)
+                    predicate: (((CAST( cbigint AS decimal(22,3)) <= -1.389) 
and (cstring2 <> 'a') and (79.553 <> CAST( cint AS decimal(13,3))) and 
(cboolean2 <> cboolean1)) or ((UDFToFloat(csmallint) < cfloat) and 
(UDFToDouble(ctimestamp2) > -5.0D) and (cdouble <> UDFToDouble(cint))) or (762L 
= cbigint) or (cstring1 = 'a')) (type: boolean)
                     Statistics: Num rows: 5465 Data size: 1157230 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cfloat (type: float), cdouble (type: double)
@@ -155,7 +155,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8
                 Statistics: Num rows: 1 Data size: 68 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (_col0 + -3728.0) (type: 
double), (- (_col0 + -3728.0)) (type: double), (- (- (_col0 + -3728.0))) (type: 
double), ((- (- (_col0 + -3728.0))) * (_col0 + -3728.0)) (type: double), _col1 
(type: double), (- _col0) (type: double), _col2 (type: double), (((- (- (_col0 
+ -3728.0))) * (_col0 + -3728.0)) * (- (- (_col0 + -3728.0)))) (type: double), 
_col3 (type: double), (- _col2) (type: double), (_col2 - (- (- (_col0 + 
-3728.0)))) (type: double), ((_col2 - (- (- (_col0 + -3728.0)))) * _col2) 
(type: double), _col4 (type: double), _col5 (type: double), (10.175 - _col4) 
(type: double), (- (10.175 - _col4)) (type: double), ((- _col2) / -563.0) 
(type: double), _col6 (type: double), (- ((- _col2) / -563.0)) (type: double), 
(_col0 / _col1) (type: double), _col7 (type: tinyint), _col8 (type: bigint), 
(UDFToDouble(_col7) / ((- _col2) / -563.0)) (type: double), (- (_col0 / _col1)) 
(type: double)
+                  expressions: _col0 (type: double), (_col0 + -3728.0D) (type: 
double), (- (_col0 + -3728.0D)) (type: double), (- (- (_col0 + -3728.0D))) 
(type: double), ((- (- (_col0 + -3728.0D))) * (_col0 + -3728.0D)) (type: 
double), _col1 (type: double), (- _col0) (type: double), _col2 (type: double), 
(((- (- (_col0 + -3728.0D))) * (_col0 + -3728.0D)) * (- (- (_col0 + 
-3728.0D)))) (type: double), _col3 (type: double), (- _col2) (type: double), 
(_col2 - (- (- (_col0 + -3728.0D)))) (type: double), ((_col2 - (- (- (_col0 + 
-3728.0D)))) * _col2) (type: double), _col4 (type: double), _col5 (type: 
double), (10.175D - _col4) (type: double), (- (10.175D - _col4)) (type: 
double), ((- _col2) / -563.0D) (type: double), _col6 (type: double), (- ((- 
_col2) / -563.0D)) (type: double), (_col0 / _col1) (type: double), _col7 (type: 
tinyint), _col8 (type: bigint), (UDFToDouble(_col7) / ((- _col2) / -563.0D)) 
(type: double), (- (_col0 / _col1)) (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
                   Statistics: Num rows: 1 Data size: 196 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -345,7 +345,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterLongColLessEqualLongScalar(col 3:bigint, val 
197), FilterLongColLessLongColumn(col 2:bigint, col 3:bigint)(children: col 
2:int)), FilterExprAndExpr(children: 
FilterDoubleColGreaterEqualDoubleScalar(col 5:double, val -26.28), 
FilterDoubleColGreaterDoubleColumn(col 13:double, col 5:double)(children: 
CastLongToDouble(col 1:smallint) -> 13:double)), FilterExprAndExpr(children: 
FilterDoubleColGreaterDoubleColumn(col 13:float, col 4:float)(children: 
CastLongToFloatViaLongToDouble(col 0:tinyint) -> 13:float), 
FilterStringColRegExpStringScalar(col 6:string, pattern .*ss.*)), 
FilterExprAndExpr(children: FilterDoubleColGreaterDoubleScalar(col 4:float, val 
79.5530014038086), FilterStringColLikeStringScalar(col 7:string, pattern 10%)))
-                    predicate: (((UDFToFloat(ctinyint) > cfloat) and cstring1 
regexp '.*ss.*') or ((cbigint <= 197) and (UDFToLong(cint) < cbigint)) or 
((cdouble >= -26.28) and (UDFToDouble(csmallint) > cdouble)) or ((cfloat > 
79.553) and (cstring2 like '10%'))) (type: boolean)
+                    predicate: (((UDFToFloat(ctinyint) > cfloat) and cstring1 
regexp '.*ss.*') or ((cbigint <= 197L) and (UDFToLong(cint) < cbigint)) or 
((cdouble >= -26.28D) and (UDFToDouble(csmallint) > cdouble)) or ((cfloat > 
79.553) and (cstring2 like '10%'))) (type: boolean)
                     Statistics: Num rows: 6826 Data size: 1131534 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cbigint (type: bigint), cdouble (type: double)
@@ -400,7 +400,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8
                 Statistics: Num rows: 1 Data size: 64 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: int), (UDFToDouble(_col0) / 
-3728.0) (type: double), (_col0 * -3728) (type: int), _col1 (type: double), (- 
(_col0 * -3728)) (type: int), _col2 (type: double), (-563 % (_col0 * -3728)) 
(type: int), (_col1 / _col2) (type: double), (- _col2) (type: double), _col3 
(type: double), _col4 (type: double), (_col2 - 10.175) (type: double), _col5 
(type: int), (UDFToDouble((_col0 * -3728)) % (_col2 - 10.175)) (type: double), 
(- _col3) (type: double), _col6 (type: double), (_col3 % -26.28) (type: 
double), _col7 (type: double), (- (UDFToDouble(_col0) / -3728.0)) (type: 
double), ((- (_col0 * -3728)) % (-563 % (_col0 * -3728))) (type: int), 
((UDFToDouble(_col0) / -3728.0) - _col4) (type: double), (- (_col0 * -3728)) 
(type: int), _col8 (type: double)
+                  expressions: _col0 (type: int), (UDFToDouble(_col0) / 
-3728.0D) (type: double), (_col0 * -3728) (type: int), _col1 (type: double), (- 
(_col0 * -3728)) (type: int), _col2 (type: double), (-563 % (_col0 * -3728)) 
(type: int), (_col1 / _col2) (type: double), (- _col2) (type: double), _col3 
(type: double), _col4 (type: double), (_col2 - 10.175D) (type: double), _col5 
(type: int), (UDFToDouble((_col0 * -3728)) % (_col2 - 10.175D)) (type: double), 
(- _col3) (type: double), _col6 (type: double), (_col3 % -26.28D) (type: 
double), _col7 (type: double), (- (UDFToDouble(_col0) / -3728.0D)) (type: 
double), ((- (_col0 * -3728)) % (-563 % (_col0 * -3728))) (type: int), 
((UDFToDouble(_col0) / -3728.0D) - _col4) (type: double), (- (_col0 * -3728)) 
(type: int), _col8 (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
                   Statistics: Num rows: 1 Data size: 156 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -637,7 +637,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7
                 Statistics: Num rows: 1 Data size: 56 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (- _col0) (type: double), 
(_col0 - (- _col0)) (type: double), _col1 (type: bigint), (CAST( _col1 AS 
decimal(19,0)) % 79.553) (type: decimal(5,3)), _col2 (type: tinyint), 
(UDFToDouble(_col1) - (- _col0)) (type: double), (- (- _col0)) (type: double), 
(-1.0 % (- _col0)) (type: double), _col1 (type: bigint), (- _col1) (type: 
bigint), _col3 (type: double), (- (- (- _col0))) (type: double), (762 * (- 
_col1)) (type: bigint), _col4 (type: int), (UDFToLong(_col2) + (762 * (- 
_col1))) (type: bigint), ((- _col0) + UDFToDouble(_col4)) (type: double), _col5 
(type: double), ((- _col1) % _col1) (type: bigint), _col6 (type: bigint), _col7 
(type: double), (-3728 % (UDFToLong(_col2) + (762 * (- _col1)))) (type: bigint)
+                  expressions: _col0 (type: double), (- _col0) (type: double), 
(_col0 - (- _col0)) (type: double), _col1 (type: bigint), (CAST( _col1 AS 
decimal(19,0)) % 79.553) (type: decimal(5,3)), _col2 (type: tinyint), 
(UDFToDouble(_col1) - (- _col0)) (type: double), (- (- _col0)) (type: double), 
(-1.0D % (- _col0)) (type: double), _col1 (type: bigint), (- _col1) (type: 
bigint), _col3 (type: double), (- (- (- _col0))) (type: double), (762L * (- 
_col1)) (type: bigint), _col4 (type: int), (UDFToLong(_col2) + (762L * (- 
_col1))) (type: bigint), ((- _col0) + UDFToDouble(_col4)) (type: double), _col5 
(type: double), ((- _col1) % _col1) (type: bigint), _col6 (type: bigint), _col7 
(type: double), (-3728L % (UDFToLong(_col2) + (762L * (- _col1)))) (type: 
bigint)
                   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: 1 Data size: 272 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -798,7 +798,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterTimestampColLessEqualTimestampColumn(col 
9:timestamp, col 8:timestamp), FilterDoubleColNotEqualDoubleColumn(col 
13:double, col 5:double)(children: CastLongToDouble(col 3:bigint) -> 
13:double), FilterStringScalarLessEqualStringGroupColumn(val ss, col 
6:string)), FilterExprAndExpr(children: FilterLongColLessLongColumn(col 
1:smallint, col 0:smallint)(children: col 0:tinyint), 
FilterDoubleColGreaterEqualDoubleScalar(col 13:double, val 0.0)(children: 
CastTimestampToDouble(col 8:timestamp) -> 13:double)), 
FilterDoubleColEqualDoubleScalar(col 4:float, val 17.0))
-                    predicate: (((csmallint < UDFToShort(ctinyint)) and 
(UDFToDouble(ctimestamp1) >= 0.0)) or ((ctimestamp2 <= ctimestamp1) and 
(UDFToDouble(cbigint) <> cdouble) and ('ss' <= cstring1)) or (cfloat = 17)) 
(type: boolean)
+                    predicate: (((csmallint < UDFToShort(ctinyint)) and 
(UDFToDouble(ctimestamp1) >= 0.0D)) or ((ctimestamp2 <= ctimestamp1) and 
(UDFToDouble(cbigint) <> cdouble) and ('ss' <= cstring1)) or (cfloat = 17)) 
(type: boolean)
                     Statistics: Num rows: 2824 Data size: 491654 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), cint (type: int), 
cbigint (type: bigint), cfloat (type: float)
@@ -853,7 +853,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
                 Statistics: Num rows: 1 Data size: 44 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), (_col0 + 6981.0) (type: 
double), ((_col0 + 6981.0) + _col0) (type: double), _col1 (type: bigint), 
(((_col0 + 6981.0) + _col0) / _col0) (type: double), (- (_col0 + 6981.0)) 
(type: double), _col2 (type: double), (_col0 % (- (_col0 + 6981.0))) (type: 
double), _col3 (type: double), _col4 (type: double), (- _col1) (type: bigint), 
(UDFToDouble((- _col1)) / _col2) (type: double), _col5 (type: float), (_col4 * 
-26.28) (type: double)
+                  expressions: _col0 (type: double), (_col0 + 6981.0D) (type: 
double), ((_col0 + 6981.0D) + _col0) (type: double), _col1 (type: bigint), 
(((_col0 + 6981.0D) + _col0) / _col0) (type: double), (- (_col0 + 6981.0D)) 
(type: double), _col2 (type: double), (_col0 % (- (_col0 + 6981.0D))) (type: 
double), _col3 (type: double), _col4 (type: double), (- _col1) (type: bigint), 
(UDFToDouble((- _col1)) / _col2) (type: double), _col5 (type: float), (_col4 * 
-26.28D) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                   Statistics: Num rows: 1 Data size: 108 Basic stats: COMPLETE 
Column stats: COMPLETE
                   File Output Operator
@@ -1025,7 +1025,7 @@ STAGE PLANS:
                     predicate: (((1 <> cboolean2) and (CAST( csmallint AS 
decimal(8,3)) < 79.553) and (-257 <> UDFToInteger(ctinyint))) or 
((UDFToLong(cint) < cbigint) and (UDFToLong(ctinyint) > cbigint)) or ((cdouble 
> UDFToDouble(ctinyint)) and (cfloat >= UDFToFloat(cint))) or (cstring1 regexp 
'a.*' and (cstring2 like '%ss%'))) (type: boolean)
                     Statistics: Num rows: 9898 Data size: 2462086 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cint (type: int), cdouble (type: double), 
ctimestamp2 (type: timestamp), cstring1 (type: string), cboolean2 (type: 
boolean), ctinyint (type: tinyint), cfloat (type: float), ctimestamp1 (type: 
timestamp), csmallint (type: smallint), cbigint (type: bigint), (-3728 * 
cbigint) (type: bigint), (- cint) (type: int), (-863.257 - CAST( cint AS 
decimal(10,0))) (type: decimal(14,3)), (- csmallint) (type: smallint), 
(csmallint - (- csmallint)) (type: smallint), ((csmallint - (- csmallint)) + (- 
csmallint)) (type: smallint), (UDFToDouble(cint) / UDFToDouble(cint)) (type: 
double), ((-863.257 - CAST( cint AS decimal(10,0))) - -26.28) (type: 
decimal(15,3)), (- cfloat) (type: float), (cdouble * -89010.0) (type: double), 
(UDFToDouble(ctinyint) / 988888.0) (type: double), (- ctinyint) (type: 
tinyint), (79.553 / CAST( ctinyint AS decimal(3,0))) (type: decimal(9,7))
+                      expressions: cint (type: int), cdouble (type: double), 
ctimestamp2 (type: timestamp), cstring1 (type: string), cboolean2 (type: 
boolean), ctinyint (type: tinyint), cfloat (type: float), ctimestamp1 (type: 
timestamp), csmallint (type: smallint), cbigint (type: bigint), (-3728L * 
cbigint) (type: bigint), (- cint) (type: int), (-863.257 - CAST( cint AS 
decimal(10,0))) (type: decimal(14,3)), (- csmallint) (type: smallint), 
(csmallint - (- csmallint)) (type: smallint), ((csmallint - (- csmallint)) + (- 
csmallint)) (type: smallint), (UDFToDouble(cint) / UDFToDouble(cint)) (type: 
double), ((-863.257 - CAST( cint AS decimal(10,0))) - -26.28) (type: 
decimal(15,3)), (- cfloat) (type: float), (cdouble * -89010.0D) (type: double), 
(UDFToDouble(ctinyint) / 988888.0D) (type: double), (- ctinyint) (type: 
tinyint), (79.553 / CAST( ctinyint AS decimal(3,0))) (type: decimal(9,7))
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, 
_col15, _col16, _col17, _col18, _col19, _col20, _col21, _col22
                       Select Vectorization:
                           className: VectorSelectOperator
@@ -1319,10 +1319,10 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprOrExpr(children: 
FilterExprAndExpr(children: FilterLongScalarGreaterLongColumn(val 197, col 
0:int)(children: col 0:tinyint), FilterLongColEqualLongColumn(col 2:bigint, col 
3:bigint)(children: col 2:int)), FilterLongColEqualLongScalar(col 3:bigint, val 
359), FilterLongColLessLongScalar(col 10:boolean, val 0), 
FilterExprAndExpr(children: FilterStringColLikeStringScalar(col 6:string, 
pattern %ss), FilterDoubleColLessEqualDoubleColumn(col 4:float, col 
13:float)(children: CastLongToFloatViaLongToDouble(col 0:tinyint) -> 13:float)))
-                    predicate: (((197 > UDFToInteger(ctinyint)) and 
(UDFToLong(cint) = cbigint)) or ((cstring1 like '%ss') and (cfloat <= 
UDFToFloat(ctinyint))) or (cbigint = 359) or (cboolean1 < 0)) (type: boolean)
+                    predicate: (((197 > UDFToInteger(ctinyint)) and 
(UDFToLong(cint) = cbigint)) or ((cstring1 like '%ss') and (cfloat <= 
UDFToFloat(ctinyint))) or (cbigint = 359L) or (cboolean1 < 0)) (type: boolean)
                     Statistics: Num rows: 8194 Data size: 1734900 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: cint (type: int), cbigint (type: bigint), 
cstring1 (type: string), cboolean1 (type: boolean), cfloat (type: float), 
cdouble (type: double), ctimestamp2 (type: timestamp), csmallint (type: 
smallint), cstring2 (type: string), cboolean2 (type: boolean), 
(UDFToDouble(cint) / UDFToDouble(cbigint)) (type: double), (CAST( cbigint AS 
decimal(19,0)) % 79.553) (type: decimal(5,3)), (- (UDFToDouble(cint) / 
UDFToDouble(cbigint))) (type: double), (10.175 % cfloat) (type: float), (- 
cfloat) (type: float), (cfloat - (- cfloat)) (type: float), ((cfloat - (- 
cfloat)) % -6432.0) (type: float), (cdouble * UDFToDouble(csmallint)) (type: 
double), (- cdouble) (type: double), (- cbigint) (type: bigint), 
(UDFToDouble(cfloat) - (UDFToDouble(cint) / UDFToDouble(cbigint))) (type: 
double), (- csmallint) (type: smallint), (3569 % cbigint) (type: bigint), 
(359.0 - cdouble) (type: double), (- csmallint) (type: smallint)
+                      expressions: cint (type: int), cbigint (type: bigint), 
cstring1 (type: string), cboolean1 (type: boolean), cfloat (type: float), 
cdouble (type: double), ctimestamp2 (type: timestamp), csmallint (type: 
smallint), cstring2 (type: string), cboolean2 (type: boolean), 
(UDFToDouble(cint) / UDFToDouble(cbigint)) (type: double), (CAST( cbigint AS 
decimal(19,0)) % 79.553) (type: decimal(5,3)), (- (UDFToDouble(cint) / 
UDFToDouble(cbigint))) (type: double), (10.175 % cfloat) (type: float), (- 
cfloat) (type: float), (cfloat - (- cfloat)) (type: float), ((cfloat - (- 
cfloat)) % -6432.0) (type: float), (cdouble * UDFToDouble(csmallint)) (type: 
double), (- cdouble) (type: double), (- cbigint) (type: bigint), 
(UDFToDouble(cfloat) - (UDFToDouble(cint) / UDFToDouble(cbigint))) (type: 
double), (- csmallint) (type: smallint), (3569L % cbigint) (type: bigint), 
(359.0D - cdouble) (type: double), (- csmallint) (type: smallint)
                       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
                       Select Vectorization:
                           className: VectorSelectOperator
@@ -1872,7 +1872,7 @@ STAGE PLANS:
                     predicate: (((-1.389 >= CAST( cint AS decimal(13,3))) and 
(csmallint < UDFToShort(ctinyint)) and (-6432 > UDFToInteger(csmallint))) or 
((cdouble >= UDFToDouble(cfloat)) and (cstring2 <= 'a')) or ((cstring1 like 
'ss%') and (10.175 > CAST( cbigint AS decimal(22,3))))) (type: boolean)
                     Statistics: Num rows: 3868 Data size: 795962 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
-                      expressions: ctimestamp1 (type: timestamp), cstring2 
(type: string), cdouble (type: double), cfloat (type: float), cbigint (type: 
bigint), csmallint (type: smallint), (UDFToDouble(cbigint) / 3569.0) (type: 
double), (-257 - UDFToInteger(csmallint)) (type: int), (-6432.0 * cfloat) 
(type: float), (- cdouble) (type: double), (cdouble * 10.175) (type: double), 
(UDFToDouble((-6432.0 * cfloat)) / UDFToDouble(cfloat)) (type: double), (- 
cfloat) (type: float), (cint % UDFToInteger(csmallint)) (type: int), (- 
cdouble) (type: double), (cdouble * (- cdouble)) (type: double)
+                      expressions: ctimestamp1 (type: timestamp), cstring2 
(type: string), cdouble (type: double), cfloat (type: float), cbigint (type: 
bigint), csmallint (type: smallint), (UDFToDouble(cbigint) / 3569.0D) (type: 
double), (-257 - UDFToInteger(csmallint)) (type: int), (-6432.0 * cfloat) 
(type: float), (- cdouble) (type: double), (cdouble * 10.175D) (type: double), 
(UDFToDouble((-6432.0 * cfloat)) / UDFToDouble(cfloat)) (type: double), (- 
cfloat) (type: float), (cint % UDFToInteger(csmallint)) (type: int), (- 
cdouble) (type: double), (cdouble * (- cdouble)) (type: double)
                       outputColumnNames: _col0, _col1, _col2, _col3, _col4, 
_col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, 
_col15
                       Select Vectorization:
                           className: VectorSelectOperator
@@ -2175,7 +2175,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1141 Data size: 39924 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: smallint), (UDFToInteger(_col0) % 
-75) (type: int), _col1 (type: double), (-1.389 / CAST( _col0 AS decimal(5,0))) 
(type: decimal(10,9)), _col2 (type: bigint), (UDFToDouble((UDFToInteger(_col0) 
% -75)) / UDFToDouble(_col2)) (type: double), (- (UDFToInteger(_col0) % -75)) 
(type: int), _col3 (type: double), (- (- (UDFToInteger(_col0) % -75))) (type: 
int), _col4 (type: bigint), (_col4 - -89010) (type: bigint)
+                  expressions: _col0 (type: smallint), (UDFToInteger(_col0) % 
-75) (type: int), _col1 (type: double), (-1.389 / CAST( _col0 AS decimal(5,0))) 
(type: decimal(10,9)), _col2 (type: bigint), (UDFToDouble((UDFToInteger(_col0) 
% -75)) / UDFToDouble(_col2)) (type: double), (- (UDFToInteger(_col0) % -75)) 
(type: int), _col3 (type: double), (- (- (UDFToInteger(_col0) % -75))) (type: 
int), _col4 (type: bigint), (_col4 - -89010L) (type: bigint)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                   Statistics: Num rows: 1141 Data size: 199664 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
@@ -2373,7 +2373,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterDoubleColGreaterDoubleScalar(col 5:double, val 2563.58), 
FilterExprOrExpr(children: FilterExprAndExpr(children: 
FilterLongColGreaterEqualLongColumn(col 3:bigint, col 2:bigint)(children: col 
2:int), FilterLongColLessLongColumn(col 1:int, col 2:int)(children: col 
1:smallint), FilterDoubleColLessDoubleScalar(col 4:float, val 
-5638.14990234375)), FilterDecimalScalarEqualDecimalColumn(val 2563.58, col 
13:decimal(6,2))(children: CastLongToDecimal(col 0:tinyint) -> 
13:decimal(6,2)), FilterExprAndExpr(children: 
FilterDoubleColLessEqualDoubleColumn(col 5:double, col 14:double)(children: 
CastLongToDouble(col 3:bigint) -> 14:double), 
FilterDecimalScalarGreaterDecimalColumn(val -5638.15, col 
15:decimal(21,2))(children: CastLongToDecimal(col 3:bigint) -> 
15:decimal(21,2)))))
-                    predicate: ((((cbigint >= UDFToLong(cint)) and 
(UDFToInteger(csmallint) < cint) and (cfloat < -5638.15)) or (2563.58 = CAST( 
ctinyint AS decimal(6,2))) or ((cdouble <= UDFToDouble(cbigint)) and (-5638.15 
> CAST( cbigint AS decimal(21,2))))) and (cdouble > 2563.58)) (type: boolean)
+                    predicate: ((((cbigint >= UDFToLong(cint)) and 
(UDFToInteger(csmallint) < cint) and (cfloat < -5638.15)) or (2563.58 = CAST( 
ctinyint AS decimal(6,2))) or ((cdouble <= UDFToDouble(cbigint)) and (-5638.15 
> CAST( cbigint AS decimal(21,2))))) and (cdouble > 2563.58D)) (type: boolean)
                     Statistics: Num rows: 2503 Data size: 59820 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: cfloat (type: float), cdouble (type: double)
@@ -2433,7 +2433,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6
                 Statistics: Num rows: 1136 Data size: 61320 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: double), _col1 (type: double), 
(2563.58 * _col1) (type: double), (- _col1) (type: double), _col2 (type: 
bigint), ((2563.58 * _col1) + -5638.15) (type: double), ((- _col1) * ((2563.58 
* _col1) + -5638.15)) (type: double), _col3 (type: double), _col4 (type: 
double), (_col0 - (- _col1)) (type: double), _col5 (type: double), (_col0 + 
_col1) (type: double), (_col0 * 762.0) (type: double), _col6 (type: double), 
(-863.257 % (_col0 * 762.0)) (type: double)
+                  expressions: _col0 (type: double), _col1 (type: double), 
(2563.58D * _col1) (type: double), (- _col1) (type: double), _col2 (type: 
bigint), ((2563.58D * _col1) + -5638.15D) (type: double), ((- _col1) * 
((2563.58D * _col1) + -5638.15D)) (type: double), _col3 (type: double), _col4 
(type: double), (_col0 - (- _col1)) (type: double), _col5 (type: double), 
(_col0 + _col1) (type: double), (_col0 * 762.0D) (type: double), _col6 (type: 
double), (-863.257D % (_col0 * 762.0D)) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14
                   Statistics: Num rows: 1136 Data size: 143112 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
@@ -2675,7 +2675,7 @@ STAGE PLANS:
                         className: VectorFilterOperator
                         native: true
                         predicateExpression: FilterExprAndExpr(children: 
FilterDoubleColNotEqualDoubleScalar(col 13:double, val 0.0)(children: 
CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterExprOrExpr(children: FilterExprAndExpr(children: 
FilterLongScalarNotEqualLongColumn(val -257, col 0:int)(children: col 
0:tinyint), SelectColumnIsNotNull(col 11:boolean), 
FilterStringColRegExpStringScalar(col 6:string, pattern .*ss), 
FilterDoubleScalarLessDoubleColumn(val -3.0, col 13:double)(children: 
CastTimestampToDouble(col 8:timestamp) -> 13:double)), 
FilterDoubleColEqualDoubleScalar(col 13:double, val -5.0)(children: 
CastTimestampToDouble(col 9:timestamp) -> 13:double), 
FilterExprAndExpr(children: FilterDoubleColLessDoubleScalar(col 13:double, val 
0.0)(children: CastTimestampToDouble(col 8:timestamp) -> 13:double), 
FilterStringColLikeStringScalar(col 7:string, pattern %b%)), 
FilterDoubleColEqualDoubleColumn(col 5:double, col 13:double)(children: 
CastLongToDouble(col 2:int) -> 13
 :double), FilterExprAndExpr(children: SelectColumnIsNull(col 10:boolean), 
FilterDoubleColLessDoubleColumn(col 4:float, col 13:float)(children: 
CastLongToFloatViaLongToDouble(col 2:int) -> 13:float))))
-                    predicate: ((((-257 <> UDFToInteger(ctinyint)) and 
cboolean2 is not null and cstring1 regexp '.*ss' and (-3.0 < 
UDFToDouble(ctimestamp1))) or (UDFToDouble(ctimestamp2) = -5.0) or 
((UDFToDouble(ctimestamp1) < 0.0) and (cstring2 like '%b%')) or (cdouble = 
UDFToDouble(cint)) or (cboolean1 is null and (cfloat < UDFToFloat(cint)))) and 
(UDFToDouble(ctimestamp1) <> 0.0)) (type: boolean)
+                    predicate: ((((-257 <> UDFToInteger(ctinyint)) and 
cboolean2 is not null and cstring1 regexp '.*ss' and (-3.0D < 
UDFToDouble(ctimestamp1))) or (UDFToDouble(ctimestamp2) = -5.0D) or 
((UDFToDouble(ctimestamp1) < 0.0D) and (cstring2 like '%b%')) or (cdouble = 
UDFToDouble(cint)) or (cboolean1 is null and (cfloat < UDFToFloat(cint)))) and 
(UDFToDouble(ctimestamp1) <> 0.0D)) (type: boolean)
                     Statistics: Num rows: 12288 Data size: 3019778 Basic 
stats: COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ctinyint (type: tinyint), csmallint (type: 
smallint), cint (type: int), cfloat (type: float), cdouble (type: double), 
cstring1 (type: string), ctimestamp1 (type: timestamp)
@@ -2735,7 +2735,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14
                 Statistics: Num rows: 3072 Data size: 645716 Basic stats: 
COMPLETE Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: timestamp), _col1 (type: string), 
_col2 (type: double), (_col2 * 10.175) (type: double), (- _col2) (type: 
double), _col3 (type: double), (- _col2) (type: double), (-26.28 - _col2) 
(type: double), _col4 (type: bigint), (- _col4) (type: bigint), ((-26.28 - 
_col2) * (- _col2)) (type: double), _col5 (type: tinyint), (((-26.28 - _col2) * 
(- _col2)) * UDFToDouble((- _col4))) (type: double), (- (_col2 * 10.175)) 
(type: double), _col6 (type: double), (_col6 + (((-26.28 - _col2) * (- _col2)) 
* UDFToDouble((- _col4)))) (type: double), (- (- _col2)) (type: double), 
(UDFToDouble((- _col4)) / _col2) (type: double), _col7 (type: double), (10.175 
/ _col3) (type: double), _col8 (type: double), _col9 (type: double), ((_col6 + 
(((-26.28 - _col2) * (- _col2)) * UDFToDouble((- _col4)))) - (((-26.28 - _col2) 
* (- _col2)) * UDFToDouble((- _col4)))) (type: double), (- (- (_col2 * 
10.175))) (type: double), _col10 (type: double), (((_col6 + (((-26.28 - _col2) 
* (-
  _col2)) * UDFToDouble((- _col4)))) - (((-26.28 - _col2) * (- _col2)) * 
UDFToDouble((- _col4)))) * 10.175) (type: double), (10.175 % (10.175 / _col3)) 
(type: double), (- _col5) (type: tinyint), _col11 (type: double), _col12 (type: 
double), (- ((-26.28 - _col2) * (- _col2))) (type: double), ((- _col2) % 
_col10) (type: double), (-26.28 / CAST( (- _col5) AS decimal(3,0))) (type: 
decimal(8,6)), _col13 (type: double), _col14 (type: bigint), ((_col6 + 
(((-26.28 - _col2) * (- _col2)) * UDFToDouble((- _col4)))) / _col7) (type: 
double), (- (- _col4)) (type: bigint), _col4 (type: bigint), ((_col6 + 
(((-26.28 - _col2) * (- _col2)) * UDFToDouble((- _col4)))) % -26.28) (type: 
double)
+                  expressions: _col0 (type: timestamp), _col1 (type: string), 
_col2 (type: double), (_col2 * 10.175D) (type: double), (- _col2) (type: 
double), _col3 (type: double), (- _col2) (type: double), (-26.28D - _col2) 
(type: double), _col4 (type: bigint), (- _col4) (type: bigint), ((-26.28D - 
_col2) * (- _col2)) (type: double), _col5 (type: tinyint), (((-26.28D - _col2) 
* (- _col2)) * UDFToDouble((- _col4))) (type: double), (- (_col2 * 10.175D)) 
(type: double), _col6 (type: double), (_col6 + (((-26.28D - _col2) * (- _col2)) 
* UDFToDouble((- _col4)))) (type: double), (- (- _col2)) (type: double), 
(UDFToDouble((- _col4)) / _col2) (type: double), _col7 (type: double), (10.175D 
/ _col3) (type: double), _col8 (type: double), _col9 (type: double), ((_col6 + 
(((-26.28D - _col2) * (- _col2)) * UDFToDouble((- _col4)))) - (((-26.28D - 
_col2) * (- _col2)) * UDFToDouble((- _col4)))) (type: double), (- (- (_col2 * 
10.175D))) (type: double), _col10 (type: double), (((_col6 + (((-26.28D - 
 _col2) * (- _col2)) * UDFToDouble((- _col4)))) - (((-26.28D - _col2) * (- 
_col2)) * UDFToDouble((- _col4)))) * 10.175D) (type: double), (10.175D % 
(10.175D / _col3)) (type: double), (- _col5) (type: tinyint), _col11 (type: 
double), _col12 (type: double), (- ((-26.28D - _col2) * (- _col2))) (type: 
double), ((- _col2) % _col10) (type: double), (-26.28 / CAST( (- _col5) AS 
decimal(3,0))) (type: decimal(8,6)), _col13 (type: double), _col14 (type: 
bigint), ((_col6 + (((-26.28D - _col2) * (- _col2)) * UDFToDouble((- _col4)))) 
/ _col7) (type: double), (- (- _col4)) (type: bigint), _col4 (type: bigint), 
((_col6 + (((-26.28D - _col2) * (- _col2)) * UDFToDouble((- _col4)))) % 
-26.28D) (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
                   Statistics: Num rows: 3072 Data size: 1542740 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator
@@ -3118,7 +3118,7 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10
                 Statistics: Num rows: 3 Data size: 240 Basic stats: COMPLETE 
Column stats: COMPLETE
                 Select Operator
-                  expressions: _col0 (type: boolean), _col1 (type: float), (- 
_col1) (type: float), (-26.28 / UDFToDouble(_col1)) (type: double), _col2 
(type: bigint), (CAST( _col2 AS decimal(19,0)) - 10.175) (type: decimal(23,3)), 
_col3 (type: double), (_col3 % UDFToDouble(_col1)) (type: double), (10.175 + (- 
_col1)) (type: float), _col4 (type: double), (UDFToDouble((CAST( _col2 AS 
decimal(19,0)) - 10.175)) + _col3) (type: double), _col5 (type: bigint), _col6 
(type: double), (- (10.175 + (- _col1))) (type: float), (79.553 / _col6) (type: 
double), (_col3 % (79.553 / _col6)) (type: double), _col7 (type: bigint), _col8 
(type: double), (-1.389 * CAST( _col5 AS decimal(19,0))) (type: decimal(24,3)), 
(CAST( _col7 AS decimal(19,0)) - (-1.389 * CAST( _col5 AS decimal(19,0)))) 
(type: decimal(25,3)), _col9 (type: double), (- (CAST( _col7 AS decimal(19,0)) 
- (-1.389 * CAST( _col5 AS decimal(19,0))))) (type: decimal(25,3)), _col10 
(type: double), (- _col10) (type: double), (_col10 * UDFToDoubl
 e(_col7)) (type: double)
+                  expressions: _col0 (type: boolean), _col1 (type: float), (- 
_col1) (type: float), (-26.28D / UDFToDouble(_col1)) (type: double), _col2 
(type: bigint), (CAST( _col2 AS decimal(19,0)) - 10.175) (type: decimal(23,3)), 
_col3 (type: double), (_col3 % UDFToDouble(_col1)) (type: double), (10.175 + (- 
_col1)) (type: float), _col4 (type: double), (UDFToDouble((CAST( _col2 AS 
decimal(19,0)) - 10.175)) + _col3) (type: double), _col5 (type: bigint), _col6 
(type: double), (- (10.175 + (- _col1))) (type: float), (79.553D / _col6) 
(type: double), (_col3 % (79.553D / _col6)) (type: double), _col7 (type: 
bigint), _col8 (type: double), (-1.389 * CAST( _col5 AS decimal(19,0))) (type: 
decimal(24,3)), (CAST( _col7 AS decimal(19,0)) - (-1.389 * CAST( _col5 AS 
decimal(19,0)))) (type: decimal(25,3)), _col9 (type: double), (- (CAST( _col7 
AS decimal(19,0)) - (-1.389 * CAST( _col5 AS decimal(19,0))))) (type: 
decimal(25,3)), _col10 (type: double), (- _col10) (type: double), (_col10 * 
UDFToDo
 uble(_col7)) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, 
_col17, _col18, _col19, _col20, _col21, _col22, _col23, _col24, _col25
                   Statistics: Num rows: 3 Data size: 1800 Basic stats: 
COMPLETE Column stats: COMPLETE
                   Reduce Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/17441e48/ql/src/test/results/clientpositive/llap/vectorized_case.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorized_case.q.out 
b/ql/src/test/results/clientpositive/llap/vectorized_case.q.out
index ed17e5c..9143816 100644
--- a/ql/src/test/results/clientpositive/llap/vectorized_case.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorized_case.q.out
@@ -60,10 +60,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: 6 Data size: 20 Basic stats: 
COMPLETE Column stats: COMPLETE
                     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
@@ -209,10 +209,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: 6 Data size: 20 Basic stats: 
COMPLETE Column stats: COMPLETE
                     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
@@ -849,7 +849,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
@@ -930,7 +930,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
@@ -1011,7 +1011,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/llap/vectorized_casts.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/llap/vectorized_casts.q.out 
b/ql/src/test/results/clientpositive/llap/vectorized_casts.q.out
index 84b4d94..cc4e090 100644
--- a/ql/src/test/results/clientpositive/llap/vectorized_casts.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorized_casts.q.out
@@ -177,7 +177,7 @@ STAGE PLANS:
                     predicate: ((cbigint % 250) = 0) (type: boolean)
                     Statistics: Num rows: 6144 Data size: 842180 Basic stats: 
COMPLETE Column stats: COMPLETE
                     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), 
 UDFToDouble(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: strin
 g), UDFToString(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),
  UDFToDouble(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: str
 ing), 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/llap/vectorized_date_funcs.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vectorized_date_funcs.q.out 
b/ql/src/test/results/clientpositive/llap/vectorized_date_funcs.q.out
index db29250..8351192 100644
--- a/ql/src/test/results/clientpositive/llap/vectorized_date_funcs.q.out
+++ b/ql/src/test/results/clientpositive/llap/vectorized_date_funcs.q.out
@@ -265,7 +265,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
@@ -557,7 +557,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
@@ -853,7 +853,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'
 ) = datediff(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/llap/vectorized_dynamic_partition_pruning.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vectorized_dynamic_partition_pruning.q.out
 
b/ql/src/test/results/clientpositive/llap/vectorized_dynamic_partition_pruning.q.out
index 22f2894..15b62c9 100644
--- 
a/ql/src/test/results/clientpositive/llap/vectorized_dynamic_partition_pruning.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/vectorized_dynamic_partition_pruning.q.out
@@ -632,10 +632,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -843,10 +843,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -1016,10 +1016,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0) and ds is not null and hr is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0D) and ds is not null and hr is not null) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -1189,10 +1189,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0) and ds is not null and hr is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0D) and ds is not null and hr is not null) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -1653,22 +1653,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
                       outputColumnNames: _col0
                       Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0))) (type: double)
+                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0D))) (type: double)
                         sort order: +
-                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: double)
+                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: double)
                         Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                       Select Operator
-                        expressions: UDFToDouble(UDFToInteger((_col0 / 2.0))) 
(type: double)
+                        expressions: UDFToDouble(UDFToInteger((_col0 / 2.0D))) 
(type: double)
                         outputColumnNames: _col0
                         Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                         Group By Operator
@@ -1701,7 +1701,7 @@ STAGE PLANS:
                      Inner Join 0 to 1
                 keys:
                   0 UDFToDouble(_col0) (type: double)
-                  1 UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: double)
+                  1 UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: double)
                 Statistics: Num rows: 2200 Data size: 404800 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
                   aggregations: count()
@@ -1791,9 +1791,9 @@ STAGE PLANS:
                     outputColumnNames: _col0
                     Statistics: Num rows: 2000 Data size: 368000 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
-                      key expressions: (UDFToDouble(_col0) * 2.0) (type: 
double)
+                      key expressions: (UDFToDouble(_col0) * 2.0D) (type: 
double)
                       sort order: +
-                      Map-reduce partition columns: (UDFToDouble(_col0) * 2.0) 
(type: double)
+                      Map-reduce partition columns: (UDFToDouble(_col0) * 
2.0D) (type: double)
                       Statistics: Num rows: 2000 Data size: 368000 Basic 
stats: COMPLETE Column stats: COMPLETE
             Execution mode: vectorized, llap
             LLAP IO: no inputs
@@ -1811,10 +1811,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
@@ -1837,7 +1837,7 @@ STAGE PLANS:
                           Dynamic Partitioning Event Operator
                             Target column: hr (string)
                             Target Input: srcpart
-                            Partition key expr: (UDFToDouble(hr) * 2.0)
+                            Partition key expr: (UDFToDouble(hr) * 2.0D)
                             Statistics: Num rows: 1 Data size: 192 Basic 
stats: COMPLETE Column stats: NONE
                             Target Vertex: Map 1
             Execution mode: vectorized, llap
@@ -1858,7 +1858,7 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 (UDFToDouble(_col0) * 2.0) (type: double)
+                  0 (UDFToDouble(_col0) * 2.0D) (type: double)
                   1 _col0 (type: double)
                 Statistics: Num rows: 2200 Data size: 404800 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
@@ -1969,19 +1969,19 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
                       outputColumnNames: _col0
                       Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0))) (type: double)
+                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0D))) (type: double)
                         sort order: +
-                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: double)
+                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: double)
                         Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
             Execution mode: vectorized, llap
             LLAP IO: all inputs
@@ -2002,7 +2002,7 @@ STAGE PLANS:
                      Inner Join 0 to 1
                 keys:
                   0 UDFToDouble(_col0) (type: double)
-                  1 UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: double)
+                  1 UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: double)
                 Statistics: Num rows: 2200 Data size: 404800 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
                   aggregations: count()
@@ -2092,9 +2092,9 @@ STAGE PLANS:
                     outputColumnNames: _col0
                     Statistics: Num rows: 2000 Data size: 368000 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
-                      key expressions: (UDFToDouble(_col0) * 2.0) (type: 
double)
+                      key expressions: (UDFToDouble(_col0) * 2.0D) (type: 
double)
                       sort order: +
-                      Map-reduce partition columns: (UDFToDouble(_col0) * 2.0) 
(type: double)
+                      Map-reduce partition columns: (UDFToDouble(_col0) * 
2.0D) (type: double)
                       Statistics: Num rows: 2000 Data size: 368000 Basic 
stats: COMPLETE Column stats: COMPLETE
             Execution mode: vectorized, llap
             LLAP IO: no inputs
@@ -2112,10 +2112,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
@@ -2144,7 +2144,7 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 (UDFToDouble(_col0) * 2.0) (type: double)
+                  0 (UDFToDouble(_col0) * 2.0D) (type: double)
                   1 _col0 (type: double)
                 Statistics: Num rows: 2200 Data size: 404800 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
@@ -2248,9 +2248,9 @@ STAGE PLANS:
                     outputColumnNames: _col0
                     Statistics: Num rows: 2000 Data size: 368000 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Reduce Output Operator
-                      key expressions: UDFToString((UDFToDouble(_col0) * 2.0)) 
(type: string)
+                      key expressions: UDFToString((UDFToDouble(_col0) * 
2.0D)) (type: string)
                       sort order: +
-                      Map-reduce partition columns: 
UDFToString((UDFToDouble(_col0) * 2.0)) (type: string)
+                      Map-reduce partition columns: 
UDFToString((UDFToDouble(_col0) * 2.0D)) (type: string)
                       Statistics: Num rows: 2000 Data size: 368000 Basic 
stats: COMPLETE Column stats: COMPLETE
             Execution mode: vectorized, llap
             LLAP IO: no inputs
@@ -2268,10 +2268,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
@@ -2294,7 +2294,7 @@ STAGE PLANS:
                           Dynamic Partitioning Event Operator
                             Target column: hr (string)
                             Target Input: srcpart
-                            Partition key expr: UDFToString((UDFToDouble(hr) * 
2.0))
+                            Partition key expr: UDFToString((UDFToDouble(hr) * 
2.0D))
                             Statistics: Num rows: 1 Data size: 192 Basic 
stats: COMPLETE Column stats: NONE
                             Target Vertex: Map 1
             Execution mode: vectorized, llap
@@ -2315,7 +2315,7 @@ STAGE PLANS:
                 condition map:
                      Inner Join 0 to 1
                 keys:
-                  0 UDFToString((UDFToDouble(_col0) * 2.0)) (type: string)
+                  0 UDFToString((UDFToDouble(_col0) * 2.0D)) (type: string)
                   1 UDFToString(_col0) (type: string)
                 Statistics: Num rows: 2200 Data size: 404800 Basic stats: 
COMPLETE Column stats: NONE
                 Group By Operator
@@ -2587,10 +2587,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0)) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0D)) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and (date = 
'2008-04-08')) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and (date = 
'2008-04-08')) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -2733,10 +2733,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0) and ds is not null and hr is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0D) and ds is not null and hr is not null) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -3368,10 +3368,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and (UDFToDouble(hr) 
= 11.0)) (type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and 
(UDFToDouble(hr) = 11.0D)) (type: boolean)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and 
(UDFToDouble(hr) = 11.0)) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and 
(UDFToDouble(hr) = 11.0D)) (type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -3518,10 +3518,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: (UDFToDouble(hr) = 13.0) (type: boolean)
+                  filterExpr: (UDFToDouble(hr) = 13.0D) (type: boolean)
                   Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: (UDFToDouble(hr) = 13.0) (type: boolean)
+                    predicate: (UDFToDouble(hr) = 13.0D) (type: boolean)
                     Statistics: Num rows: 1 Data size: 184 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -3547,10 +3547,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart
-                  filterExpr: ((UDFToDouble(hr) = 13.0) and ds is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hr) = 13.0D) and ds is not null) 
(type: boolean)
                   Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE 
Column stats: COMPLETE
                   Filter Operator
-                    predicate: ((UDFToDouble(hr) = 13.0) and ds is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hr) = 13.0D) and ds is not null) 
(type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -4827,10 +4827,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -4993,10 +4993,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0) and ds is not null and hr is not null) (type: boolean)
+                  filterExpr: ((date = '2008-04-08') and (UDFToDouble(hour) = 
11.0D) and ds is not null and hr is not null) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and (date = 
'2008-04-08') and ds is not null and hr is not null) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -5294,7 +5294,7 @@ STAGE PLANS:
                            Inner Join 0 to 1
                       keys:
                         0 UDFToDouble(_col0) (type: double)
-                        1 UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: 
double)
+                        1 UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: 
double)
                       input vertices:
                         1 Map 3
                       Statistics: Num rows: 2200 Data size: 404800 Basic 
stats: COMPLETE Column stats: NONE
@@ -5323,22 +5323,22 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
                       outputColumnNames: _col0
                       Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                       Reduce Output Operator
-                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0))) (type: double)
+                        key expressions: UDFToDouble(UDFToInteger((_col0 / 
2.0D))) (type: double)
                         sort order: +
-                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0))) (type: double)
+                        Map-reduce partition columns: 
UDFToDouble(UDFToInteger((_col0 / 2.0D))) (type: double)
                         Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                       Select Operator
-                        expressions: UDFToDouble(UDFToInteger((_col0 / 2.0))) 
(type: double)
+                        expressions: UDFToDouble(UDFToInteger((_col0 / 2.0D))) 
(type: double)
                         outputColumnNames: _col0
                         Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                         Group By Operator
@@ -5445,7 +5445,7 @@ STAGE PLANS:
                       condition map:
                            Inner Join 0 to 1
                       keys:
-                        0 (UDFToDouble(_col0) * 2.0) (type: double)
+                        0 (UDFToDouble(_col0) * 2.0D) (type: double)
                         1 _col0 (type: double)
                       input vertices:
                         1 Map 3
@@ -5475,10 +5475,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_double_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and hr is not null) 
(type: boolean)
                   Statistics: Num rows: 2 Data size: 384 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and hr is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 1 Data size: 192 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: double)
@@ -5501,7 +5501,7 @@ STAGE PLANS:
                           Dynamic Partitioning Event Operator
                             Target column: hr (string)
                             Target Input: srcpart
-                            Partition key expr: (UDFToDouble(hr) * 2.0)
+                            Partition key expr: (UDFToDouble(hr) * 2.0D)
                             Statistics: Num rows: 1 Data size: 192 Basic 
stats: COMPLETE Column stats: NONE
                             Target Vertex: Map 1
             Execution mode: vectorized, llap
@@ -6211,10 +6211,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hour) = 11.0) and (UDFToDouble(hr) 
= 11.0)) (type: boolean)
+                  filterExpr: ((UDFToDouble(hour) = 11.0D) and 
(UDFToDouble(hr) = 11.0D)) (type: boolean)
                   Statistics: Num rows: 2 Data size: 736 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hour) = 11.0) and 
(UDFToDouble(hr) = 11.0)) (type: boolean)
+                    predicate: ((UDFToDouble(hour) = 11.0D) and 
(UDFToDouble(hr) = 11.0D)) (type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -6326,10 +6326,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: (UDFToDouble(hr) = 13.0) (type: boolean)
+                  filterExpr: (UDFToDouble(hr) = 13.0D) (type: boolean)
                   Statistics: Num rows: 2 Data size: 368 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: (UDFToDouble(hr) = 13.0) (type: boolean)
+                    predicate: (UDFToDouble(hr) = 13.0D) (type: boolean)
                     Statistics: Num rows: 1 Data size: 184 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)
@@ -6365,10 +6365,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart
-                  filterExpr: ((UDFToDouble(hr) = 13.0) and ds is not null) 
(type: boolean)
+                  filterExpr: ((UDFToDouble(hr) = 13.0D) and ds is not null) 
(type: boolean)
                   Statistics: Num rows: 1 Data size: 368 Basic stats: COMPLETE 
Column stats: COMPLETE
                   Filter Operator
-                    predicate: ((UDFToDouble(hr) = 13.0) and ds is not null) 
(type: boolean)
+                    predicate: ((UDFToDouble(hr) = 13.0D) and ds is not null) 
(type: boolean)
                     Statistics: Num rows: 1 Data size: 368 Basic stats: 
COMPLETE Column stats: COMPLETE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)
@@ -6820,10 +6820,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_date_hour
-                  filterExpr: (((date = '2008-04-08') or (date = 
'2008-04-09')) and (UDFToDouble(hour) = 11.0) and ds is not null and hr is not 
null) (type: boolean)
+                  filterExpr: (((date = '2008-04-08') or (date = 
'2008-04-09')) and (UDFToDouble(hour) = 11.0D) and ds is not null and hr is not 
null) (type: boolean)
                   Statistics: Num rows: 4 Data size: 2944 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (((date = '2008-04-08') or (date = 
'2008-04-09')) and (UDFToDouble(hour) = 11.0) and ds is not null and hr is not 
null) (type: boolean)
+                    predicate: (((date = '2008-04-08') or (date = 
'2008-04-09')) and (UDFToDouble(hour) = 11.0D) and ds is not null and hr is not 
null) (type: boolean)
                     Statistics: Num rows: 2 Data size: 1472 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: ds (type: string), hr (type: string)

Reply via email to