| 786 | } |
| 787 | |
| 788 | void NestedLoopJoinProbe::finishProbeInput() { |
| 789 | BOLT_CHECK_NOT_NULL(input_); |
| 790 | input_.reset(); |
| 791 | buildIndex_ = 0; |
| 792 | probeRow_ = 0; |
| 793 | |
| 794 | if (!noMoreInput_) { |
| 795 | return; |
| 796 | } |
| 797 | |
| 798 | // From now one we finished processing the probe side. Check now if this is a |
| 799 | // right or full outer join, and hence we may need to start emitting build |
| 800 | // mismatch records. |
| 801 | if (!needsBuildMismatch(joinType_) || isBuildSideEmpty()) { |
| 802 | setState(ProbeOperatorState::kFinish); |
| 803 | return; |
| 804 | } |
| 805 | beginBuildMismatch(); |
| 806 | } |
| 807 | |
| 808 | void NestedLoopJoinProbe::beginBuildMismatch() { |
| 809 | BOLT_CHECK(needsBuildMismatch(joinType_)); |
nothing calls this directly
no test coverage detected