apache / apache/arrow-java

Unable to Set Initial Database via JDBC Connection String Parameters

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

Description

### Describe the bug, including details regarding any error messages, version, and platform.

When trying to set the initial/default database using the JDBC connection string for Arrow Flight SQL. It appears that none of the following connection string formats successfully set the initial database context:

* `jdbc:arrow-flight-sql://localhost:50051/databse`
* `jdbc:arrow-flight-sql://localhost:50051?database=db`
* `jdbc:arrow-flight-sql://localhost:50051?schema=db`

**Environment:**
* **Arrow Flight SQL JDBC Driver Version:** [Please specify the version you are using, 17.0.0(java 8) and 21.0.0]
* **Server Version:** Doris 2.1.8
* **Operating System:** openSUSE 15.6

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the issue with the three JDBC URLs against the stated Doris 2.1.8 environment and inspect how the Arrow Flight SQL JDBC driver handles connection parameters. Done means a supported connection-string form selects the requested initial database, or the limitation is documented with a clear error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.