| 101 | } |
| 102 | |
| 103 | void AggregationPlanNode::Codegen(FragmentState* state) { |
| 104 | DCHECK(state->ShouldCodegen()); |
| 105 | PlanNode::Codegen(state); |
| 106 | if (IsNodeCodegenDisabled()) return; |
| 107 | for (auto& agg : aggs_) { |
| 108 | agg->Codegen(state); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | Status AggregationNodeBase::Reset(RuntimeState* state, RowBatch* row_batch) { |
| 113 | for (auto& agg : aggs_) RETURN_IF_ERROR(agg->Reset(state, row_batch)); |
nothing calls this directly
no test coverage detected