Databricks Agent for Gluesync: Target Integration
Core principles
This agent writes into Delta Lake tables registered in Unity Catalog. It runs SQL on a Databricks SQL warehouse through the Databricks SQL Statement Execution API, so Core Hub needs only outbound HTTPS to the workspace: no JDBC driver, no cloud-storage credentials and no external location.
Every change is applied with a Delta MERGE matched on the key, so inserts, updates and deletes keep the table equal to the source, and a batch replayed after a restart leaves the table as it was.
CDC changes go straight to the SQL warehouse. With bulk loading on, snapshots are staged as files in a Unity Catalog volume and loaded with MERGE … USING read_files(…): the volume is managed by Unity Catalog, so it needs no cloud-storage credentials either.
Authentication
The agent signs in to the workspace with one of these methods:
-
OAuth M2M with a service principal (recommended);
-
OAuth token federation, which exchanges a token of your identity provider and needs no Databricks secret;
-
Microsoft Entra ID service principal, on Azure Databricks;
-
User sign-in with OAuth U2M, for interactive, development and proof-of-concept use.
See Authentication for how to set up each one.
Supported version
Any Databricks workspace with Unity Catalog and a SQL warehouse (serverless, pro or classic), on AWS, Azure or Google Cloud, including Databricks Free Edition.
Platform supported features
| Feature | Support | Notes |
|---|---|---|
Target role |
✅ |
Writes Delta tables in Unity Catalog through a SQL warehouse. |
Source role |
❌ |
Current release supports Databricks only as a target. |
Snapshots |
✅ |
Snapshot batches are written as key-matched |
CDC |
✅ as target |
Changes captured at the source are applied on Databricks: every insert, update and delete becomes a Delta |
CDC type |
N/A |
Not supported yet. |
Bulk load |
✅ snapshot |
Snapshots can be staged and loaded from a Unity Catalog volume, one |
Database pooling |
N/A |
The Statement Execution API is stateless HTTPS: there is no connection to pool. |
Source persisted internal cache |
N/A |
Target-only connector. |
Target persisted internal cache |
N/A |
CDC changes and snapshot batches reach the SQL warehouse inside the |
Driver / connector |
Databricks SQL Statement Execution API |
HTTPS from Core Hub to the workspace with a bearer token, obtained with one of the five authentication methods: OAuth machine-to-machine (M2M) with a service principal (recommended), a personal access token (PAT), OAuth token federation, a Microsoft Entra ID service principal (Azure Databricks only), or a user sign-in with OAuth U2M. |
Chains |
N/A |
Target-only connector. |
Truncate operation support (reading) |
N/A |
Target-only connector. |
Truncate operation support (writing) |
✅ |
Honors the Core Hub "truncate before snapshot" option, with |