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

Function createProjection

src/QueryPlan/ReadFromMergeTree.cpp:608–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608static ActionsDAGPtr createProjection(const Block & header)
609{
610 auto projection = std::make_shared<ActionsDAG>(header.getNamesAndTypesList());
611 projection->removeUnusedActions(header.getNames());
612 projection->projectInput();
613 return projection;
614}
615
616namespace
617{

Calls 4

removeUnusedActionsMethod · 0.80
projectInputMethod · 0.80
getNamesAndTypesListMethod · 0.45
getNamesMethod · 0.45

Tested by

no test coverage detected