4paradigm / 4paradigm/OpenMLDB
Return row count when `executeUpdate` run insert sql in Java SDK
Đang mở
enhancement
- 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ả
`executeUpdate` will return row count when execute insert sql, refer [JDBC Doc](https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#executeUpdate(java.lang.String))
Current behavior is return 0
Hướng dẫn đóng góp
Hướng nghiên cứu
Find the Java SDK's executeUpdate method implementation, likely in a JNI layer or a Java class that calls native C++ code. Check how the row count from the database insert operation is returned. Compare with the JDBC specification linked. Ensure the fix returns the correct inserted row count and update any related tests.
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
- Lĩnh vực
- backend, databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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
- 45/100