4paradigm / 4paradigm/OpenMLDB
java sdk: error is not understandable if getInsertPreparedStatement (and other functions)'s arg is null
Open
bug
community
java
sdk
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
It will failed on `GetInsertRow`

Hard to understand.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100