| 70 | } |
| 71 | |
| 72 | std::shared_ptr<connector::ConnectorQueryCtx> |
| 73 | OperatorCtx::createConnectorQueryCtx( |
| 74 | const std::string& connectorId, |
| 75 | const std::string& planNodeId, |
| 76 | memory::MemoryPool* connectorPool, |
| 77 | const common::SpillConfig* spillConfig, |
| 78 | std::shared_ptr<connector::AsyncThreadCtx> asyncThreadCtx) const { |
| 79 | return std::make_shared<connector::ConnectorQueryCtx>( |
| 80 | pool_, |
| 81 | connectorPool, |
| 82 | driverCtx_->task->queryCtx()->connectorSessionProperties(connectorId), |
| 83 | spillConfig, |
| 84 | std::move(asyncThreadCtx), |
| 85 | std::make_unique<SimpleExpressionEvaluator>( |
| 86 | execCtx()->queryCtx(), execCtx()->pool()), |
| 87 | driverCtx_->task->queryCtx()->cache(), |
| 88 | driverCtx_->task->queryCtx()->queryId(), |
| 89 | taskId(), |
| 90 | planNodeId, |
| 91 | driverCtx_->driverId); |
| 92 | } |
| 93 | |
| 94 | Operator::Operator( |
| 95 | DriverCtx* driverCtx, |
no test coverage detected