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

Method StartProducing

cpp/src/arrow/acero/asof_join_node.cc:1514–1525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1512#endif
1513
1514 Status StartProducing() override {
1515 ARROW_ASSIGN_OR_RAISE(process_task_, plan_->query_context()->BeginExternalTask(
1516 "AsofJoinNode::ProcessThread"));
1517 if (!process_task_.is_valid()) {
1518 // Plan has already aborted. Do not start process thread
1519 return Status::OK();
1520 }
1521#ifdef ARROW_ENABLE_THREADING
1522 process_thread_ = std::thread(&AsofJoinNode::ProcessThreadWrapper, this);
1523#endif
1524 return Status::OK();
1525 }
1526
1527 void PauseProducing(ExecNode* output, int32_t counter) override {}
1528 void ResumeProducing(ExecNode* output, int32_t counter) override {}

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