MCPcopy Create free account
hub / github.com/apache/impala / CreateExecNode

Method CreateExecNode

be/src/exec/topn-node.cc:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117Status 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

Callers 1

CreateTreeMethod · 0.45

Calls 3

OKFunction · 0.85
obj_poolMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected