4paradigm / 4paradigm/OpenMLDB

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

Ouverte
#1,538 1 commentaire 0 réactions 1 personne assignée Assignée à @vagetablechicken Voir sur GitHub
bug community java sdk
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

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

Hard to understand.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

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é
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.