felipecrv commented on PR #2736: URL: https://github.com/apache/arrow-adbc/pull/2736#issuecomment-2822519118
> Is it specified somewhere that all driver implementations must be thread-safe? > > This comment explains the rationale: > > https://github.com/apache/arrow-adbc/blob/c6e1ab5d05fae6143b7fcd22896d0bc7ac14f9d3/rust/core/src/driver_manager.rs#L93-L102 The driver classes: database, connection, statement, reader... are a whole different story. The driver itself is a static struct of function pointers that once initialized shouldn't be changing. Requiring a lock on the driver for every operation makes ADBC drivers incapable of any parallelism whatsoever. -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org