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

Method getHeader

src/Storages/Distributed/DistributedBlockOutputStream.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137
138Block DistributedBlockOutputStream::getHeader() const
139{
140 if (!allow_materialized)
141 return metadata_snapshot->getSampleBlockNonMaterialized();
142 else
143 return metadata_snapshot->getSampleBlock();
144}
145
146
147void DistributedBlockOutputStream::writePrefix()

Callers 5

writeAndConvertFunction · 0.45
writeRemoteConvertFunction · 0.45
writeBlockConvertFunction · 0.45
runWritingJobMethod · 0.45
prepareReaderMethod · 0.45

Calls 2

getSampleBlockMethod · 0.45

Tested by

no test coverage detected