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

Method FinalizeInput

be/src/runtime/sorter.cc:339–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339Status Sorter::Run::FinalizeInput() {
340 DCHECK(!is_finalized_);
341
342 RETURN_IF_ERROR(FinalizePages(&fixed_len_pages_));
343 if (has_var_len_slots_) {
344 RETURN_IF_ERROR(FinalizePages(&var_len_pages_));
345 }
346 is_finalized_ = true;
347 return Status::OK();
348}
349
350Status Sorter::Run::FinalizePages(vector<Page>* pages) {
351 DCHECK_GT(pages->size(), 0);

Callers 2

SortCurrentInputRunMethod · 0.80

Calls 1

OKFunction · 0.85

Tested by

no test coverage detected