Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ranged read. #155

Open
gafiatulin opened this issue Jun 10, 2020 · 0 comments
Open

Add support for ranged read. #155

gafiatulin opened this issue Jun 10, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@gafiatulin
Copy link
Collaborator

Some blob stores support ranged gets a la HTTP Range header.

Currently this can be emulated by dropping and taking on returned stream, but this still requires downloading all data to be dropped later. Consider for example extreme case of downloading entire content just to check if csv file has trailing newline while knowing the size of that file.

Can expose this in a Store[F].get by falling back to dropping and taking for stores that don't support ranged access.

Relevant information about ranged downloads:

@gafiatulin gafiatulin added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant