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

Method InputFinished

cpp/src/arrow/acero/union_node.cc:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 Status InputFinished(ExecNode* input, int total_batches) override {
91 ARROW_DCHECK(std::find(inputs_.begin(), inputs_.end(), input) != inputs_.end());
92
93 total_batches_.fetch_add(total_batches);
94
95 if (input_count_.Increment()) {
96 return output_->InputFinished(this, total_batches_.load());
97 }
98
99 return Status::OK();
100 }
101
102 Status StartProducing() override {
103 NoteStartProducing(ToStringExtra());

Callers

nothing calls this directly

Calls 4

OKFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected