You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (as I understand) gcs_copy_object() only allows a sequential copy, by looping over a list of objects and calling the copy on them separately.
Thanks for raising the issue, I was thinking of doing this via future but that uses up CPU cores and since have found curl::curl_fetch_multi() which is much better but means using curl instead of httr under the hood which is a bit more complicated. I have an implementation for Cloud Run URLs that could be used as a basis though:
If you want to take a look at it that would be very welcome :)
If done then it should be done in such as manner as all GCS function operations benefit, and possibly even pulling it up to googleAuthR so all libraries have access to it.
Currently (as I understand)
gcs_copy_object()
only allows a sequential copy, by looping over a list of objects and calling the copy on them separately.However, the gsutil CLI allows a multi-threaded copy with the
-m
parameter:https://cloud.google.com/storage/docs/gsutil/commands/cp#description
Do you think this could be implemented in the R package?
If so, let me know if you need help with this :)
Thanks,
Tamas
The text was updated successfully, but these errors were encountered: