joellubi commented on issue #2146:
URL: https://github.com/apache/arrow-adbc/issues/2146#issuecomment-2341844462

   I think we should update the documentation to make this clearer, and perhaps 
make the interface more consistent.
   
   @lidavidm Do you know if adding optional parameters to `Connection.cursor()` 
would be a problem for the dbapi spec?
   
   I'm thinking for consistency to allow `stmt_kwargs` to be specified similar 
to how the `db` and `conn` kwargs already are:
   ```python
   with adbc_driver_snowflake.dbapi.connect(uri, db_kwargs=db_kwargs, 
conn_kwargs=conn_kwargs) as conn:
       with conn.cursor(stmt_kwargs=stmt_kwargs) as cur:
           cur.adbc_ingest(...)
   ```
   
   Thoughts on this?
   
   CC: @zeroshade 


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