Skip to content

Switch the Spark JDBC driver from Simba to Databricks JDBC 3.4.2 - #343

Open
developer-rpai wants to merge 2 commits into
OHDSI:mainfrom
developer-rpai:cursor/databricks-jdbc-driver-05f7
Open

developer-rpai wants to merge 2 commits into
OHDSI:mainfrom
developer-rpai:cursor/databricks-jdbc-driver-05f7

Conversation

@developer-rpai

Copy link
Copy Markdown

Closes #331.

The Spark connection path still pointed at the Simba JDBC driver. This switches it to the Databricks JDBC driver (3.4.2):

  • R/Connect.R and R/Drivers.R: driver references and download details updated from Simba to Databricks.
  • DESCRIPTION: JDBC driver version bumped accordingly.
  • NEWS.md: entry for the driver switch.
  • Docs and man pages regenerated, and the Connecting vignette updated for the new driver.
  • New tests/testthat/test-sparkDriver.R covering the Spark driver selection.

One commit, no other connection backends touched.

Document the driver version, stop appending UseNativeQuery, and default Spark ODBC connections to the Databricks ODBC driver while still allowing the legacy driver name.

Co-authored-by: Rakesh Pai <developer-rpai@users.noreply.github.com>
@konstjar

Copy link
Copy Markdown

Some thoughts on this:

  • sync driver version with WebAPI
  • consider propagating user identity instead of requirement of service principal

@developer-rpai

Copy link
Copy Markdown
Author

Thanks for the thoughts. On the driver version: agreed, syncing with WebAPI makes sense, I will check the Databricks JDBC version WebAPI currently ships and align this PR to it. On propagating user identity instead of requiring a service principal: I agree that is the better direction long term. It is a bigger change than the driver swap itself, and with the Simba driver going away on Oct 31 I would rather land the swap first and track identity propagation as a follow-up, so this PR does not block on it. Happy to be corrected if you see it differently.

This branch has not been deployed

No deployments
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.

Switch from Simba to Databricks JDBC driver

3 participants