fsspec / fsspec/filesystem_spec

reference file cache

Open
#910 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.4k
Forks
490
Avg merge
2d 3h
Merged PRs (30d)
38

Description

cc @rjzamora

Following the success of caching pieces of files for parquet reading, I wonder if we can think of a use case combining this with the kerchunk method. I am thinking, that each piece of a file like might be fetched from different sources - proactively (as with parquet) or on demand.

I am thinking that this idea might allow us to construct arrow-like datasets from any data format (including parquet) where the data itself is some compressed buffer that translates directly to an arrow (or numpy) buffer on load. Exactly how to do this is another matter, but I thought people might have some insight on whether this kind of thing might even be useful, if it were done.

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 reviewing the existing file-piece caching approach for parquet reading and the kerchunk method referenced in the issue. No files, tests, or entry points are identified in the payload; progress would require establishing whether the proposed combination is useful and defining how it could support data formats that load compressed buffers into Arrow or NumPy buffers.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.