forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-38627: [Java][FlightRPC] Handle null parameter values (apach…
…e#38628) ### Rationale for this change We want to make sure we correctly handle binding `null` values to JDBC parameters. We also want better exceptions when handling parameter binding. ### What changes are included in this PR? - Handle adding null values to parameters if it's a nullable vector, else throw `UnsupportedOperationException` - For unsupported parameter types or casts, throw `UnsupportedOperationException` instead of `RuntimeException` * Closes: apache#38627 Authored-by: Diego Fernandez <[email protected]> Signed-off-by: David Li <[email protected]>
- Loading branch information
1 parent
5c8d434
commit aaa829b
Showing
3 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters