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

Method InitNullProbeRows

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

Source from the content-addressed store, hash-verified

879}
880
881Status PartitionedHashJoinNode::InitNullProbeRows() {
882 RuntimeState* state = runtime_state_;
883 null_probe_rows_ =
884 make_unique<BufferedTupleStream>(state, &probe_row_desc(), buffer_pool_client(),
885 resource_profile_.spillable_buffer_size, resource_profile_.max_row_buffer_size);
886 // Start with stream pinned, unpin later if needed.
887 RETURN_IF_ERROR(null_probe_rows_->Init(label(), true));
888 bool got_buffer;
889 RETURN_IF_ERROR(null_probe_rows_->PrepareForWrite(&got_buffer));
890 DCHECK(got_buffer) << "Accounted in min reservation"
891 << buffer_pool_client()->DebugString();
892 return Status::OK();
893}
894
895Status PartitionedHashJoinNode::BeginNullAwareProbe(bool* has_null_aware_rows) {
896 DCHECK_ENUM_EQ(probe_state_, ProbeState::PROBE_COMPLETE);

Callers

nothing calls this directly

Calls 4

OKFunction · 0.85
InitMethod · 0.45
PrepareForWriteMethod · 0.45
DebugStringMethod · 0.45

Tested by

no test coverage detected