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

Method GetNext

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

Source from the content-addressed store, hash-verified

379}
380
381Status TopNNode::GetNext(RuntimeState* state, RowBatch* row_batch, bool* eos) {
382 SCOPED_TIMER(runtime_profile_->total_time_counter());
383 ScopedGetNextEventAdder ea(this, eos);
384 RETURN_IF_ERROR(ExecDebugAction(TExecNodePhase::GETNEXT, state));
385 return is_partitioned() ? GetNextPartitioned(state, row_batch, eos)
386 : GetNextUnpartitioned(state, row_batch, eos);
387}
388
389Status TopNNode::GetNextUnpartitioned(
390 RuntimeState* state, RowBatch* row_batch, bool* eos) {

Callers 12

FetchRowsInternalMethod · 0.45
GetNextBufferMethod · 0.45
OpenMethod · 0.45
GetNextPartitionedMethod · 0.45
RepartitionBuildInputMethod · 0.45
BuildHashTableMethod · 0.45
ForEachRowFunction · 0.45
CacheFileCmpFunction · 0.45
LoadMethod · 0.45
GetFirstProbeRowMethod · 0.45
SendBuildInputToSinkMethod · 0.45
TEST_FFunction · 0.45

Calls 1

total_time_counterMethod · 0.80

Tested by 1

TEST_FFunction · 0.36