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

Method InputFinished

cpp/src/arrow/acero/groupby_aggregate_node.cc:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396Status GroupByNode::InputFinished(ExecNode* input, int total_batches) {
397 auto scope = TraceFinish();
398 DCHECK_EQ(input, inputs_[0]);
399
400 if (input_counter_.SetTotal(total_batches)) {
401 RETURN_NOT_OK(OutputResult(/*is_last=*/true));
402 }
403 return Status::OK();
404}
405
406std::string GroupByNode::ToStringExtra(int indent) const {
407 std::stringstream ss;

Callers 1

OutputResultMethod · 0.45

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected