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

Method FinishedCallback

cpp/src/arrow/acero/tpch_node.cc:3408–3413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3406 }
3407
3408 Status FinishedCallback(int64_t total_num_batches) {
3409 ARROW_RETURN_NOT_OK(
3410 output_->InputFinished(this, static_cast<int>(total_num_batches)));
3411 finished_generating_.store(true);
3412 return Status::OK();
3413 }
3414
3415 Status ScheduleTaskCallback(std::function<Status(size_t)> func) {
3416 if (finished_generating_.load()) return Status::OK();

Callers 1

StartProducingMethod · 0.95

Calls 3

storeMethod · 0.80
OKFunction · 0.50
InputFinishedMethod · 0.45

Tested by

no test coverage detected