Skip to content

python/adbc_driver_manager: support closing connection with unclosed cursors #3713

@amoeba

Description

@amoeba

What feature or improvement would you like to see?

In #3135 we noted that, according to dbapi, closing a connection without first closing all cursors should work without error.

It would be good to support this, we currently error out with something like,

RuntimeError: Cannot close AdbcConnection with open AdbcStatement

A pre-requisite for this is to make sure drivers generally support closing with dangling statements, see #3135 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions