| 44 | } |
| 45 | |
| 46 | std::optional<std::vector<RowVectorPtr>> NestedLoopJoinBridge::dataOrFuture( |
| 47 | ContinueFuture* future) { |
| 48 | std::lock_guard<std::mutex> l(mutex_); |
| 49 | BOLT_CHECK(!cancelled_, "Getting data after the build side is aborted"); |
| 50 | if (buildVectors_.has_value()) { |
| 51 | return buildVectors_; |
| 52 | } |
| 53 | promises_.emplace_back("NestedLoopJoinBridge::tableOrFuture"); |
| 54 | *future = promises_.back().getSemiFuture(); |
| 55 | return std::nullopt; |
| 56 | } |
| 57 | |
| 58 | NestedLoopJoinBuild::NestedLoopJoinBuild( |
| 59 | int32_t operatorId, |
no test coverage detected