binarycat-dremio opened a new issue, #916:
URL: https://github.com/apache/arrow-go/issues/916

   example.CreateDB() currently opens SQLite with the global shared in-memory 
URI file::memory:?cache=shared.
   
   This makes separate callers share the same in-memory database state within a 
process, which can cause cross-test interference when CreateDB() is used 
multiple times in the same test package.
   
   A likely fix is to keep cache=shared but use a unique named in-memory 
database per call, for example file:<unique>?mode=memory&cache=shared, so 
callers still get shared state across pooled connections without colliding with 
other tests.
   
   I hit this while adding a tracing regression test in arrow-adbc that 
initially tried to reuse example.CreateDB() from arrow-go.


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