MCPcopy Create free account
hub / github.com/apache/impala / OutputUnmatchedBuild

Method OutputUnmatchedBuild

be/src/exec/partitioned-hash-join-node.cc:703–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703Status PartitionedHashJoinNode::OutputUnmatchedBuild(RowBatch* out_batch) {
704 SCOPED_TIMER(probe_timer_);
705 DCHECK(NeedToProcessUnmatchedBuildRows(join_op_));
706 DCHECK(!output_build_partitions_.empty());
707 DCHECK_ENUM_EQ(probe_state_, ProbeState::OUTPUTTING_UNMATCHED);
708
709 if (output_unmatched_batch_iter_.get() != nullptr) {
710 // There were no probe rows so we skipped building the hash table. In this case, all
711 // build rows of the partition are unmatched.
712 RETURN_IF_ERROR(OutputAllBuild(out_batch));
713 } else {
714 // We built and processed the hash table, so sweep over it and output unmatched rows.
715 OutputUnmatchedBuildFromHashTable(out_batch);
716 }
717
718 return Status::OK();
719}
720
721Status PartitionedHashJoinNode::OutputAllBuild(RowBatch* out_batch) {
722 DCHECK_ENUM_EQ(probe_state_, ProbeState::OUTPUTTING_UNMATCHED);

Callers

nothing calls this directly

Calls 4

OKFunction · 0.85
getMethod · 0.65
emptyMethod · 0.45

Tested by

no test coverage detected