-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java][FlightRPC] Handle null
values for JDBC parameters and improve exception
#38627
Comments
lidavidm
pushed a commit
that referenced
this issue
Nov 8, 2023
### 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: #38627 Authored-by: Diego Fernandez <[email protected]> Signed-off-by: David Li <[email protected]>
JerAguilon
pushed a commit
to JerAguilon/arrow
that referenced
this issue
Nov 9, 2023
…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]>
loicalleyne
pushed a commit
to loicalleyne/arrow
that referenced
this issue
Nov 13, 2023
…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]>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
Follow up based on #38585. We need to support binding
null
values and use aUnsupportedOperationException
instead ofRuntimeException
for unsupported parameter binding operations.Component(s)
Java
The text was updated successfully, but these errors were encountered: