commit | cbccf1d5bb8431de85ab7402ba386d91598a2141 | [log] [tgz] |
---|---|---|
author | Abdullah Alamoudi <alamouda@uci.edu> | Fri Mar 14 23:30:34 2014 -0700 |
committer | Abdullah Alamoudi <alamouda@uci.edu> | Fri Mar 14 23:30:34 2014 -0700 |
tree | db7405eeb83d17d73ec44353d1899592ab8ba8ea | |
parent | a91842e104dd650498072e891647a4c1e7f2d17c [diff] | |
parent | aa9879d3718fe8bc1d62e8158f044d67eed8913b [diff] |
Merge branch 'master' of https://code.google.com/p/hyracks
diff --git a/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/AbstractRuleController.java b/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/AbstractRuleController.java index b61c245..e7b469a 100644 --- a/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/AbstractRuleController.java +++ b/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/AbstractRuleController.java
@@ -32,7 +32,6 @@ public abstract class AbstractRuleController { protected IOptimizationContext context; - private LogicalOperatorPrettyPrintVisitor pvisitor = new LogicalOperatorPrettyPrintVisitor(); public AbstractRuleController() { } @@ -65,6 +64,7 @@ private String getPlanString(Mutable<ILogicalOperator> opRef) throws AlgebricksException { if (AlgebricksConfig.ALGEBRICKS_LOGGER.isLoggable(Level.FINE)) { StringBuilder sb = new StringBuilder(); + LogicalOperatorPrettyPrintVisitor pvisitor = context.getPrettyPrintVisitor(); PlanPrettyPrinter.printOperator((AbstractLogicalOperator) opRef.getValue(), sb, pvisitor, 0); return sb.toString(); }
diff --git a/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/HeuristicOptimizer.java b/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/HeuristicOptimizer.java index 9035ca5..17c6900 100644 --- a/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/HeuristicOptimizer.java +++ b/algebricks/algebricks-core/src/main/java/edu/uci/ics/hyracks/algebricks/core/rewriter/base/HeuristicOptimizer.java
@@ -26,7 +26,6 @@ import edu.uci.ics.hyracks.algebricks.core.algebra.base.PhysicalOperatorTag; import edu.uci.ics.hyracks.algebricks.core.algebra.operators.logical.AbstractLogicalOperator; import edu.uci.ics.hyracks.algebricks.core.algebra.operators.logical.AbstractOperatorWithNestedPlans; -import edu.uci.ics.hyracks.algebricks.core.algebra.prettyprint.LogicalOperatorPrettyPrintVisitor; import edu.uci.ics.hyracks.algebricks.core.algebra.prettyprint.PlanPrettyPrinter; import edu.uci.ics.hyracks.algebricks.core.config.AlgebricksConfig;