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

Method InputReceived

cpp/src/arrow/acero/sink_node.cc:224–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

InputReceivedMethod · 0.45

Calls 2

OKFunction · 0.50
InsertBatchMethod · 0.45

Tested by

no test coverage detected