4paradigm / 4paradigm/OpenMLDB
JDBC: support connect to standalone
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, sql
- Ambito
- backend-api-design, databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 70/100