apache / apache/arrow-java

[Java][FlightRPC] Flight SQL JDBC driver parameter binding improvements

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

### Describe the enhancement requested

Some followups from apache/arrow#38404 and apache/arrow#33475. For anyone interested in working on the driver, feel free to file specific issues for any one of these points.

- Add support for complex types
- Add integration testing with databases supporting Flight SQL
- Handle `null` values for bind parameters
- Use a more appropriate exception than `RuntimeException` in AvaticaParameterBinder
- Not all servers can always provide an accurate type for bind parameters. What should we do there? Note that ADBC uses NA/NullType as a wildcard/placeholder type here. This isn't specified in Flight SQL itself, but perhaps we could adopt that convention as well. (Also see: apache/arrow#38549)
- Improve the error message to make it clear when the server hasn't sent a parameter schema https://github.com/apache/arrow-java/issues/121

### Component(s)

FlightRPC, Java

Contributor guide

Open the contributing guide

Research direction

Start with the Flight SQL JDBC driver binding work and the named AvaticaParameterBinder entry point. Split the broad list into one scoped follow-up, then identify the relevant integration coverage for Flight SQL databases and define completion criteria for that item.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.