MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / mapTableFunctionCall

Method mapTableFunctionCall

src/processor/map/map_table_function_call.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace processor {
9
10std::unique_ptr<PhysicalOperator> PlanMapper::mapTableFunctionCall(
11 const LogicalOperator* logicalOperator) {
12 auto& call = logicalOperator->constCast<LogicalTableFunctionCall>();
13 auto getPhysicalPlanFunc = call.getTableFunc().getPhysicalPlanFunc;
14 DASSERT(getPhysicalPlanFunc);
15 auto res = getPhysicalPlanFunc(this, logicalOperator);
16 logicalOpToPhysicalOpMap.insert({logicalOperator, res.get()});
17 return res;
18}
19
20} // namespace processor
21} // namespace lbug

Callers

nothing calls this directly

Calls 3

getTableFuncMethod · 0.80
insertMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected