| 204 | } |
| 205 | |
| 206 | void StreamingAggregationNode::Close(RuntimeState* state) { |
| 207 | if (is_closed()) return; |
| 208 | // All expr mem allocations should happen in the Aggregator. |
| 209 | DCHECK(expr_results_pool() == nullptr |
| 210 | || expr_results_pool()->total_allocated_bytes() == 0); |
| 211 | for (auto& agg : aggs_) agg->Close(state); |
| 212 | child_batch_.reset(); |
| 213 | ExecNode::Close(state); |
| 214 | } |
| 215 | |
| 216 | void StreamingAggregationNode::DebugString( |
| 217 | int indentation_level, stringstream* out) const { |
no test coverage detected