MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / formatBlock

Function formatBlock

src/Formats/formatBlock.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10
11void 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}

Callers 9

dumpSessionsFunction · 0.85
dumpNodesFunction · 0.85
deserializeChangelogFunction · 0.85
loadIdsMethod · 0.85
loadKeysMethod · 0.85
lookupRowsMethod · 0.85
loadKeysMethod · 0.85
executeOnBlockMethod · 0.85

Calls 3

completeMethod · 0.45
executeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected