[hive] 02/02: HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by Vineet Garg)

2019-04-15 Thread jcamacho
This is an automated email from the ASF dual-hosted git repository.

jcamacho pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hive.git

commit 90ae60841e39ad5c7222911830c7d438e962a278
Author: Jesus Camacho Rodriguez 
AuthorDate: Wed Apr 10 13:32:29 2019 -0700

HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds 
exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by 
Vineet Garg)
---
 ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java 
b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
index 741833b..7188a0d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
@@ -608,12 +608,12 @@ public class GenTezUtils {
   }
 }
 // Filter operator
-filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
 for (Operator op : ts.getChildOperators()) {
   if (!(op instanceof FilterOperator)) {
 continue;
   }
   FilterDesc filterDesc = ((FilterOperator) op).getConf();
+  filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
   collectDynamicValuePredicates(filterDesc.getPredicate(),
   filterDynamicValuePredicatesCollection);
   for (ExprNodeDesc nodeToRemove : filterDynamicValuePredicatesCollection



[hive] 02/02: HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by Vineet Garg)

2019-04-15 Thread jcamacho
This is an automated email from the ASF dual-hosted git repository.

jcamacho pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hive.git

commit 2b77d693c8bfa0ed596e89af960973a0c984b915
Author: Jesus Camacho Rodriguez 
AuthorDate: Wed Apr 10 13:32:29 2019 -0700

HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds 
exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by 
Vineet Garg)
---
 ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java 
b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
index 741833b..7188a0d 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
@@ -608,12 +608,12 @@ public class GenTezUtils {
   }
 }
 // Filter operator
-filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
 for (Operator op : ts.getChildOperators()) {
   if (!(op instanceof FilterOperator)) {
 continue;
   }
   FilterDesc filterDesc = ((FilterOperator) op).getConf();
+  filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
   collectDynamicValuePredicates(filterDesc.getPredicate(),
   filterDynamicValuePredicatesCollection);
   for (ExprNodeDesc nodeToRemove : filterDynamicValuePredicatesCollection



[hive] 02/02: HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by Vineet Garg)

2019-04-15 Thread jcamacho
This is an automated email from the ASF dual-hosted git repository.

jcamacho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git

commit 9a2f7b0e49a6b93fc127084e856a5ad44e7006f4
Author: Jesus Camacho Rodriguez 
AuthorDate: Wed Apr 10 13:32:29 2019 -0700

HIVE-21600: GenTezUtils.removeSemiJoinOperator may throw out of bounds 
exception for TS with multiple children (Jesus Camacho Rodriguez, reviewed by 
Vineet Garg)
---
 ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java 
b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
index 5fdb4bd..d64f983 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java
@@ -631,12 +631,12 @@ public class GenTezUtils {
   }
 }
 // Filter operator
-filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
 for (Operator op : ts.getChildOperators()) {
   if (!(op instanceof FilterOperator)) {
 continue;
   }
   FilterDesc filterDesc = ((FilterOperator) op).getConf();
+  filterDynamicValuePredicatesCollection = new 
DynamicValuePredicateContext();
   collectDynamicValuePredicates(filterDesc.getPredicate(),
   filterDynamicValuePredicatesCollection);
   for (ExprNodeDesc nodeToRemove : filterDynamicValuePredicatesCollection