datafusion-contrib / datafusion-contrib/liquid-cache

Test object store interactions

Open
#234 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. the number of requests send to the object store is expected, e.g., align ranges to chunk boundaries.
  2. The ranges are expected
  3. 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:

  1. LocalCache
  2. Prefetch
  3. Metadata cache

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.