Run illustrate for this pipeline. Results will be printed to stdout. @throws IOException if illustrate fails.
()
| 220 | * @throws IOException if illustrate fails. |
| 221 | */ |
| 222 | public void illustrate() throws IOException { |
| 223 | if (queries.isEmpty()) { |
| 224 | LOG.info("No bound query to illustrate"); |
| 225 | return; |
| 226 | } |
| 227 | PigServer pigServer = new PigServer(scriptContext.getPigContext(), false); |
| 228 | registerQueryForDiagnostics(pigServer, queries.get(0)); |
| 229 | pigServer.getExamples(null); |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Explain this pipeline. Results will be printed to stdout. |
nothing calls this directly
no test coverage detected