4paradigm / 4paradigm/OpenMLDB
Return row count when `executeUpdate` run insert sql in Java SDK
Aperta
enhancement
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
`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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100