matlab-connect-databricks
Installation
SKILL.md
Connect MATLAB to Databricks
Connect MATLAB to Databricks via Spark (Databricks Connect) or JDBC (Database Toolbox). This skill covers first-time setup, authentication, path selection, session/connection creation, and data operations through both paths.
When to Use
- First-time setup of the MATLAB Interface for Databricks package
- Configuring
.databrickscfgand authentication (OauthU2M, OauthM2M, PAT) - Choosing between Spark and JDBC for a Databricks workflow
- Reading large tables via Spark with server-side filtering (
getDatabricksSession) - Creating JDBC connections to clusters or SQL Warehouses (
databricks.JDBCConnection,SQLWarehouse.connect()) - Standalone JDBC connectivity without the full package (
StandaloneJDBCConnection) - Writing data back to Databricks (via Spark DataFrames or JDBC
sqlwrite) - Selecting and configuring JDBC drivers (Simba vs. OSS)