Unable to Set Initial Database via JDBC Connection String Parameters

Open
#829 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

Type: bug
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
Dominant language
Java
Stars
95
Forks
154
Avg merge
2d 10h
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/arrow-java

All issues in apache/arrow-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.