4paradigm / 4paradigm/OpenMLDB
Return row count when `executeUpdate` run insert sql in Java SDK
Ouverte
enhancement
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
`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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100