You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "amoeba (via GitHub)" <gi...@apache.org> on 2023/03/03 01:26:21 UTC

[GitHub] [arrow] amoeba opened a new issue, #34421: [R] Allow GcsFileSystem$create to accept a path to json_credentials

amoeba opened a new issue, #34421:
URL: https://github.com/apache/arrow/issues/34421

   ### Describe the enhancement requested
   
   As discovered in https://github.com/apache/arrow/issues/33106, `GcsFileSystem$create` is documented to say it takes a path to a set of JSON credentials on disk. Right now, it only takes a character vector containing the JSON credentials.
   
   So this works:
   
   ```r
   arrow::gs_bucket("my-gcs_bucket", json_credentials = readr::read_file("my-service_account.json"))
   
   ```
   
   And this does not:
   
   ```r
   arrow::gs_bucket("my-gcs_bucket", json_credentials = "my-service_account.json")
   ```
   
   I think both use cases should work so I think we should:
   
   1. Fix the documentation in https://github.com/apache/arrow/issues/33106 so it's clear both approaches work
   2. Expand the behavior of GcsFileSystem$create to handle a path to credentials or a string containing the credentials
   
   ### Component(s)
   
   R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] amoeba commented on issue #34421: [R] Allow GcsFileSystem$create to accept a path to json_credentials

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #34421:
URL: https://github.com/apache/arrow/issues/34421#issuecomment-1452803788

   take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] paleolimbot closed issue #34421: [R] Allow GcsFileSystem$create to accept a path to json_credentials

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #34421: [R] Allow GcsFileSystem$create to accept a path to json_credentials 
URL: https://github.com/apache/arrow/issues/34421


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org