| 181 | } // namespace |
| 182 | |
| 183 | HashProbe::HashProbe( |
| 184 | int32_t operatorId, |
| 185 | DriverCtx* driverCtx, |
| 186 | const std::shared_ptr<const core::HashJoinNode>& joinNode) |
| 187 | : Operator( |
| 188 | driverCtx, |
| 189 | joinNode->outputType(), |
| 190 | operatorId, |
| 191 | joinNode->id(), |
| 192 | "HashProbe", |
| 193 | joinNode->canSpill(driverCtx->queryConfig()) |
| 194 | ? driverCtx->makeSpillConfig(operatorId) |
| 195 | : std::nullopt), |
| 196 | outputBatchSize_{outputBatchRows()}, |
| 197 | joinNode_(std::move(joinNode)), |
| 198 | joinType_{joinNode_->joinType()}, |
| 199 | nullAware_{joinNode_->isNullAware()}, |
| 200 | probeType_(joinNode_->sources()[0]->outputType()), |
| 201 | joinBridge_(operatorCtx_->task()->getHashJoinBridgeLocked( |
| 202 | operatorCtx_->driverCtx()->splitGroupId, |
| 203 | planNodeId())), |
| 204 | filterResult_(1), |
| 205 | outputTableRows_(outputBatchSize_) { |
| 206 | BOLT_CHECK_NOT_NULL(joinBridge_); |
| 207 | } |
| 208 | |
| 209 | void HashProbe::initialize() { |
| 210 | Operator::initialize(); |
nothing calls this directly
no test coverage detected