You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Summary
- Adds `load_into()` to support memory mapped loading directly into the
caller's buffer.
- Enables copying a specific byte range from the file without creating
an internal buffer.
- Resuses input validation from `load()`.
Fixes#11561
### Test plan
- Added unit tests to `MmapDataLoaderTest` for `load_into()` to validate
copying for both aligned and offset data.
- All Mmap Data Loader tests pass via:
```
./build-ninja/extension/data_loader/test/extension_data_loader_test --gtest_filter='MmapDataLoaderTest.*'
```
- Full set of Data Loader tests pass via:
```
./build-ninja/extension/data_loader/test/extension_data_loader_test
```
0 commit comments