(PigServer pigServer, String query)
| 1167 | } |
| 1168 | |
| 1169 | public static PhysicalPlan buildPp(PigServer pigServer, String query) |
| 1170 | throws Exception { |
| 1171 | LogicalPlan lp = buildLp( pigServer, query ); |
| 1172 | lp.optimize(pigServer.getPigContext()); |
| 1173 | return ((HExecutionEngine)pigServer.getPigContext().getExecutionEngine()).compile(lp, |
| 1174 | pigServer.getPigContext().getProperties()); |
| 1175 | } |
| 1176 | |
| 1177 | public static LogicalPlan parse(String query, PigContext pc) throws FrontendException { |
| 1178 | Map<String, String> fileNameMap = new HashMap<String, String>(); |
no test coverage detected