public ColumnPruneHelper(OperatorPlan currentPlan) {
this.currentPlan = currentPlan;
}
private OperatorSubPlan getSubPlan() throws FrontendException {
OperatorSubPlan p = null;
if (currentPlan instanceof OperatorSubPlan) {
p = new OperatorSubPlan(((OperatorSubPlan)currentPlan).getBasePlan());
} else {
p = new OperatorSubPlan(currentPlan);
}
Iterator<Operator> iter = currentPlan.getOperators();
while(iter.hasNext()) {
Operator op = iter.next();