http://git-wip-us.apache.org/repos/asf/hive/blob/996efbcf/ql/src/test/results/clientpositive/llap/vectorized_dynamic_semijoin_reduction2.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/llap/vectorized_dynamic_semijoin_reduction2.q.out
 
b/ql/src/test/results/clientpositive/llap/vectorized_dynamic_semijoin_reduction2.q.out
index d53ca00..33c2302 100644
--- 
a/ql/src/test/results/clientpositive/llap/vectorized_dynamic_semijoin_reduction2.q.out
+++ 
b/ql/src/test/results/clientpositive/llap/vectorized_dynamic_semijoin_reduction2.q.out
@@ -109,10 +109,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (partkey_bigint is not null and partkey_bigint 
BETWEEN DynamicValue(RS_7_b_partkey_bigint_min) AND 
DynamicValue(RS_7_b_partkey_bigint_max) and in_bloom_filter(partkey_bigint, 
DynamicValue(RS_7_b_partkey_bigint_bloom_filter))) (type: boolean)
+                  filterExpr: (partkey_bigint is not null and (partkey_bigint 
BETWEEN DynamicValue(RS_7_b_partkey_bigint_min) AND 
DynamicValue(RS_7_b_partkey_bigint_max) and in_bloom_filter(partkey_bigint, 
DynamicValue(RS_7_b_partkey_bigint_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (partkey_bigint is not null and partkey_bigint 
BETWEEN DynamicValue(RS_7_b_partkey_bigint_min) AND 
DynamicValue(RS_7_b_partkey_bigint_max) and in_bloom_filter(partkey_bigint, 
DynamicValue(RS_7_b_partkey_bigint_bloom_filter))) (type: boolean)
+                    predicate: (partkey_bigint is not null and (partkey_bigint 
BETWEEN DynamicValue(RS_7_b_partkey_bigint_min) AND 
DynamicValue(RS_7_b_partkey_bigint_max) and in_bloom_filter(partkey_bigint, 
DynamicValue(RS_7_b_partkey_bigint_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: partkey_bigint (type: bigint)
@@ -245,10 +245,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (partkey_decimal is not null and partkey_decimal 
BETWEEN DynamicValue(RS_7_b_partkey_decimal_min) AND 
DynamicValue(RS_7_b_partkey_decimal_max) and in_bloom_filter(partkey_decimal, 
DynamicValue(RS_7_b_partkey_decimal_bloom_filter))) (type: boolean)
+                  filterExpr: (partkey_decimal is not null and 
(partkey_decimal BETWEEN DynamicValue(RS_7_b_partkey_decimal_min) AND 
DynamicValue(RS_7_b_partkey_decimal_max) and in_bloom_filter(partkey_decimal, 
DynamicValue(RS_7_b_partkey_decimal_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (partkey_decimal is not null and 
partkey_decimal BETWEEN DynamicValue(RS_7_b_partkey_decimal_min) AND 
DynamicValue(RS_7_b_partkey_decimal_max) and in_bloom_filter(partkey_decimal, 
DynamicValue(RS_7_b_partkey_decimal_bloom_filter))) (type: boolean)
+                    predicate: (partkey_decimal is not null and 
(partkey_decimal BETWEEN DynamicValue(RS_7_b_partkey_decimal_min) AND 
DynamicValue(RS_7_b_partkey_decimal_max) and in_bloom_filter(partkey_decimal, 
DynamicValue(RS_7_b_partkey_decimal_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: partkey_decimal (type: decimal(10,1))
@@ -381,10 +381,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (partkey_double is not null and partkey_double 
BETWEEN DynamicValue(RS_7_b_partkey_double_min) AND 
DynamicValue(RS_7_b_partkey_double_max) and in_bloom_filter(partkey_double, 
DynamicValue(RS_7_b_partkey_double_bloom_filter))) (type: boolean)
+                  filterExpr: (partkey_double is not null and (partkey_double 
BETWEEN DynamicValue(RS_7_b_partkey_double_min) AND 
DynamicValue(RS_7_b_partkey_double_max) and in_bloom_filter(partkey_double, 
DynamicValue(RS_7_b_partkey_double_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (partkey_double is not null and partkey_double 
BETWEEN DynamicValue(RS_7_b_partkey_double_min) AND 
DynamicValue(RS_7_b_partkey_double_max) and in_bloom_filter(partkey_double, 
DynamicValue(RS_7_b_partkey_double_bloom_filter))) (type: boolean)
+                    predicate: (partkey_double is not null and (partkey_double 
BETWEEN DynamicValue(RS_7_b_partkey_double_min) AND 
DynamicValue(RS_7_b_partkey_double_max) and in_bloom_filter(partkey_double, 
DynamicValue(RS_7_b_partkey_double_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: partkey_double (type: double)
@@ -517,10 +517,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (shipdate_date is not null and shipdate_date 
BETWEEN DynamicValue(RS_7_b_shipdate_date_min) AND 
DynamicValue(RS_7_b_shipdate_date_max) and in_bloom_filter(shipdate_date, 
DynamicValue(RS_7_b_shipdate_date_bloom_filter))) (type: boolean)
+                  filterExpr: (shipdate_date is not null and (shipdate_date 
BETWEEN DynamicValue(RS_7_b_shipdate_date_min) AND 
DynamicValue(RS_7_b_shipdate_date_max) and in_bloom_filter(shipdate_date, 
DynamicValue(RS_7_b_shipdate_date_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (shipdate_date is not null and shipdate_date 
BETWEEN DynamicValue(RS_7_b_shipdate_date_min) AND 
DynamicValue(RS_7_b_shipdate_date_max) and in_bloom_filter(shipdate_date, 
DynamicValue(RS_7_b_shipdate_date_bloom_filter))) (type: boolean)
+                    predicate: (shipdate_date is not null and (shipdate_date 
BETWEEN DynamicValue(RS_7_b_shipdate_date_min) AND 
DynamicValue(RS_7_b_shipdate_date_max) and in_bloom_filter(shipdate_date, 
DynamicValue(RS_7_b_shipdate_date_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: shipdate_date (type: date)
@@ -653,10 +653,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (shipdate_ts is not null and shipdate_ts BETWEEN 
DynamicValue(RS_7_b_shipdate_ts_min) AND DynamicValue(RS_7_b_shipdate_ts_max) 
and in_bloom_filter(shipdate_ts, 
DynamicValue(RS_7_b_shipdate_ts_bloom_filter))) (type: boolean)
+                  filterExpr: (shipdate_ts is not null and (shipdate_ts 
BETWEEN DynamicValue(RS_7_b_shipdate_ts_min) AND 
DynamicValue(RS_7_b_shipdate_ts_max) and in_bloom_filter(shipdate_ts, 
DynamicValue(RS_7_b_shipdate_ts_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (shipdate_ts is not null and shipdate_ts 
BETWEEN DynamicValue(RS_7_b_shipdate_ts_min) AND 
DynamicValue(RS_7_b_shipdate_ts_max) and in_bloom_filter(shipdate_ts, 
DynamicValue(RS_7_b_shipdate_ts_bloom_filter))) (type: boolean)
+                    predicate: (shipdate_ts is not null and (shipdate_ts 
BETWEEN DynamicValue(RS_7_b_shipdate_ts_min) AND 
DynamicValue(RS_7_b_shipdate_ts_max) and in_bloom_filter(shipdate_ts, 
DynamicValue(RS_7_b_shipdate_ts_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: shipdate_ts (type: timestamp)
@@ -789,10 +789,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (shipdate_string is not null and shipdate_string 
BETWEEN DynamicValue(RS_7_b_shipdate_string_min) AND 
DynamicValue(RS_7_b_shipdate_string_max) and in_bloom_filter(shipdate_string, 
DynamicValue(RS_7_b_shipdate_string_bloom_filter))) (type: boolean)
+                  filterExpr: (shipdate_string is not null and 
(shipdate_string BETWEEN DynamicValue(RS_7_b_shipdate_string_min) AND 
DynamicValue(RS_7_b_shipdate_string_max) and in_bloom_filter(shipdate_string, 
DynamicValue(RS_7_b_shipdate_string_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (shipdate_string is not null and 
shipdate_string BETWEEN DynamicValue(RS_7_b_shipdate_string_min) AND 
DynamicValue(RS_7_b_shipdate_string_max) and in_bloom_filter(shipdate_string, 
DynamicValue(RS_7_b_shipdate_string_bloom_filter))) (type: boolean)
+                    predicate: (shipdate_string is not null and 
(shipdate_string BETWEEN DynamicValue(RS_7_b_shipdate_string_min) AND 
DynamicValue(RS_7_b_shipdate_string_max) and in_bloom_filter(shipdate_string, 
DynamicValue(RS_7_b_shipdate_string_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: shipdate_string (type: string)
@@ -925,10 +925,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (shipdate_char is not null and shipdate_char 
BETWEEN DynamicValue(RS_7_b_shipdate_char_min) AND 
DynamicValue(RS_7_b_shipdate_char_max) and in_bloom_filter(shipdate_char, 
DynamicValue(RS_7_b_shipdate_char_bloom_filter))) (type: boolean)
+                  filterExpr: (shipdate_char is not null and (shipdate_char 
BETWEEN DynamicValue(RS_7_b_shipdate_char_min) AND 
DynamicValue(RS_7_b_shipdate_char_max) and in_bloom_filter(shipdate_char, 
DynamicValue(RS_7_b_shipdate_char_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (shipdate_char is not null and shipdate_char 
BETWEEN DynamicValue(RS_7_b_shipdate_char_min) AND 
DynamicValue(RS_7_b_shipdate_char_max) and in_bloom_filter(shipdate_char, 
DynamicValue(RS_7_b_shipdate_char_bloom_filter))) (type: boolean)
+                    predicate: (shipdate_char is not null and (shipdate_char 
BETWEEN DynamicValue(RS_7_b_shipdate_char_min) AND 
DynamicValue(RS_7_b_shipdate_char_max) and in_bloom_filter(shipdate_char, 
DynamicValue(RS_7_b_shipdate_char_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: shipdate_char (type: char(10))
@@ -1061,10 +1061,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (shipdate_varchar is not null and 
shipdate_varchar BETWEEN DynamicValue(RS_7_b_shipdate_varchar_min) AND 
DynamicValue(RS_7_b_shipdate_varchar_max) and in_bloom_filter(shipdate_varchar, 
DynamicValue(RS_7_b_shipdate_varchar_bloom_filter))) (type: boolean)
+                  filterExpr: (shipdate_varchar is not null and 
(shipdate_varchar BETWEEN DynamicValue(RS_7_b_shipdate_varchar_min) AND 
DynamicValue(RS_7_b_shipdate_varchar_max) and in_bloom_filter(shipdate_varchar, 
DynamicValue(RS_7_b_shipdate_varchar_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (shipdate_varchar is not null and 
shipdate_varchar BETWEEN DynamicValue(RS_7_b_shipdate_varchar_min) AND 
DynamicValue(RS_7_b_shipdate_varchar_max) and in_bloom_filter(shipdate_varchar, 
DynamicValue(RS_7_b_shipdate_varchar_bloom_filter))) (type: boolean)
+                    predicate: (shipdate_varchar is not null and 
(shipdate_varchar BETWEEN DynamicValue(RS_7_b_shipdate_varchar_min) AND 
DynamicValue(RS_7_b_shipdate_varchar_max) and in_bloom_filter(shipdate_varchar, 
DynamicValue(RS_7_b_shipdate_varchar_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 100 Data size: 50600 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: shipdate_varchar (type: varchar(10))

http://git-wip-us.apache.org/repos/asf/hive/blob/996efbcf/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out 
b/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out
index ff424a3..8bce87b 100644
--- a/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out
+++ b/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out
@@ -3038,10 +3038,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hr) = 13.0) and hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter))) (type: 
boolean)
+                  filterExpr: ((UDFToDouble(hr) = 13.0) and (hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter)))) (type: 
boolean)
                   Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hr) = 13.0) and hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter))) (type: 
boolean)
+                    predicate: ((UDFToDouble(hr) = 13.0) and (hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter)))) (type: 
boolean)
                     Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE 
Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/996efbcf/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/explainuser_3.q.out 
b/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
index 1fa21fe..9eb65cf 100644
--- a/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
+++ b/ql/src/test/results/clientpositive/tez/explainuser_3.q.out
@@ -697,10 +697,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int), value (type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/996efbcf/ql/src/test/results/clientpositive/tez/mergejoin.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/mergejoin.q.out 
b/ql/src/test/results/clientpositive/tez/mergejoin.q.out
index 5853b2b..b860b9b 100644
--- a/ql/src/test/results/clientpositive/tez/mergejoin.q.out
+++ b/ql/src/test/results/clientpositive/tez/mergejoin.q.out
@@ -22,10 +22,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_7_b_key_min) AND DynamicValue(RS_7_b_key_max) and 
in_bloom_filter(key, DynamicValue(RS_7_b_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_7_b_key_min) AND DynamicValue(RS_7_b_key_max) and 
in_bloom_filter(key, DynamicValue(RS_7_b_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_7_b_key_min) AND DynamicValue(RS_7_b_key_max) and 
in_bloom_filter(key, DynamicValue(RS_7_b_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_7_b_key_min) AND DynamicValue(RS_7_b_key_max) and 
in_bloom_filter(key, DynamicValue(RS_7_b_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 5312 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: string), value (type: string)
@@ -321,10 +321,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_6_a_key_min) AND DynamicValue(RS_6_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_6_a_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -1433,7 +1433,7 @@ STAGE PLANS:
                   alias: b
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: key BETWEEN DynamicValue(RS_4_a_key_min) AND 
DynamicValue(RS_4_a_key_max) (type: boolean)
+                    predicate: (key BETWEEN DynamicValue(RS_4_a_key_min) AND 
DynamicValue(RS_4_a_key_max) and in_bloom_filter(key, 
DynamicValue(RS_4_a_key_bloom_filter))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -1543,7 +1543,7 @@ STAGE PLANS:
                   alias: a
                   Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: key BETWEEN DynamicValue(RS_5_b_key_min) AND 
DynamicValue(RS_5_b_key_max) (type: boolean)
+                    predicate: (key BETWEEN DynamicValue(RS_5_b_key_min) AND 
DynamicValue(RS_5_b_key_max) and in_bloom_filter(key, 
DynamicValue(RS_5_b_key_bloom_filter))) (type: boolean)
                     Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -1786,10 +1786,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (key is not null and value is not null and value 
BETWEEN DynamicValue(RS_13_c_value_min) AND DynamicValue(RS_13_c_value_max) and 
in_bloom_filter(value, DynamicValue(RS_13_c_value_bloom_filter))) (type: 
boolean)
+                  filterExpr: (key is not null and value is not null and 
(value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and value is not null and 
value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and value is not null and 
(value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int), value (type: string)
@@ -1819,10 +1819,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -2016,10 +2016,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (value is not null and value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter))) (type: boolean)
+                  filterExpr: (value is not null and (value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter)))) (type: 
boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (value is not null and value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter))) (type: boolean)
+                    predicate: (value is not null and (value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter)))) (type: 
boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: value (type: string)
@@ -2201,10 +2201,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -2353,10 +2353,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (value is not null and value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter))) (type: boolean)
+                  filterExpr: (value is not null and (value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter)))) (type: 
boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (value is not null and value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter))) (type: boolean)
+                    predicate: (value is not null and (value BETWEEN 
DynamicValue(RS_6_a_value_min) AND DynamicValue(RS_6_a_value_max) and 
in_bloom_filter(value, DynamicValue(RS_6_a_value_bloom_filter)))) (type: 
boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: value (type: string)
@@ -2461,10 +2461,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: a
-                  filterExpr: (key is not null and value is not null and value 
BETWEEN DynamicValue(RS_13_c_value_min) AND DynamicValue(RS_13_c_value_max) and 
in_bloom_filter(value, DynamicValue(RS_13_c_value_bloom_filter))) (type: 
boolean)
+                  filterExpr: (key is not null and value is not null and 
(value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and value is not null and 
value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and value is not null and 
(value BETWEEN DynamicValue(RS_13_c_value_min) AND 
DynamicValue(RS_13_c_value_max) and in_bloom_filter(value, 
DynamicValue(RS_13_c_value_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 242 Data size: 22748 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int), value (type: string)
@@ -2494,10 +2494,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_9_a_key_min) AND DynamicValue(RS_9_a_key_max) and 
in_bloom_filter(key, DynamicValue(RS_9_a_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -2739,10 +2739,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: b
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_18_s1_key_min) AND DynamicValue(RS_18_s1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_18_s1_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int)
@@ -2893,10 +2893,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: t2
-                  filterExpr: (key is not null and key BETWEEN 
DynamicValue(RS_12_t1_key_min) AND DynamicValue(RS_12_t1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_12_t1_key_bloom_filter))) (type: boolean)
+                  filterExpr: (key is not null and (key BETWEEN 
DynamicValue(RS_12_t1_key_min) AND DynamicValue(RS_12_t1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_12_t1_key_bloom_filter)))) (type: boolean)
                   Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                   Filter Operator
-                    predicate: (key is not null and key BETWEEN 
DynamicValue(RS_12_t1_key_min) AND DynamicValue(RS_12_t1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_12_t1_key_bloom_filter))) (type: boolean)
+                    predicate: (key is not null and (key BETWEEN 
DynamicValue(RS_12_t1_key_min) AND DynamicValue(RS_12_t1_key_max) and 
in_bloom_filter(key, DynamicValue(RS_12_t1_key_bloom_filter)))) (type: boolean)
                     Statistics: Num rows: 500 Data size: 47000 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: key (type: int), value (type: string)

http://git-wip-us.apache.org/repos/asf/hive/blob/996efbcf/ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
----------------------------------------------------------------------
diff --git 
a/ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
 
b/ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
index 1e688eb..d9df49d 100644
--- 
a/ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
+++ 
b/ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
@@ -2853,10 +2853,10 @@ STAGE PLANS:
             Map Operator Tree:
                 TableScan
                   alias: srcpart_hour
-                  filterExpr: ((UDFToDouble(hr) = 13.0) and hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter))) (type: 
boolean)
+                  filterExpr: ((UDFToDouble(hr) = 13.0) and (hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter)))) (type: 
boolean)
                   Statistics: Num rows: 2 Data size: 344 Basic stats: COMPLETE 
Column stats: NONE
                   Filter Operator
-                    predicate: ((UDFToDouble(hr) = 13.0) and hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter))) (type: 
boolean)
+                    predicate: ((UDFToDouble(hr) = 13.0) and (hr BETWEEN 
DynamicValue(RS_12_srcpart_hr_min) AND DynamicValue(RS_12_srcpart_hr_max) and 
in_bloom_filter(hr, DynamicValue(RS_12_srcpart_hr_bloom_filter)))) (type: 
boolean)
                     Statistics: Num rows: 1 Data size: 172 Basic stats: 
COMPLETE Column stats: NONE
                     Select Operator
                       expressions: hr (type: string)

Reply via email to