| 394 | } |
| 395 | |
| 396 | arrow::Status StartProducing() override { |
| 397 | ARROW_ASSIGN_OR_RAISE(process_task, plan_->query_context()->BeginExternalTask( |
| 398 | "SortedMergeNode::ProcessThread")); |
| 399 | if (!process_task.is_valid()) { |
| 400 | // Plan has already aborted. Do not start process thread |
| 401 | return Status::OK(); |
| 402 | } |
| 403 | #ifdef ARROW_ENABLE_THREADING |
| 404 | process_thread = std::thread(&SortedMergeNode::StartPoller, this); |
| 405 | #endif |
| 406 | return Status::OK(); |
| 407 | } |
| 408 | |
| 409 | arrow::Status StopProducingImpl() override { |
| 410 | #ifdef ARROW_ENABLE_THREADING |
nothing calls this directly
no test coverage detected