apache / apache/arrow-flight-sql-postgresql

Add support for closing a database (session)

Open
#13 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
116
Forks
10
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start with the Apache Arrow Flight SQL format page and the linked mailing-list thread to determine the status of a standard session-close mechanism. The issue names no source files or tests; done would require an agreed interoperable approach and a concrete implementation scope for this PostgreSQL adapter.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, postgresql
Domain
api, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.