| 394 | } |
| 395 | |
| 396 | Status 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 | |
| 406 | std::string GroupByNode::ToStringExtra(int indent) const { |
| 407 | std::stringstream ss; |