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

Method postHashBuildProcess

bolt/exec/HashBuild.cpp:1412–1427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412void HashBuild::postHashBuildProcess() {
1413 checkRunning();
1414
1415 if (!spillEnabled()) {
1416 setState(State::kFinish);
1417 return;
1418 }
1419
1420 auto spillInput = joinBridge_->spillInputOrFuture(&future_);
1421 if (!spillInput.has_value()) {
1422 BOLT_CHECK(future_.valid());
1423 setState(State::kWaitForProbe);
1424 return;
1425 }
1426 setupSpillInput(std::move(spillInput.value()));
1427}
1428
1429void HashBuild::setupSpillInput(HashJoinBridge::SpillInput spillInput) {
1430 checkRunning();

Callers

nothing calls this directly

Calls 4

spillInputOrFutureMethod · 0.80
has_valueMethod · 0.80
validMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected