Search docs.molo17.com

    Databricks Agent for Gluesync: Target Integration

    Databricks logo

    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:

    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 MERGE statements.

    CDC

    ✅ as target

    Changes captured at the source are applied on Databricks: every insert, update and delete becomes a Delta MERGE matched on the key, run on the SQL warehouse and applied per transaction. Reading changes from Databricks (Change Data Feed) is not covered in this release.

    CDC type

    N/A

    Not supported yet.

    Bulk load

    ✅ snapshot

    Snapshots can be staged and loaded from a Unity Catalog volume, one MERGE per load. CDC is applied per transaction.

    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 MERGE statements themselves. Bulk snapshots are the exception: their rows are staged in a file on a Unity Catalog volume, loaded with read_files() and deleted after each load.

    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 TRUNCATE TABLE on every table of the entity.