MCPcopy Create free account
hub / github.com/apache/arrow / StartProducing

Method StartProducing

cpp/src/arrow/acero/sorted_merge_node.cc:396–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

BeginExternalTaskMethod · 0.80
query_contextMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
is_validMethod · 0.45

Tested by

no test coverage detected