(String alias)
| 1412 | } |
| 1413 | |
| 1414 | private void buildStorePlan(String alias) throws IOException { |
| 1415 | currDAG.parseQuery(); |
| 1416 | currDAG.buildPlan( alias ); |
| 1417 | |
| 1418 | if( !isBatchOn() || alias != null ) { |
| 1419 | // MRCompiler needs a store to be the leaf - hence |
| 1420 | // add a store to the plan to explain |
| 1421 | QueryParserUtils.attachStorePlan(scope, currDAG.lp, "fakefile", null, currDAG.getOperator( alias ), |
| 1422 | "fake", pigContext ); |
| 1423 | } |
| 1424 | currDAG.compile(); |
| 1425 | } |
| 1426 | |
| 1427 | /** |
| 1428 | * Compile and execute the current plan. |
no test coverage detected