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

Method AddDiskIoRanges

be/src/exec/hdfs-scan-node.cc:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205Status HdfsScanNode::AddDiskIoRanges(const vector<ScanRange*>& ranges,
206 EnqueueLocation enqueue_location) {
207 DCHECK_GT(shared_state_->RemainingScanRangeSubmissions(), 0);
208 RETURN_IF_ERROR(reader_context_->AddScanRanges(ranges, enqueue_location));
209 if (!ranges.empty()) ThreadTokenAvailableCb(runtime_state_->resource_pool());
210 return Status::OK();
211}
212
213int64_t HdfsScanNode::EstimateScannerThreadMemConsumption(RuntimeState* state) const {
214 // Start with the minimum I/O buffer requirement.

Callers 4

IssueInitialRangesMethod · 0.45
GetNextInternalMethod · 0.45
IssueFooterRangesMethod · 0.45
IssueInitialRangesMethod · 0.45

Calls 5

OKFunction · 0.85
resource_poolMethod · 0.80
AddScanRangesMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected