4paradigm / 4paradigm/OpenMLDB
JDBC: support connect to standalone
- Ngôn ngữ chính
- C++
- Star
- 1.7k
- Fork
- 331
- Merge trung bình
- 12 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, sql
- Lĩnh vực
- backend-api-design, databases
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 70/100