CaselIT opened a new issue, #3584: URL: https://github.com/apache/arrow-adbc/issues/3584
### What happened? The python dbapi spect specifies that descriptor should be none if a statement does not return any data: https://peps.python.org/pep-0249/#description > This attribute will be None for operations that do not return rows or if the cursor has not had an operation invoked via the [.execute*()](https://peps.python.org/pep-0249/#id19) method yet. ### Stack Trace Traceback (most recent call last): File "foo.py", line 259, in <module> assert cur.description is None, cur.description ^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: [] ### How can we reproduce the bug? from adbc_driver_postgresql.dbapi import connect url = 'postgresql://scott:tiger@localhost/test' with connect(url) as conn, conn.cursor() as cur: cur.execute('create table t(a int)') assert cur.description is None, cur.description ### Environment/Setup adbc_driver_manager = 1.8.0 adbc_driver_postgresql = 1.8.0 -- 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]
