| 106 | } |
| 107 | |
| 108 | void TopNPlanNode::Close() { |
| 109 | ScalarExpr::Close(ordering_exprs_); |
| 110 | ScalarExpr::Close(partition_exprs_); |
| 111 | ScalarExpr::Close(intra_partition_ordering_exprs_); |
| 112 | ScalarExpr::Close(output_tuple_exprs_); |
| 113 | ScalarExpr::Close(noop_tuple_exprs_); |
| 114 | PlanNode::Close(); |
| 115 | } |
| 116 | |
| 117 | Status TopNPlanNode::CreateExecNode(RuntimeState* state, ExecNode** node) const { |
| 118 | ObjectPool* pool = state->obj_pool(); |