lidavidm commented on issue #2791:
URL: https://github.com/apache/arrow-adbc/issues/2791#issuecomment-2865129476

   > Creating a "database" is often cheap (sometimes it's just stored auth 
credentials or a URI)...is it possible to just create multiple databases and 
connect concurrently that way?
   
   I'm thinking the cleanest API might be to add "clone" methods for 
databases/connections. (A cloned database/connection would be the same object 
internally.) That lets drivers clearly opt in to being thread safe and in terms 
of Rust, lets you avoid having to make multiple mutable references to the same 
pointer.
   
   I'm a little hesitant to require thread safety on all drivers.


-- 
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