apache / apache/arrow-adbc

[Java] Does ADBC ​​FlightSqlConnection support Arrow Flight session management?

Open
#2,821 4 comments 0 reactions 0 assignees View on GitHub
Type: question
Dominant language
C#
Stars
627
Forks
217
Avg merge
22h 22m
Merged PRs (30d)
64

Description

### What would you like help with?

I need to notify Arrow Flight Server when `AdbcConnection.close()`, and it seems that the session management mentioned in this pr(https://github.com/apache/arrow/pull/34817) can meet my requirements.

I override the implementation of `FlightSqlProducer::closeSession()`, but currently `FlightSqlConnection` does not provide a separate interface for external calls to `FlightSqlClient::closeSession()`, nor will it automatically call `closeSession` when `FlightSqlConnection::close()`.

In other words, is there any other way to notify Arrow Flight Server when `AdbcConnection::close()`?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by reading the session-management changes in PR 34817 and inspecting how FlightSqlConnection currently handles AdbcConnection.close(). Determine whether an existing path can notify the Flight Server, or whether an explicit close-session capability is needed; done means the supported behavior is implemented or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.