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

Method BeginInitialProbe

be/src/exec/partitioned-hash-join-builder.cc:680–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680Status PhjBuilder::BeginInitialProbe(
681 BufferPool::ClientHandle* probe_client, HashPartitions* partitions) {
682 DCHECK_EQ(is_separate_build_, probe_client != buffer_pool_client_);
683 DCHECK_ENUM_EQ(state_, HashJoinState::PARTITIONING_PROBE);
684 DCHECK_EQ(PARTITION_FANOUT, hash_partitions_.size());
685 RETURN_IF_ERROR(TransferProbeStreamReservation(probe_client));
686 *partitions = HashPartitions(ht_ctx_->level(), &hash_partitions_, non_empty_build_);
687 return Status::OK();
688}
689
690Status PhjBuilder::TransferProbeStreamReservation(
691 BufferPool::ClientHandle* probe_client) {

Callers 1

OpenMethod · 0.80

Calls 4

HashPartitionsClass · 0.85
OKFunction · 0.85
sizeMethod · 0.45
levelMethod · 0.45

Tested by

no test coverage detected