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

Method setAntiJoinHasNullKeys

bolt/exec/HashJoinBridge.cpp:100–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void HashJoinBridge::setAntiJoinHasNullKeys() {
101 std::vector<ContinuePromise> promises;
102 SpillPartitionSet spillPartitions;
103 {
104 std::lock_guard<std::mutex> l(mutex_);
105 BOLT_CHECK(started_);
106 BOLT_CHECK(!buildResult_.has_value());
107 BOLT_CHECK(restoringSpillShards_.empty());
108
109 buildResult_ = HashBuildResult{};
110 restoringSpillPartitionId_.reset();
111 spillPartitions.swap(spillPartitionSets_);
112 promises = std::move(promises_);
113 }
114 notify(std::move(promises));
115}
116
117std::optional<HashJoinBridge::HashBuildResult> HashJoinBridge::tableOrFuture(
118 ContinueFuture* future) {

Callers 3

setReusableHashTableMethod · 0.80
finishHashBuildMethod · 0.80
TEST_PFunction · 0.80

Calls 5

notifyFunction · 0.85
has_valueMethod · 0.80
swapMethod · 0.80
emptyMethod · 0.45
resetMethod · 0.45

Tested by 1

TEST_PFunction · 0.64