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

Allow users to extract only a portion of the data from a file when working with CDF Files. #1089

Open
vminfant opened this issue Dec 1, 2022 · 0 comments

Comments

@vminfant
Copy link

vminfant commented Dec 1, 2022

Is your feature request related to a problem? Please describe.
One of my use case is expected to extract only a portion of the data from a file that are ingested to CDF Files. Currently there are no options available to extract a portion of the data using any of the download file(s) methods (download-a-single-file-to-a-specific-path, download-a-file-as-bytes).

Blob storage supports Range header to allow users to extract a portion of the data. Details about the Range header can be found here Range

Describe the solution you'd like
Extend the file download methods (download-a-single-file-to-a-specific-path, download-a-file-as-bytes) to accept range parameter and add them as headers when downloading the file contents from blob storage.

Describe alternatives you've considered
Tried to use retrieve-download-urls and add custom headers but would like to keep this as part of SDK.

Additional context
None.

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

No branches or pull requests

1 participant