Repository: hive
Updated Branches:
  refs/heads/branch-3 e39ae90ec -> be9cba367


http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/spark/vectorized_mapjoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/spark/vectorized_mapjoin.q.out 
b/ql/src/test/results/clientpositive/spark/vectorized_mapjoin.q.out
index c17290a..a9fc763 100644
--- a/ql/src/test/results/clientpositive/spark/vectorized_mapjoin.q.out
+++ b/ql/src/test/results/clientpositive/spark/vectorized_mapjoin.q.out
@@ -167,13 +167,13 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: bigint), _col1 (type: int), _col2 
(type: int), (_col3 / _col4) (type: double)
+                  expressions: _col0 (type: bigint), _col1 (type: int), _col2 
(type: int), (UDFToDouble(_col3) / _col4) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
-                      projectedOutputColumnNums: [0, 1, 2, 5]
-                      selectExpressions: LongColDivideLongColumn(col 3:bigint, 
col 4:bigint) -> 5:double
+                      projectedOutputColumnNums: [0, 1, 2, 6]
+                      selectExpressions: DoubleColDivideLongColumn(col 
5:double, col 4:bigint)(children: CastLongToDouble(col 3:bigint) -> 5:double) 
-> 6:double
                   Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   File Output Operator
                     compressed: false

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/spark/vectorized_shufflejoin.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/spark/vectorized_shufflejoin.q.out 
b/ql/src/test/results/clientpositive/spark/vectorized_shufflejoin.q.out
index 86ea785..cb2cbd0 100644
--- a/ql/src/test/results/clientpositive/spark/vectorized_shufflejoin.q.out
+++ b/ql/src/test/results/clientpositive/spark/vectorized_shufflejoin.q.out
@@ -155,13 +155,13 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2, _col3, _col4
                 Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                 Select Operator
-                  expressions: _col0 (type: bigint), _col1 (type: int), _col2 
(type: int), (_col3 / _col4) (type: double)
+                  expressions: _col0 (type: bigint), _col1 (type: int), _col2 
(type: int), (UDFToDouble(_col3) / _col4) (type: double)
                   outputColumnNames: _col0, _col1, _col2, _col3
                   Select Vectorization:
                       className: VectorSelectOperator
                       native: true
-                      projectedOutputColumnNums: [0, 1, 2, 5]
-                      selectExpressions: LongColDivideLongColumn(col 3:bigint, 
col 4:bigint) -> 5:double
+                      projectedOutputColumnNums: [0, 1, 2, 6]
+                      selectExpressions: DoubleColDivideLongColumn(col 
5:double, col 4:bigint)(children: CastLongToDouble(col 3:bigint) -> 5:double) 
-> 6:double
                   Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE 
Column stats: NONE
                   Reduce Output Operator
                     key expressions: _col0 (type: bigint)

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/union_remove_6_subq.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/union_remove_6_subq.q.out 
b/ql/src/test/results/clientpositive/union_remove_6_subq.q.out
index 6fdc7aa..daf05f2 100644
--- a/ql/src/test/results/clientpositive/union_remove_6_subq.q.out
+++ b/ql/src/test/results/clientpositive/union_remove_6_subq.q.out
@@ -352,7 +352,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column 
stats: COMPLETE
           Select Operator
-            expressions: (_col0 / _col1) (type: double)
+            expressions: (UDFToDouble(_col0) / _col1) (type: double)
             outputColumnNames: _col0
             Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column 
stats: COMPLETE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vector_cast_constant.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vector_cast_constant.q.out 
b/ql/src/test/results/clientpositive/vector_cast_constant.q.out
index 8c596a6..68a1aea 100644
--- a/ql/src/test/results/clientpositive/vector_cast_constant.q.out
+++ b/ql/src/test/results/clientpositive/vector_cast_constant.q.out
@@ -183,7 +183,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6
           Statistics: Num rows: 524 Data size: 155436 Basic stats: COMPLETE 
Column stats: NONE
           Select Operator
-            expressions: _col0 (type: int), (_col1 / _col2) (type: double), 
(_col3 / _col4) (type: double), CAST( (_col5 / _col6) AS decimal(6,4)) (type: 
decimal(6,4))
+            expressions: _col0 (type: int), (UDFToDouble(_col1) / _col2) 
(type: double), (_col3 / _col4) (type: double), CAST( (_col5 / _col6) AS 
decimal(6,4)) (type: decimal(6,4))
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 524 Data size: 155436 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vectorization_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_2.q.out 
b/ql/src/test/results/clientpositive/vectorization_2.q.out
index be7c843..25b1822 100644
--- a/ql/src/test/results/clientpositive/vectorization_2.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_2.q.out
@@ -126,7 +126,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9
           Statistics: Num rows: 1 Data size: 76 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: (_col0 / _col1) (type: double), ((_col0 / _col1) % 
-563.0D) (type: double), ((_col0 / _col1) + 762.0D) (type: double), _col2 
(type: double), ((_col3 - ((_col4 * _col4) / _col5)) / _col5) (type: double), 
(- ((_col3 - ((_col4 * _col4) / _col5)) / _col5)) (type: double), (_col2 - 
(_col0 / _col1)) (type: double), _col6 (type: bigint), (- (_col2 - (_col0 / 
_col1))) (type: double), (((_col3 - ((_col4 * _col4) / _col5)) / _col5) - 
762.0D) (type: double), _col7 (type: tinyint), ((- ((_col3 - ((_col4 * _col4) / 
_col5)) / _col5)) + UDFToDouble(_col7)) (type: double), (_col8 / _col9) (type: 
double), (((- ((_col3 - ((_col4 * _col4) / _col5)) / _col5)) + 
UDFToDouble(_col7)) - _col2) (type: double)
+            expressions: (UDFToDouble(_col0) / _col1) (type: double), 
((UDFToDouble(_col0) / _col1) % -563.0D) (type: double), ((UDFToDouble(_col0) / 
_col1) + 762.0D) (type: double), _col2 (type: double), ((_col3 - ((_col4 * 
_col4) / _col5)) / _col5) (type: double), (- ((_col3 - ((_col4 * _col4) / 
_col5)) / _col5)) (type: double), (_col2 - (UDFToDouble(_col0) / _col1)) (type: 
double), _col6 (type: bigint), (- (_col2 - (UDFToDouble(_col0) / _col1))) 
(type: double), (((_col3 - ((_col4 * _col4) / _col5)) / _col5) - 762.0D) (type: 
double), _col7 (type: tinyint), ((- ((_col3 - ((_col4 * _col4) / _col5)) / 
_col5)) + UDFToDouble(_col7)) (type: double), (_col8 / _col9) (type: double), 
(((- ((_col3 - ((_col4 * _col4) / _col5)) / _col5)) + UDFToDouble(_col7)) - 
_col2) (type: double)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
             Statistics: Num rows: 1 Data size: 76 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vectorization_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_3.q.out 
