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

Method CleanupAllRuns

be/src/runtime/sorter.cc:1412–1421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412void Sorter::CleanupAllRuns() {
1413 Run::CleanupRuns(&sorted_inmem_runs_);
1414 Run::CleanupRuns(&sorted_runs_);
1415 Run::CleanupRuns(&merging_runs_);
1416 if (unsorted_run_ != nullptr) unsorted_run_->CloseAllPages();
1417 unsorted_run_ = nullptr;
1418 if (merge_output_run_ != nullptr) merge_output_run_->CloseAllPages();
1419 merge_output_run_ = nullptr;
1420 run_pool_.Clear();
1421}
1422
1423Status Sorter::SortCurrentInputRun() {
1424 RETURN_IF_ERROR(unsorted_run_->FinalizeInput());

Callers

nothing calls this directly

Calls 2

CloseAllPagesMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected