| 115 | } |
| 116 | |
| 117 | Status TopNPlanNode::CreateExecNode(RuntimeState* state, ExecNode** node) const { |
| 118 | ObjectPool* pool = state->obj_pool(); |
| 119 | *node = pool->Add(new TopNNode(pool, *this, state->desc_tbl())); |
| 120 | return Status::OK(); |
| 121 | } |
| 122 | |
| 123 | /// In the TopNNode constructor if 'pnode.partition_comparator_config_' is NULL, we use |
| 124 | /// this dummy comparator to avoid 'partition_cmp_' becoming a null pointer. This is |
no test coverage detected