tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject [1/2] TAJO-614: Explaning a logical node should use ExplainLogicalPlanVisitor.
Date Fri, 21 Feb 2014 06:26:11 GMT
Repository: incubator-tajo
Updated Branches:
  refs/heads/branch-0.8.0 e2f4798b0 -> 5fb959b7c


http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/5fb959b7/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
b/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
index 7e3bd2b..1975a57 100644
--- a/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
+++ b/tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
@@ -710,7 +710,7 @@ public class TestPhysicalPlanner {
     LogicalPlan plan = planner.createPlan(context);
     LogicalNode rootNode = optimizer.optimize(plan);
     LogicalRootNode root = (LogicalRootNode) rootNode;
-    UnionNode union = new UnionNode(plan.newPID());
+    UnionNode union = plan.createNode(UnionNode.class);
     union.setLeftChild(root.getChild());
     union.setRightChild(root.getChild());
     root.setChild(union);


Mime
View raw message