Connect Databricks to Odie

Connect Databricks to Odie to include your customer data in the Odie Customer Knowledge Graph. Odie uses a Databricks SQL warehouse to discover and read the tables and views you choose. Connecting Databricks authorizes Odie to access the workspace. It does not start syncing data until you configure and apply a mapping.

Before you start

Make sure you have the following information and access:

  • A Databricks workspace that contains the customer data you want to bring into Odie.
  • A Databricks SQL warehouse that Odie can use, including its warehouse ID.
  • A Databricks user who can authorize the connection and access the source data.
  • Permission to use the SQL warehouse.
  • Metadata and read access to the catalogs, schemas, tables, and views you plan to use. Your Databricks administrator may need to grant USE CATALOG, USE SCHEMA, and SELECT permissions.

Create the Databricks connection

  1. In Odie, open Settings > Integrations.
  2. Select Add a Connection.
  3. Find Databricks, then select Connect.
  4. Enter the SQL warehouse ID for the warehouse Odie should use. In Databricks, open the warehouse details under SQL Warehouses to find the ID.
  5. Select Connect Databricks.
  6. In the secure Databricks authorization window, sign in and approve the requested access.

Odie stores the authorization securely. Databricks workspace credentials are not stored in your browser.

Connecting confirms that Odie can authorize to Databricks and use the selected SQL warehouse. It does not begin data ingestion.

Configure a Databricks mapping

  1. Open the Databricks connection in Settings > Integrations.
  2. Open Table Mapping.
  3. Choose the catalog and schema that contain your source data.
  4. Select a table or view. Odie reads the available columns from Databricks and displays the source schema.
  5. Choose the Odie object or destination that the source data should populate.
  6. Select the columns to include, configure the primary key, and add any field mappings or relationships.
  7. Review the preview, then select Save or Apply.

Odie preserves the catalog, schema, and object selected for each mapping. You can configure more than one source table or view when the mapping supports it.

Review Databricks access

For source discovery and mapping, Odie uses the selected SQL warehouse to:

  • Verify that the warehouse is available.
  • Read visible catalogs, schemas, tables, and views.
  • Read column names, data types, and nullability.
  • Preview mapped source rows before a mapping is applied.
  • Read the selected source data during synchronization.

Odie does not modify your Databricks source tables or views.

Manage the connection

Open Settings > Integrations, select the Databricks connection, and open its settings. From there, you can:

  • Reconnect the Databricks authorization.
  • Update the SQL warehouse ID during reconnection.
  • Review the connection status and run history.
  • Open Table Mapping to update source objects, columns, and destinations.
If you change the Databricks warehouse, workspace authorization, catalog permissions, or source schema, reconnect the connection and review the affected mappings before the next synchronization.

FAQs

Does connecting Databricks start importing data?

No. Connecting authorizes Odie to access Databricks. Data begins syncing only after the source mapping is configured and applied.

What is the SQL warehouse ID?

It is the identifier for the Databricks SQL warehouse Odie should use for metadata queries, previews, and synchronization. Open the warehouse details in Databricks to find it.

Can I use a table or a view?

Yes. Odie can discover and map both Databricks tables and views that your authorized user can access.

Why can I connect but not see any catalogs or tables?

Check that the authorized Databricks user can use the selected SQL warehouse and has metadata and read permissions for the catalogs, schemas, tables, or views. Ask your Databricks administrator to review USE CATALOG, USE SCHEMA, and SELECT access.

Why are my source columns unavailable?

Refresh the mapping and confirm that the source object still exists and that the authorized user can read its metadata. If the source schema changed, review the selected columns and primary key before applying the mapping again.

What happens if I reconnect Databricks?

Reconnecting refreshes the Databricks authorization while keeping the Odie connection. Review the warehouse ID and permissions, then verify the existing mappings before the next synchronization.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request