Commit 04b27a7c authored by Stanley Clark's avatar Stanley Clark
Browse files

Visit the new merged node and not its children

parent 1a7b7fb9
......@@ -7,8 +7,6 @@ import saqp.secform.SecForms;
import saqp.secra.EnumerableCellRel;
import saqp.secra.EnumerableRowRel;
;
/**
* Traverse an RA tree and expand the sec-RA operators into default RA form
*/
......@@ -25,7 +23,7 @@ public class PlanExpander extends RelShuttleImpl {
RelNode subTree = secForms.getRaCondition();
MergeRaTreeVisitor merger = new MergeRaTreeVisitor(e.getInput());
RelNode nextInput = subTree.accept(merger);
return visitChildren(nextInput);
return visit(nextInput);
}
/**
......@@ -39,7 +37,7 @@ public class PlanExpander extends RelShuttleImpl {
RelNode subTree = secForms.getRaCondition();
MergeRaTreeVisitor merger = new MergeRaTreeVisitor(e.getInput(), secForms.getTargetAttribute());
RelNode nextInput = subTree.accept(merger);
return visitChildren(nextInput);
return visit(nextInput);
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment