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

   I think it may still have sense to have a generic Execute to ease 
compatibility with APIs that do not differentiate between the types of queries 
(and note JDBC has all three!), but having an execute-with-rows-affected and 
execute-with-result-set is reasonable. 
   
   Concurrency is a separate discussion; I'm torn on whether we should push the 
complexity into the driver (and declare up front that, for example, everything 
must be thread-safe), or declare that everything is _not_ thread-safe and leave 
clients to deal with it (so Go would have to lock the statement to use it), or 
(like DBAPI in Python) provide a way for drivers to indicate what they support 
(this is probably the worst of both worlds though). 


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

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

Reply via email to