s-banach opened a new issue, #3135:
URL: https://github.com/apache/arrow-adbc/issues/3135

   ### What happened?
   
   ```python
   import adbc_driver_snowflake.dbapi as snowflake_adbc
   from creds import DB_KWARGS_2
   
   conn = snowflake_adbc.connect(db_kwargs=DB_KWARGS_2)
   cursor = conn.cursor()
   cursor.execute("SELECT 1;")
   result = cursor.fetch_arrow_table()
   print(result)
   """
   pyarrow.Table
   1: decimal128(1, 0)
   ----
   1: [[1]]
   """
   
   # cursor.close()
   conn.close()
   ```
   
   `RuntimeError: Cannot close AdbcConnection with open AdbcStatement`
   
   Works fine if I run `cursor.close()` before `conn.close()`.
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


-- 
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.apache.org

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

Reply via email to