MCPcopy Create free account
hub / github.com/ByConity/ByConity / writeToLocal

Method writeToLocal

src/Storages/Distributed/DistributedBlockOutputStream.cpp:639–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637
638
639void DistributedBlockOutputStream::writeToLocal(const Block & block, size_t repeats)
640{
641 InterpreterInsertQuery interp(query_ast, context, allow_materialized);
642
643 auto block_io = interp.execute();
644
645 block_io.out->writePrefix();
646 writeBlockConvert(block_io.out, block, repeats, log);
647 block_io.out->writeSuffix();
648}
649
650
651void DistributedBlockOutputStream::writeToShard(const Block & block, const std::vector<std::string> & dir_names)

Callers

nothing calls this directly

Calls 4

writeBlockConvertFunction · 0.85
executeMethod · 0.45
writePrefixMethod · 0.45
writeSuffixMethod · 0.45

Tested by

no test coverage detected