Skip to content

[Java] implement Flight SQL session management (session options + close session) #4443

Description

@unikdahal

Problem: The Go and Python ADBC drivers support Flight SQL session management (get/set/erase options, CloseSession on close). The Java driver currently does not, even though the underlying Arrow Java FlightSqlClient already exposes the necessary methods (setSessionOptions, getSessionOptions, closeSession via apache/arrow#34817).

Action: Wire the existing Arrow Java session methods into the Java ADBC driver to achieve feature parity.

Options: Implement getOption and setOption on FlightSqlConnection to handle standard session option keys.

Lifecycle: Invoke CloseSession on connection close(). This must be best-effort (catch and ignore UNIMPLEMENTED errors).

(Relates to #745)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions