arrow-flight-sql-postgresql icon indicating copy to clipboard operation
arrow-flight-sql-postgresql copied to clipboard

Add support for closing a database (session)

Open kou opened this issue 2 years ago • 15 comments

It seems that Apache Arrow Flight SQL doesn't provide a command that closes the current session explicitly: https://arrow.apache.org/docs/format/FlightSql.html

In https://lists.apache.org/thread/0w25o85y8vsndz87kpjljxz24x077o3y , using a custom (close) action was suggested.

@lidavidm Is using a custom close action still a suggested approach to close the current session? I have a concern about this approach. If each Apache Arrow Flight SQL server implementation uses different custom close action, users can't use a general Apache Arrow Flight SQL client including ADBC to use Apache Arrow Flight SQL servers. (Users need to implement a custom close action for each Apache Arrow Flight SQL server.)

kou avatar Feb 09 '23 05:02 kou