commit | ee7b3c5b2b8afc68db74a44a664e1a9d2fe43502 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Feb 12 09:37:27 2013 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Feb 12 09:37:27 2013 +0000 |
tree | 4aae9e57285521554e4d568e5d7fbfeae614e6fe | |
parent | c5043dcdbe708cd7fadf9235279aa0b6cfe8722d [diff] |
fix introduce group-by combiner rule git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_asterix_stabilization@2901 123451ca-8445-de46-9d55-352943316053
diff --git a/algebricks/algebricks-rewriter/src/main/java/edu/uci/ics/hyracks/algebricks/rewriter/rules/IntroduceGroupByCombinerRule.java b/algebricks/algebricks-rewriter/src/main/java/edu/uci/ics/hyracks/algebricks/rewriter/rules/IntroduceGroupByCombinerRule.java index 5c5fdb1..a8864fe 100644 --- a/algebricks/algebricks-rewriter/src/main/java/edu/uci/ics/hyracks/algebricks/rewriter/rules/IntroduceGroupByCombinerRule.java +++ b/algebricks/algebricks-rewriter/src/main/java/edu/uci/ics/hyracks/algebricks/rewriter/rules/IntroduceGroupByCombinerRule.java
@@ -38,7 +38,6 @@ if (context.checkIfInDontApplySet(this, op)) { return false; } - context.addToDontApplySet(this, op); if (op.getOperatorTag() != LogicalOperatorTag.GROUP) { return false; } @@ -86,6 +85,7 @@ opRef3.setValue(newGbyOp); typeGby(newGbyOp, context); typeGby(gbyOp, context); + context.addToDontApplySet(this, op); return true; }