| 324 | } |
| 325 | |
| 326 | void LazyReadReplacingFinalSource::work() |
| 327 | { |
| 328 | auto & reading = shared_state->reading_step; |
| 329 | chassert(reading); |
| 330 | |
| 331 | auto plan = buildPlanFromReadingStep(std::move(reading), metadata_snapshot, data, query_context); |
| 332 | |
| 333 | auto builder = plan.buildQueryPipeline(QueryPlanOptimizationSettings(query_context), BuildQueryPipelineSettings(query_context)); |
| 334 | |
| 335 | auto pipe = QueryPipelineBuilder::getPipe(std::move(*builder), resources); |
| 336 | pipe.resize(1); |
| 337 | |
| 338 | pipeline_output = pipe.getOutputPort(0); |
| 339 | processors = Pipe::detachProcessors(std::move(pipe)); |
| 340 | } |
| 341 | |
| 342 | IProcessor::PipelineUpdate LazyReadReplacingFinalSource::updatePipeline() |
| 343 | { |
nothing calls this directly
no test coverage detected