| 222 | } |
| 223 | |
| 224 | Status InputReceived(ExecNode* input, ExecBatch batch) override { |
| 225 | auto scope = TraceInputReceived(batch); |
| 226 | |
| 227 | DCHECK_EQ(input, inputs_[0]); |
| 228 | |
| 229 | RecordBackpressureBytesUsed(batch); |
| 230 | if (sequencer_) { |
| 231 | ARROW_RETURN_NOT_OK(sequencer_->InsertBatch(std::move(batch))); |
| 232 | } else { |
| 233 | ARROW_RETURN_NOT_OK(Process(std::move(batch))); |
| 234 | } |
| 235 | return Status::OK(); |
| 236 | } |
| 237 | |
| 238 | Status Process(ExecBatch batch) override { |
| 239 | producer_.Push(std::move(batch)); |
no test coverage detected