4paradigm / 4paradigm/OpenMLDB

java sdk: error is not understandable if getInsertPreparedStatement (and other functions)'s arg is null

Aperta
#1,538 1 commento 0 reazioni 1 assegnatario Assegnata a @vagetablechicken Vedi su GitHub
bug community java sdk
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

It will failed on `GetInsertRow`
![image](https://user-images.githubusercontent.com/24697960/160769494-c7f8b9a8-e361-4fd1-9577-67394bea0525.png)

Hard to understand.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look at the Java SDK code, specifically the `getInsertPreparedStatement` function and related methods that call `GetInsertRow`. The error occurs when an argument is null. Find where the null check is missing and add proper validation or error messaging. Test by passing null to the function and verifying the error is clear.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend, databases
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.