Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read_batch set include_deleted to false by default when reading a ver…
…sion (#1419) Fixes #1385 Similar to a normal read, `batch_read` now sets `include_deleted` to false when looking for an index key via `find_index_key_for_version_id` - removed `test_batch_read_metadata_multi` as `self._versions.items()` has versions that have already been deleted, the test tries to lookup the deleted versions and tries to asserts that they are found - removed `test_batch_read_snapshot` as the `VersionStoreComparison` creates a test sequence where it first deletes a symbol, then with `test_batch_read_snapshot` checks that the versions in the snapshot match the versions read with `batch_read` which is not the expected behaviour because deleted versions will not be returned by batch read. - similarly removed `test_batch_read_tombstoned_version_via_snapshot` as, with `batch_read(symbol, as_of=[version])` , we shouldn't expect to read a snapshotted version that has been deleted. #### Checklist <details> <summary> Checklist for code changes... </summary> - [ ] Have you updated the relevant docstrings, documentation and copyright notice? - [ ] Is this contribution tested against [all ArcticDB's features](../docs/mkdocs/docs/technical/contributing.md)? - [ ] Do all exceptions introduced raise appropriate [error messages](https://docs.arcticdb.io/error_messages/)? - [ ] Are API changes highlighted in the PR description? - [ ] Is the PR labelled as enhancement or bug so it appears in autogenerated release notes? </details> <!-- Thanks for contributing a Pull Request to ArcticDB! Please ensure you have taken a look at: - ArcticDB's Code of Conduct: https://github.com/man-group/ArcticDB/blob/master/CODE_OF_CONDUCT.md - ArcticDB's Contribution Licensing: https://github.com/man-group/ArcticDB/blob/master/docs/mkdocs/docs/technical/contributing.md#contribution-licensing -->
- Loading branch information