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

Method finishProbeInput

bolt/exec/NestedLoopJoinProbe.cpp:788–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788void 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
808void NestedLoopJoinProbe::beginBuildMismatch() {
809 BOLT_CHECK(needsBuildMismatch(joinType_));

Callers

nothing calls this directly

Calls 2

needsBuildMismatchFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected