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

Method PrepareForWrite

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

Source from the content-addressed store, hash-verified

343}
344
345Status PartitionedHashJoinNode::ProbePartition::PrepareForWrite(
346 PartitionedHashJoinNode* parent, bool pinned) {
347 RETURN_IF_ERROR(probe_rows_->Init(parent->label(), pinned));
348 bool got_buffer;
349 RETURN_IF_ERROR(probe_rows_->PrepareForWrite(&got_buffer));
350 DCHECK(got_buffer) << "Should have already acquired reservation";
351 return Status::OK();
352}
353
354Status PartitionedHashJoinNode::ProbePartition::PrepareForRead() {
355 bool got_read_buffer;

Callers 9

InitStreamsMethod · 0.45
SpillMethod · 0.45
InitNullProbeRowsMethod · 0.45
OpenMethod · 0.45

Calls 3

OKFunction · 0.85
InitMethod · 0.45
labelMethod · 0.45

Tested by

no test coverage detected