4paradigm / 4paradigm/OpenMLDB
JDBC: support connect to standalone
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, sql
- Domaine
- backend-api-design, databases
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 70/100