You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2015/08/15 09:53:00 UTC

hive git commit: HIVE-11556: HiveFilter.copy should take the condition given as a parameter (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master 3071ce96b -> 147347a31


HIVE-11556: HiveFilter.copy should take the condition given as a parameter (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/147347a3
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/147347a3
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/147347a3

Branch: refs/heads/master
Commit: 147347a31dd021ac3a6f956c7c02a77b505bce7b
Parents: 3071ce9
Author: Jesus Camacho Rodriguez <jc...@apache.org>
Authored: Sat Aug 15 10:49:55 2015 +0300
Committer: Jesus Camacho Rodriguez <jc...@apache.org>
Committed: Sat Aug 15 10:49:55 2015 +0300

----------------------------------------------------------------------
 .../hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/147347a3/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java
index de61e48..eb97bec 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveFilter.java
@@ -39,7 +39,7 @@ public class HiveFilter extends Filter implements HiveRelNode {
   @Override
   public Filter copy(RelTraitSet traitSet, RelNode input, RexNode condition) {
     assert traitSet.containsIfApplicable(HiveRelNode.CONVENTION);
-    return new HiveFilter(getCluster(), traitSet, input, getCondition());
+    return new HiveFilter(getCluster(), traitSet, input, condition);
   }
 
   @Override