| 98 | } |
| 99 | |
| 100 | void 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 | |
| 117 | std::optional<HashJoinBridge::HashBuildResult> HashJoinBridge::tableOrFuture( |
| 118 | ContinueFuture* future) { |