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

Method HasSpilledRuns

be/src/runtime/sorter.cc:1615–1620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613}
1614
1615bool Sorter::HasSpilledRuns() const {
1616 // All runs in 'merging_runs_' are spilled. 'sorted_runs_' can contain at most one
1617 // non-spilled run.
1618 return !merging_runs_.empty() || sorted_runs_.size() > 1 ||
1619 (sorted_runs_.size() == 1 && !sorted_runs_.back()->is_pinned());
1620}
1621
1622const char* Sorter::TupleSorter::SORTER_HELPER_SYMBOL =
1623 "_ZN6impala6Sorter11TupleSorter10SortHelperENS0_13TupleIteratorES2_";

Callers 1

GetNextMethod · 0.80

Calls 3

emptyMethod · 0.45
sizeMethod · 0.45
is_pinnedMethod · 0.45

Tested by

no test coverage detected