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

Method PrepareNullAwareNullProbe

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

Source from the content-addressed store, hash-verified

820}
821
822Status PartitionedHashJoinNode::PrepareNullAwareNullProbe() {
823 DCHECK_EQ(null_probe_output_idx_, -1);
824 bool got_read_buffer;
825 RETURN_IF_ERROR(null_probe_rows_->PrepareForRead(true, &got_read_buffer));
826 if (!got_read_buffer) {
827 return mem_tracker()->MemLimitExceeded(
828 runtime_state_, Substitute(PREPARE_FOR_READ_FAILED_ERROR_MSG, id_));
829 }
830 DCHECK_EQ(probe_batch_->num_rows(), 0);
831 probe_batch_pos_ = 0;
832 null_probe_output_idx_ = 0;
833 return Status::OK();
834}
835
836Status PartitionedHashJoinNode::OutputNullAwareNullProbe(
837 RuntimeState* state, RowBatch* out_batch, bool* done) {

Callers

nothing calls this directly

Calls 5

SubstituteFunction · 0.85
OKFunction · 0.85
PrepareForReadMethod · 0.45
MemLimitExceededMethod · 0.45
num_rowsMethod · 0.45

Tested by

no test coverage detected