4paradigm / 4paradigm/OpenMLDB
JDBC: support connect to standalone
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
Ref python sdk, use parameters `host` & `port` to connect standalone.
You should parse and add standalone options in `createOptionByProps`, see
https://github.com/4paradigm/OpenMLDB/blob/64da36c3437176993533501fdeb7fda412484773/java/openmldb-jdbc/src/main/java/com/_4paradigm/openmldb/jdbc/SQLDriver.java#L45-L59
Contributor guide
Research direction
The issue points to the SQLDriver.java file, specifically the createOptionByProps method. Start by examining how the Python SDK uses host and port parameters for standalone connections. Modify the Java JDBC driver to parse and incorporate these options similarly. Test the changes by attempting to connect to a standalone OpenMLDB instance using the updated driver.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- backend-api-design, databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100