| 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()); |