Skip to main content
Use Databricks as a destination (load data into Delta tables on Unity Catalog) or a source (read existing tables). Zwiron connects through a Databricks SQL warehouse using the Databricks SQL driver (SQL warehouse / JDBC-style connectivity). Writes use Unity Catalog Volumes for Parquet staging, then COPY INTO — the lakehouse equivalent of Snowflake PUT + COPY.

Supported sync modes

When Databricks is the destination, source connectors that support CDC (PostgreSQL, MySQL, MongoDB, SQL Server, Oracle, and others) can stream changes into Databricks tables.

Connection details


How to connect

Step 1 — SQL warehouse connection details

  1. In Databricks, open SQL Warehouses.
  2. Select (or create) a warehouse and start it if it is stopped.
  3. Open Connection details.
  4. Copy Server hostname. The HTTP path usually includes the warehouse ID (e.g. /sql/1.0/warehouses/<id>).

Step 2 — Access token

Create a token for a user or service principal that has the privileges below:
  1. Settings → Developer → Access tokens → Generate new token, or
  2. Create a service principal and generate a token for it (recommended for production).
Paste the token into Zwiron. Prefer a dedicated identity with least privilege — not a workspace admin personal token.

Step 3 — Connect in Zwiron

  1. Go to Connections → Add Connection → Databricks
  2. Fill in host, warehouse ID, token, Unity Catalog name, and schema
  3. Click Test Connection
  4. Save the connection

Privileges (Unity Catalog)

Grant the connecting identity at least: Example (adjust names):

How Zwiron writes to Databricks

For destination loads, Zwiron:
  1. Ensures the catalog.schema exists (CREATE SCHEMA IF NOT EXISTS)
  2. Creates a Unity Catalog volume __zwiron_staging when needed
  3. Writes Parquet files and PUTs them to /Volumes/{catalog}/{schema}/__zwiron_staging/...
  4. Runs COPY INTO into the target table (or a temp table for upsert)
  5. For upsert, merges into the target with primary keys, then cleans staging files
This path requires Unity Catalog volumes. Managed Delta tables in your catalog/schema are the default landing target.

Schema mapping

Zwiron creates tables automatically when they do not exist and can evolve schemas (add/widen columns) according to job settings.

Cloud coverage

The same connection shape works on Databricks workspaces hosted on AWS, Azure, and GCP. Use the hostname and SQL warehouse from that cloud’s workspace.

Troubleshooting

Confirm the identity has CREATE VOLUME on the schema and write access on __zwiron_staging. Legacy Hive-only setups without volume support cannot use the current staging path — use a Unity Catalog–enabled workspace.
Start the SQL warehouse in Databricks, then retry Test Connection. Auto-stop warehouses must be running for the first sync.
Regenerate the PAT or service principal token. Ensure the token belongs to an identity that can use the selected warehouse (CAN USE).
Create the catalog/schema in Unity Catalog, or grant CREATE SCHEMA so Zwiron can create the schema on connect. Check that Catalog in Zwiron matches the UC name exactly.

Last modified on September 4, 2026