Explain this pipeline. Results will be printed to stdout. @throws IOException if explain fails.
()
| 234 | * @throws IOException if explain fails. |
| 235 | */ |
| 236 | public void explain() throws IOException { |
| 237 | if (queries.isEmpty()) { |
| 238 | LOG.info("No bound query to explain"); |
| 239 | return; |
| 240 | } |
| 241 | PigServer pigServer = new PigServer(scriptContext.getPigContext(), false); |
| 242 | registerQueryForDiagnostics(pigServer, queries.get(0)); |
| 243 | pigServer.explain(null, System.out); |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * Describe the schema of an alias in this pipeline. |
nothing calls this directly
no test coverage detected