Skip to content

Conversation

@gopalldb
Copy link
Collaborator

Description

This PR introduces phase 1 of stored procedure support in the Databricks JDBC driver.
The driver now supports executing CALL statements that invoke stored procedures on the server.

Key Capabilities

  • ✅ Supports CALL syntax for stored procedure execution (e.g., CALL my_proc(?, ?)).
  • ✅ Supports input parameters, which can be set using standard JDBC APIs (setInt, setString, etc.).
  • ⚙️ Output parameters are currently supported only via SQL scripting (e.g., procedures returning results via SELECT statements or variables assigned inside scripts).
  • 🚧 This is phase 1 — additional support for true OUT/INOUT parameters will be introduced in a future phase (full fledged support using CallableStatement.)

Testing

Tested using unit tests, will also test manually.

Additional Notes to the Reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant