| 868 | } |
| 869 | |
| 870 | ScanRange* 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 | |
| 879 | ScanRange* HdfsScanNodeBase::AllocateScanRange(const ScanRange::FileInfo &fi, |
| 880 | int64_t len, int64_t offset, vector<ScanRange::SubRange>&& sub_ranges, |
no test coverage detected