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

Method transformHeader

src/Processors/Transforms/JoiningTransform.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30Block JoiningTransform::transformHeader(Block header, const JoinPtr & join)
31{
32 LOG_TEST(getLogger("JoiningTransform"), "Before join block: '{}'", header.dumpStructure());
33 join->checkTypesOfKeys(header);
34 join->initialize(header);
35 header = join->joinBlock(std::move(header))->next().block;
36 materializeBlockInplace(header);
37 LOG_TEST(getLogger("JoiningTransform"), "After join block: '{}'", header.dumpStructure());
38 return header;
39}
40
41JoiningTransform::JoiningTransform(
42 SharedHeader input_header,

Callers

nothing calls this directly

Calls 7

materializeBlockInplaceFunction · 0.85
getLoggerFunction · 0.50
dumpStructureMethod · 0.45
checkTypesOfKeysMethod · 0.45
initializeMethod · 0.45
nextMethod · 0.45
joinBlockMethod · 0.45

Tested by

no test coverage detected