| 879 | } |
| 880 | |
| 881 | Status 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 | |
| 895 | Status PartitionedHashJoinNode::BeginNullAwareProbe(bool* has_null_aware_rows) { |
| 896 | DCHECK_ENUM_EQ(probe_state_, ProbeState::PROBE_COMPLETE); |
nothing calls this directly
no test coverage detected