(String alias)
| 1597 | } |
| 1598 | |
| 1599 | public LogicalPlan getPlan(String alias) throws IOException { |
| 1600 | LogicalPlan plan = lp; |
| 1601 | |
| 1602 | if (alias != null) { |
| 1603 | LogicalRelationalOperator op = (LogicalRelationalOperator) operators.get(alias); |
| 1604 | if(op == null) { |
| 1605 | int errCode = 1003; |
| 1606 | String msg = "Unable to find an operator for alias " + alias; |
| 1607 | throw new FrontendException(msg, errCode, PigException.INPUT); |
| 1608 | } |
| 1609 | plan = aliases.get(op); |
| 1610 | } |
| 1611 | return plan; |
| 1612 | } |
| 1613 | |
| 1614 | |
| 1615 | /** |
no test coverage detected