datafusion-contrib / datafusion-contrib/liquid-cache
Test object store interactions
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 452
- Forks
- 51
- Avg merge
- 3h 10m
- Merged PRs (30d)
- 12
Description
We want to make a test object store instance which allows us to test the interactions between liquid cache and object store.
Specifically, we want to implement a in-memory object store, similar to https://github.com/apache/arrow-rs-object-store/blob/main/src/memory.rs
(but simpler, without the put_ops...)
We want to add metrics to the store, and test:
- the number of requests send to the object store is expected, e.g., align ranges to chunk boundaries.
- The ranges are expected
- Calls to read the metadata is expected.
Once we have that, we want to use it to test all kinds of object store interactions in the code base, including:
- LocalCache
- Prefetch
- Metadata cache
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing object-store interactions and the LocalCache, Prefetch, and metadata cache code paths named in the issue. Add a simple in-memory object store with request metrics, then verify that tests cover request counts, chunk-aligned ranges, requested ranges, and metadata reads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100