| 9 | { |
| 10 | |
| 11 | void formatBlock(OutputFormatPtr out, const Block & block) |
| 12 | { |
| 13 | auto source = std::make_shared<SourceFromSingleChunk>(std::make_shared<const Block>(Block{block})); |
| 14 | QueryPipeline pipeline(source); |
| 15 | pipeline.complete(out); |
| 16 | CompletedPipelineExecutor executor(pipeline); |
| 17 | executor.execute(); |
| 18 | out->flush(); |
| 19 | } |
| 20 | |
| 21 | } |
no test coverage detected