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

Could gcs_get_object support decompressing objects? #63

Closed
nkeriks opened this issue Mar 31, 2017 · 2 comments
Closed

Could gcs_get_object support decompressing objects? #63

nkeriks opened this issue Mar 31, 2017 · 2 comments

Comments

@nkeriks
Copy link
Contributor

nkeriks commented Mar 31, 2017

I haven't poked into how things work behind the scenes, but I do have a directory of .json.gz files in GCS and was hoping that they would get parsed correctly by gcs_get_object. However, they come through as binary objects, so I have to either write to disk + reread or to uncompress them in GCS. Trying to set global httr options hasn't worked for me.

@MarkEdmondson1234
Copy link
Collaborator

I guess it could, by letting you supply your own parsing function. This is available for uploads, but no reason why it can't be available for downloads too!

@MarkEdmondson1234
Copy link
Collaborator

@nkeriks Yep that was no problem to add, thanks! In Github version now.

MarkEdmondson1234 added a commit that referenced this issue Mar 31, 2017
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

No branches or pull requests

2 participants