| 185 | } |
| 186 | |
| 187 | std::unique_ptr<TableFuncSharedState> GDSFunction::initSharedState( |
| 188 | const TableFuncInitSharedStateInput& input) { |
| 189 | auto bindData = input.bindData->constPtrCast<GDSBindData>(); |
| 190 | auto graph = |
| 191 | std::make_unique<OnDiskGraph>(input.context->clientContext, bindData->graphEntry.copy()); |
| 192 | return std::make_unique<GDSFuncSharedState>(bindData->getResultTable(), std::move(graph)); |
| 193 | } |
| 194 | |
| 195 | std::vector<std::shared_ptr<LogicalOperator>> getNodeMaskPlanRoots(const GDSBindData& bindData, |
| 196 | Planner* planner) { |