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 an option to retrieve presigned urls from to_remote_storage call #4196

Open
tokoko opened this issue May 12, 2024 · 0 comments
Open

Add an option to retrieve presigned urls from to_remote_storage call #4196

tokoko opened this issue May 12, 2024 · 0 comments
Labels
kind/feature New feature or request

Comments

@tokoko
Copy link
Collaborator

tokoko commented May 12, 2024

Is your feature request related to a problem? Please describe.
to_remote_storage method on RetrievalJob class exports the dataset to a remote storage (s3/gcs) as parquet files and returns a list of file urls to the user. The location is usually preconfigured for an offline store as a staging_location config. This behavior poses a problem for remote offline store deployments #4032 as the user will need to have a separate read access to the staging location.

Describe the solution you'd like
Add an optional parameter to to_remote_storage method that will change the behavior of the method to return presigned urls to the caller rather than raw urls.

@tokoko tokoko added the kind/feature New feature or request label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant