apache / apache/arrow-java

[FlightRPC][Java] Properties of JDBC driver are not autodiscovered by clients like DBeaver

Open
#133 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

### Describe the enhancement requested

When using the JDBC Flight SQL driver with DBeaver, some options are shown, but not the Arrow Flight SQL specific ones like useEncryption. They have to be added manually.

![image](https://github.com/apache/arrow-java/assets/327919/2b1e86e6-0e69-49c7-b158-0452cd2628cf)

It seems Avatica supports these, because these options come from Avatica. Ideally we could get our own options in that display as well. https://github.com/apache/calcite-avatica/blob/07c6b8d92f478646e3e605a80dc0d60329c37d33/core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java#L101

### Component(s)

FlightRPC, Java

Contributor guide

Open the contributing guide

Research direction

Start with the Java Flight SQL JDBC driver and compare how its connection properties are exposed with Avatica's BuiltInConnectionProperty.java, linked in the issue. Reproduce the connection setup in DBeaver and trace which property metadata it autodiscovers. Done means Flight SQL-specific options such as useEncryption appear in DBeaver without manual entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.