| 78 | } |
| 79 | |
| 80 | Status InputReceived(ExecNode* input, ExecBatch batch) override { |
| 81 | NoteInputReceived(batch); |
| 82 | ARROW_DCHECK(std::find(inputs_.begin(), inputs_.end(), input) != inputs_.end()); |
| 83 | |
| 84 | if (inputs_.size() > 1) { |
| 85 | batch.index = compute::kUnsequencedIndex; |
| 86 | } |
| 87 | return output_->InputReceived(this, std::move(batch)); |
| 88 | } |
| 89 | |
| 90 | Status InputFinished(ExecNode* input, int total_batches) override { |
| 91 | ARROW_DCHECK(std::find(inputs_.begin(), inputs_.end(), input) != inputs_.end()); |