The rule now reports when it alters a plan.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/3f6c8440 Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/3f6c8440 Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/3f6c8440 Branch: refs/heads/prestonc/benchmark Commit: 3f6c84400ad90a3fcf671ea3277a4cc60366fb8c Parents: 99159a0 Author: Preston Carman <[email protected]> Authored: Tue May 6 17:37:25 2014 -0700 Committer: Preston Carman <[email protected]> Committed: Thu May 8 14:15:35 2014 -0700 ---------------------------------------------------------------------- .../vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/3f6c8440/vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java ---------------------------------------------------------------------- diff --git a/vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java b/vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java index de4499e..6c0aa26 100644 --- a/vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java +++ b/vxquery-core/src/main/java/org/apache/vxquery/compiler/rewriter/rules/ConsolidateUnnestsRule.java @@ -101,6 +101,7 @@ public class ConsolidateUnnestsRule extends AbstractUsedVariablesProcessingRule // Move input for unnest2 into unnest1 unnest1.getInputs().clear(); unnest1.getInputs().addAll(unnest2.getInputs()); + return true; } return false; }
