| 150 | } |
| 151 | |
| 152 | std::unique_ptr<PhysicalOperator> PlanMapper::mapCreateGraph( |
| 153 | const LogicalOperator* logicalOperator) { |
| 154 | auto createGraph = logicalOperator->constPtrCast<LogicalCreateGraph>(); |
| 155 | auto printInfo = std::make_unique<OPPrintInfo>(); |
| 156 | auto messageTable = |
| 157 | FactorizedTableUtils::getSingleStringColumnFTable(MemoryManager::Get(*clientContext)); |
| 158 | return std::make_unique<CreateGraph>(createGraph->getGraphName(), createGraph->isAnyGraph(), |
| 159 | std::move(messageTable), getOperatorID(), std::move(printInfo)); |
| 160 | } |
| 161 | |
| 162 | std::unique_ptr<PhysicalOperator> PlanMapper::mapUseGraph(const LogicalOperator* logicalOperator) { |
| 163 | auto useGraph = logicalOperator->constPtrCast<LogicalUseGraph>(); |
nothing calls this directly
no test coverage detected