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

Method FinishedCallback

cpp/src/arrow/acero/hash_join_node.cc:1029–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027 }
1028
1029 Status FinishedCallback(int64_t total_num_batches) {
1030 bool expected = false;
1031 if (complete_.compare_exchange_strong(expected, true)) {
1032 return output_->InputFinished(this, static_cast<int>(total_num_batches));
1033 }
1034 return Status::OK();
1035 }
1036
1037 private:
1038 AtomicCounter batch_count_[2];

Callers 1

InitMethod · 0.95

Calls 2

OKFunction · 0.50
InputFinishedMethod · 0.45

Tested by

no test coverage detected