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

Method InputFinished

cpp/src/arrow/acero/scalar_aggregate_node.cc:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260Status ScalarAggregateNode::InputFinished(ExecNode* input, int total_batches) {
261 auto scope = TraceFinish();
262 EVENT_ON_CURRENT_SPAN("InputFinished", {{"batches.length", total_batches}});
263 DCHECK_EQ(input, inputs_[0]);
264 if (input_counter_.SetTotal(total_batches)) {
265 RETURN_NOT_OK(OutputResult(/*is_last=*/true));
266 }
267 return Status::OK();
268}
269
270std::string ScalarAggregateNode::ToStringExtra(int indent) const {
271 std::stringstream ss;

Callers 1

OutputResultMethod · 0.45

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected