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

Method RegisterTaskGroup

cpp/src/arrow/acero/query_context.cc:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82int QueryContext::RegisterTaskGroup(std::function<Status(size_t, int64_t)> task,
83 std::function<Status(size_t)> on_finished) {
84 return task_scheduler_->RegisterTaskGroup(std::move(task), std::move(on_finished));
85}
86
87Status QueryContext::StartTaskGroup(int task_group_id, int64_t num_tasks) {
88 return task_scheduler_->StartTaskGroup(GetThreadIndex(), task_group_id, num_tasks);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected