ianmcook opened a new issue, #4532:
URL: https://github.com/apache/arrow-adbc/issues/4532

   ### What feature or improvement would you like to see?
   
   It is now possible to set which driver to use inside a connection profile 
instead of in your client code. But the R package's current API makes it 
impossible to actually do this:
   
   ```r
   library(adbcdrivermanager)
   
   drv <- adbc_driver("mydriver")  # <-- no way to get around the requirement 
to set the driver name here
   db <- adbc_database_init(drv, uri = "profile://myprofile")
   con <- adbc_connection_init(db)
   ```
   
   I think the solution is to make the `driver` argument optional in 
`adbc_database_init()`, and succeed so long as the user passes `uri` with a 
scheme that matches a driver name, or passes `profile`.
   
   cc @eitsupi 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to