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 range option for download requests #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajroetker
Copy link

This commit adds the option to pass range headers into the download requests so that one may satisfy the datafusion ObjectReader interface with this library that requires a chunked reader option.

I'm working on making a GCS version of the S3 datafusion https://github.com/datafusion-contrib/datafusion-objectstore-s3 adapter and using cloud-storage-rs for that.

Mostly a weekend warrior with rust so let me know if this would be sane or if I could do something to improve this!

This commit adds the option to pass range headers into the download requests
so that one may satisfy the datafusion ObjectReader interface with this library
that requires a chunked reader option.
@ajroetker
Copy link
Author

For reference the gcs adapter I'm working on is here https://github.com/ajroetker/datafusion-objectstore-gcs

@ajroetker
Copy link
Author

@ThouCheese not sure if I need to ping you or anything for this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant