MCPcopy Create free account
hub / github.com/bytedance/bolt / sortSpill

Method sortSpill

bolt/exec/WindowBuild.cpp:355–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void WindowBuild::sortSpill() {
356 updateEstimatedOutputRowSize();
357
358 if (sortSpiller_ == nullptr) {
359 setupSortSpiller();
360 }
361
362 sortSpiller_->spill();
363 data_->clear();
364 data_->pool()->release();
365}
366
367vector_size_t WindowBuild::findNextPartitionStartRow(vector_size_t start) {
368 auto partitionCompare = [&](const char* lhs, const char* rhs) -> bool {

Callers 1

reclaimMethod · 0.80

Calls 4

spillMethod · 0.45
clearMethod · 0.45
releaseMethod · 0.45
poolMethod · 0.45

Tested by

no test coverage detected