Skip to main content

Databricks: Export with Delta Sharing

Access Funnel data directly from Databricks using Delta Sharing without copying or moving data.

Query Funnel data in Databricks through Delta Sharing without copying the data into Databricks. Use this when you want Databricks to read a Funnel export as shared tables.

​

Before you begin

  • A Funnel subscription with Delta Sharing exports enabled.

  • Permission to create exports in the workspace and to create system users on the subscription.

  • A Databricks workspace with Unity Catalog.

  • A metastore admin, or a user with the CREATE PROVIDER and CREATE CATALOG privileges.

​

Step 1: (In Funnel) Create a Delta Sharing export

  1. In Funnel, go to Export, click + Create Export and search for Delta Sharing.

    ​

  2. In the Data type pane, select Data or Data sources and click Continue.

    ​

    Data exports your marketing data as a table. Data sources exports details about your connected data sources.

    ​

  3. In the Destination pane, enter an Export name, a Schema name and a Table name and click Continue.

    ​

    Use alphanumeric characters and underscores. The table name must be unique within the schema.

    ​

  4. Choose the data, time series, date range, schedule and click Save.

    ​

    Optionally, you can add notes.

    ​

  5. On the export page, click Start. Then click More actions and select Run now.

    ​

    In the Delta Sharing section, copy Unique share name. You use that name to find the share in Databricks.

    ​

    Databricks lists the table only after the export run succeeds. Wait for a successful run before you query the table.

​

Step 2: (In Funnel) Download Delta Sharing credentials

Databricks needs a Delta Sharing credential file to connect to Funnel.

​

  1. In Funnel, open your profile menu and select Subscription overview.

    ​

  2. In the Subscription Management pane, select Users.

    ​

  3. Select the System users tab.

    ​

  4. Click + Create System user.

    ​

  5. Enter a name, select Deltashare and click + Create.

    ​

  6. Download the .share credential file.

​

Keep this file secure. It provides access to your shared data.

​

Step 3: (In Databricks) Upload the credential file, create a catalog and query the table

  1. ​

    Upload the .share credential file that you downloaded in the previous step.

    ​

  2. ​

    Create a catalog from the share whose name matches the Unique share name you copied in Funnel.

    ​

  3. Query the table to verify the connection.

    ​

    Query the schema and table you named in the Funnel export.

​

What to expect

The query returns rows from the Funnel export. The catalog is read-only: later export runs update the same table, and the data stays in Funnel. Grant teammates access to the catalog when they need to query it.

Did this answer your question?