-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When implementing FlightSQL, it was observed that the prepare ... syntax that our prepared statement code expects is not present. This is problematic, because there is no syntax from which to find type declarations. When comparing to how the JDBC client behaves, it appears to expect parameter types to be inferred.
Describe the solution you'd like
- Don't require
prepare ...syntax (just allow a regular query to be prepared as a statement) - Infer the parameter types
- Add a method to return inferred types
Describe alternatives you've considered
- Have all existing JDBC code rewritten to support the model as present in DataFusion today
- Do not support prepared statements
- Always return a generic type like "String" or "Object" and coerce
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request