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-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to