b/ql/src/test/results/clientpositive/vectorization_3.q.out
index 7bfb313..9ec85d7 100644
--- a/ql/src/test/results/clientpositive/vectorization_3.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_3.q.out
@@ -131,7 +131,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, 
_col7, _col8, _col9, _col10, _col11, _col12, _col13
           Statistics: Num rows: 1 Data size: 112 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: power(((_col0 - ((_col1 * _col1) / _col2)) / CASE 
WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) (type: double), 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D) (type: double), power(((_col3 - 
((_col4 * _col4) / _col5)) / _col5), 0.5) (type: double), (power(((_col0 - 
((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 
- 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN 
((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: 
double), (- power(((_col3 - ((_col4 * _col4) / _col5)) / _col5), 0.5)) (type: 
double), (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) 
THEN (null) ELSE ((_col2 - 1)) END), 0.5) % 79.553D) (type: double), (- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / _c
 ol2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 
10.175D))) (type: double), power(((_col6 - ((_col7 * _col7) / _col8)) / CASE 
WHEN ((_col8 = 1L)) THEN (null) ELSE ((_col8 - 1)) END), 0.5) (type: double), 
(- power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5)) (type: double), _col9 (type: double), ((- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / 
_col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 
10.175D))) / (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 
1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: double), (- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: double), (_col10 / 
_col11) (type: double), (-3728.0D - power(((_col0 - ((_col1 * _col1) 
 / _col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 
0.5)) (type: double), power(((_col12 - ((_col13 * _col13) / _col11)) / _col11), 
0.5) (type: double), ((_col10 / _col11) / power(((_col6 - ((_col7 * _col7) / 
_col8)) / CASE WHEN ((_col8 = 1L)) THEN (null) ELSE ((_col8 - 1)) END), 0.5)) 
(type: double)
+            expressions: power(((_col0 - ((_col1 * _col1) / _col2)) / CASE 
WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) (type: double), 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D) (type: double), power(((_col3 - 
((_col4 * _col4) / _col5)) / _col5), 0.5) (type: double), (power(((_col0 - 
((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 
- 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN 
((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: 
double), (- power(((_col3 - ((_col4 * _col4) / _col5)) / _col5), 0.5)) (type: 
double), (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) 
THEN (null) ELSE ((_col2 - 1)) END), 0.5) % 79.553D) (type: double), (- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / _c
 ol2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 
10.175D))) (type: double), power(((_col6 - ((_col7 * _col7) / _col8)) / CASE 
WHEN ((_col8 = 1L)) THEN (null) ELSE ((_col8 - 1)) END), 0.5) (type: double), 
(- power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5)) (type: double), _col9 (type: double), ((- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) * (power(((_col0 - ((_col1 * _col1) / 
_col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 
10.175D))) / (power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 
1L)) THEN (null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: double), (- 
(power(((_col0 - ((_col1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN 
(null) ELSE ((_col2 - 1)) END), 0.5) - 10.175D)) (type: double), 
(UDFToDouble(_col10) / _col11) (type: double), (-3728.0D - power(((_col0 - ((_c
 ol1 * _col1) / _col2)) / CASE WHEN ((_col2 = 1L)) THEN (null) ELSE ((_col2 - 
1)) END), 0.5)) (type: double), power(((_col12 - ((_col13 * _col13) / _col11)) 
/ _col11), 0.5) (type: double), ((UDFToDouble(_col10) / _col11) / power(((_col6 
- ((_col7 * _col7) / _col8)) / CASE WHEN ((_col8 = 1L)) THEN (null) ELSE 
((_col8 - 1)) END), 0.5)) (type: double)
             outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, 
_col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15
             Statistics: Num rows: 1 Data size: 112 Basic stats: COMPLETE 
Column stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vectorization_pushdown.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorization_pushdown.q.out 
b/ql/src/test/results/clientpositive/vectorization_pushdown.q.out
index e962362..9e85a26 100644
--- a/ql/src/test/results/clientpositive/vectorization_pushdown.q.out
+++ b/ql/src/test/results/clientpositive/vectorization_pushdown.q.out
@@ -56,7 +56,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1
           Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: (_col0 / _col1) (type: double)
+            expressions: (UDFToDouble(_col0) / _col1) (type: double)
             outputColumnNames: _col0
             Statistics: Num rows: 1 Data size: 16 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vectorized_mapjoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_mapjoin.q.out 
b/ql/src/test/results/clientpositive/vectorized_mapjoin.q.out
index 51af71a..1289830 100644
--- a/ql/src/test/results/clientpositive/vectorized_mapjoin.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_mapjoin.q.out
@@ -130,7 +130,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4
           Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: _col0 (type: bigint), _col1 (type: int), _col2 (type: 
int), (_col3 / _col4) (type: double)
+            expressions: _col0 (type: bigint), _col1 (type: int), _col2 (type: 
int), (UDFToDouble(_col3) / _col4) (type: double)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator

http://git-wip-us.apache.org/repos/asf/hive/blob/be9cba36/ql/src/test/results/clientpositive/vectorized_shufflejoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/vectorized_shufflejoin.q.out 
b/ql/src/test/results/clientpositive/vectorized_shufflejoin.q.out
index 389a2ce..733389b 100644
--- a/ql/src/test/results/clientpositive/vectorized_shufflejoin.q.out
+++ b/ql/src/test/results/clientpositive/vectorized_shufflejoin.q.out
@@ -118,7 +118,7 @@ STAGE PLANS:
           outputColumnNames: _col0, _col1, _col2, _col3, _col4
           Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE
           Select Operator
-            expressions: _col0 (type: bigint), _col1 (type: int), _col2 (type: 
int), (_col3 / _col4) (type: double)
+            expressions: _col0 (type: bigint), _col1 (type: int), _col2 (type: 
int), (UDFToDouble(_col3) / _col4) (type: double)
             outputColumnNames: _col0, _col1, _col2, _col3
             Statistics: Num rows: 1 Data size: 32 Basic stats: COMPLETE Column 
stats: NONE
             File Output Operator

Reply via email to