Skip to content

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

Description

@vminfant

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions