4paradigm / 4paradigm/OpenMLDB

JDBC: support connect to standalone

Offen Anfängerfreundlich
#1,693 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
call-for-contributions java sdk
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, sql
Bereich
backend-api-design, databases
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
70/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.