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

Method AllocateScanRange

be/src/exec/hdfs-scan-node-base.cc:870–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868}
869
870ScanRange* HdfsScanNodeBase::AllocateScanRange(const ScanRange::FileInfo &fi,
871 int64_t len, int64_t offset, int64_t partition_id, int disk_id, bool expected_local,
872 const BufferOpts& buffer_opts, const ScanRange* original_split) {
873 ScanRangeMetadata* metadata =
874 shared_state_->obj_pool()->Add(new ScanRangeMetadata(partition_id, original_split));
875 return AllocateScanRange(fi, len, offset, {}, metadata, disk_id, expected_local,
876 buffer_opts);
877}
878
879ScanRange* HdfsScanNodeBase::AllocateScanRange(const ScanRange::FileInfo &fi,
880 int64_t len, int64_t offset, vector<ScanRange::SubRange>&& sub_ranges,

Callers 9

GetNextBufferMethod · 0.45
IssueInitialRangesMethod · 0.45
IssueFooterRangesMethod · 0.45
ReadAllMethod · 0.45
ReadToBufferMethod · 0.45
InitColumnChunkMethod · 0.45
readRandomMethod · 0.45
StartColumnReadingMethod · 0.45
IssueInitialRangesMethod · 0.45

Calls 3

moveFunction · 0.85
AddMethod · 0.45
obj_poolMethod · 0.45

Tested by

no test coverage detected